Enum ocl::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>
) -> Result<PlatformInfoResult, Error>
[src]
request: PlatformInfo,
result: Vec<u8>
) -> Result<PlatformInfoResult, Error>
pub fn as_opencl_version(&self) -> Result<OpenclVersion, Error>
[src]
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>
[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.