Struct opencl_sys::cl_image_desc
source · #[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_mem
Trait Implementations§
source§impl Clone for cl_image_desc
impl Clone for cl_image_desc
source§fn clone(&self) -> cl_image_desc
fn clone(&self) -> cl_image_desc
Returns a copy 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 Debug for cl_image_desc
impl Debug for cl_image_desc
impl Copy for cl_image_desc
Auto 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