Enum ocl::enums::SamplerInfoResult
[−]
[src]
pub enum SamplerInfoResult { ReferenceCount(u32), Context(Context), NormalizedCoords(bool), AddressingMode(AddressingMode), FilterMode(FilterMode), Error(Box<Error>), }
A sampler info result.
Variants
ReferenceCount(u32)
Context(Context)
NormalizedCoords(bool)
AddressingMode(AddressingMode)
FilterMode(FilterMode)
Error(Box<Error>)
Methods
impl SamplerInfoResult
[src]
fn from_bytes(
request: SamplerInfo,
result: Result<Vec<u8>, Error>
) -> SamplerInfoResult
request: SamplerInfo,
result: Result<Vec<u8>, Error>
) -> SamplerInfoResult
Trait Implementations
impl Display for SamplerInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for SamplerInfoResult
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Debug for SamplerInfoResult
[src]
impl From<Error> for SamplerInfoResult
[src]
fn from(err: Error) -> SamplerInfoResult
Performs the conversion.