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
[src]
request: PlatformInfo,
result: OclResult<Vec<u8>>
) -> PlatformInfoResult
fn as_opencl_version(&self) -> OclResult<OpenclVersion>
[src]
Parse the Version
string and get a numeric result as OpenclVersion
.
Trait Implementations
impl Debug for PlatformInfoResult
[src]
impl Display for PlatformInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<OclError> for PlatformInfoResult
[src]
fn from(err: OclError) -> PlatformInfoResult
[src]
Performs the conversion.
impl From<IntoStringError> for PlatformInfoResult
[src]
fn from(err: IntoStringError) -> PlatformInfoResult
[src]
Performs the conversion.
impl From<NulError> for PlatformInfoResult
[src]
fn from(err: NulError) -> PlatformInfoResult
[src]
Performs the conversion.