Enum ocl_core::types::enums::PlatformInfoResult
[−]
[src]
pub enum PlatformInfoResult {
Profile(String),
Version(String),
Name(String),
Vendor(String),
Extensions(String),
Error(Box<OclError>),
}Platform info result.
Variants
Profile(String)Version(String)Name(String)Vendor(String)Extensions(String)Error(Box<OclError>)Methods
impl PlatformInfoResult[src]
fn from_bytes(request: PlatformInfo,
result: OclResult<Vec<u8>>)
-> PlatformInfoResult
result: OclResult<Vec<u8>>)
-> PlatformInfoResult
fn as_opencl_version(&self) -> OclResult<OpenclVersion>
Parse the Version string and get a numeric result as OpenclVersion.
Trait Implementations
impl Debug for PlatformInfoResult[src]
impl Display for PlatformInfoResult[src]
impl Into<String> for PlatformInfoResult[src]
impl From<OclError> for PlatformInfoResult[src]
fn from(err: OclError) -> 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.