Enum ocl::builders::ImageCmdKind
source · pub enum ImageCmdKind<'c, T: 'c> {
Unspecified,
Read {
data: &'c mut [T],
},
Write {
data: &'c [T],
},
Map,
Fill {
color: T,
},
Copy {
dst_image: &'c Mem,
dst_origin: [usize; 3],
},
CopyToBuffer {
buffer: &'c Mem,
dst_offset: usize,
},
GLAcquire,
GLRelease,
D3D11Acquire,
D3D11Release,
}
Expand description
The type of operation to be performed by a command.
Variants§
Unspecified
Read
Write
Map
Fill
Fields
§
color: T
Copy
CopyToBuffer
GLAcquire
GLRelease
D3D11Acquire
D3D11Release
Trait Implementations§
Auto Trait Implementations§
impl<'c, T> Freeze for ImageCmdKind<'c, T>where
T: Freeze,
impl<'c, T> RefUnwindSafe for ImageCmdKind<'c, T>where
T: RefUnwindSafe,
impl<'c, T> Send for ImageCmdKind<'c, T>
impl<'c, T> Sync for ImageCmdKind<'c, T>where
T: Sync,
impl<'c, T> Unpin for ImageCmdKind<'c, T>where
T: Unpin,
impl<'c, T> !UnwindSafe for ImageCmdKind<'c, T>
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