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
sourceimpl Clone for cl_image_desc
impl Clone for cl_image_desc
sourcefn clone(&self) -> cl_image_desc
fn clone(&self) -> cl_image_desc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for cl_image_desc
impl Debug for cl_image_desc
impl Copy for cl_image_desc
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more