#[repr(u32)]pub enum PlatformInfo {
Profile = 2_304,
Version = 2_305,
Name = 2_306,
Vendor = 2_307,
Extensions = 2_308,
}
Expand description
cl_platform_info
Variants§
Profile = 2_304
Either "FULL_PROFILE"
or "EMBEDDED_PROFILE"
.
Version = 2_305
OpenCL version string.
Name = 2_306
Platform name string.
Vendor = 2_307
Platform vendor string.
Extensions = 2_308
Space-separated list of extension names (the extension names themselves do not contain any spaces) supported by the platform.
Trait Implementations§
Source§impl Clone for PlatformInfo
impl Clone for PlatformInfo
Source§fn clone(&self) -> PlatformInfo
fn clone(&self) -> PlatformInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for PlatformInfo
impl PartialEq for PlatformInfo
impl Copy for PlatformInfo
impl Eq for PlatformInfo
impl StructuralPartialEq for PlatformInfo
Auto Trait Implementations§
impl Freeze for PlatformInfo
impl RefUnwindSafe for PlatformInfo
impl Send for PlatformInfo
impl Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnwindSafe for PlatformInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more