#[repr(C)]pub enum MapFlags {
Read = 1,
Write = 2,
WriteInvalidateRegion = 4,
}
Variants§
Trait Implementations§
Source§impl From<&MapFlags> for cl_map_flags
impl From<&MapFlags> for cl_map_flags
Source§fn from(source_value: &MapFlags) -> cl_map_flags
fn from(source_value: &MapFlags) -> cl_map_flags
Converts to this type from the input type.
Source§impl From<MapFlags> for cl_map_flags
impl From<MapFlags> for cl_map_flags
Source§fn from(source_value: MapFlags) -> cl_map_flags
fn from(source_value: MapFlags) -> cl_map_flags
Converts to this type from the input type.
Source§impl From<u64> for MapFlags
impl From<u64> for MapFlags
Source§fn from(dest_value: cl_map_flags) -> MapFlags
fn from(dest_value: cl_map_flags) -> MapFlags
Converts to this type from the input type.
Source§impl PartialOrd for MapFlags
impl PartialOrd for MapFlags
impl Copy for MapFlags
impl Eq for MapFlags
impl StructuralPartialEq for MapFlags
Auto Trait Implementations§
impl Freeze for MapFlags
impl RefUnwindSafe for MapFlags
impl Send for MapFlags
impl Sync for MapFlags
impl Unpin for MapFlags
impl UnwindSafe for MapFlags
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