Enum ocl::enums::PlatformInfoResult
[−]
[src]
pub enum PlatformInfoResult {
Profile(String),
Version(String),
Name(String),
Vendor(String),
Extensions(String),
Error(Box<Error>),
}Platform info result.
Variants
Profile(String)Version(String)Name(String)Vendor(String)Extensions(String)Error(Box<Error>)Methods
impl PlatformInfoResult[src]
fn from_bytes(
request: PlatformInfo,
result: Result<Vec<u8>, Error>
) -> PlatformInfoResult
request: PlatformInfo,
result: Result<Vec<u8>, Error>
) -> PlatformInfoResult
fn as_opencl_version(&self) -> Result<OpenclVersion, Error>
Parse the Version string and get a numeric result as OpenclVersion.
Trait Implementations
impl Display for PlatformInfoResult[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for PlatformInfoResult[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 PlatformInfoResult[src]
impl From<Error> for PlatformInfoResult[src]
fn from(err: Error) -> PlatformInfoResult
Performs the conversion.
impl From<IntoStringError> for PlatformInfoResult[src]
fn from(err: IntoStringError) -> PlatformInfoResult
Performs the conversion.
impl From<NulError> for PlatformInfoResult[src]
fn from(err: NulError) -> PlatformInfoResult
Performs the conversion.