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