#[repr(C)]pub struct cl_image_desc {
pub image_type: cl_mem_object_type,
pub image_width: size_t,
pub image_height: size_t,
pub image_depth: size_t,
pub image_array_size: size_t,
pub image_row_pitch: size_t,
pub image_slice_pitch: size_t,
pub num_mip_levels: cl_uint,
pub num_samples: cl_uint,
pub buffer: cl_mem,
}Fields§
§image_type: cl_mem_object_type§image_width: size_t§image_height: size_t§image_depth: size_t§image_array_size: size_t§image_row_pitch: size_t§image_slice_pitch: size_t§num_mip_levels: cl_uint§num_samples: cl_uint§buffer: cl_memAuto Trait Implementations§
impl Freeze for cl_image_desc
impl RefUnwindSafe for cl_image_desc
impl !Send for cl_image_desc
impl !Sync for cl_image_desc
impl Unpin for cl_image_desc
impl UnwindSafe for cl_image_desc
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