#[repr(C)]pub struct cudaChannelFormatDesc {
pub x: c_int,
pub y: c_int,
pub z: c_int,
pub w: c_int,
pub f: cudaChannelFormatKind,
}
Expand description
CUDA Channel format descriptor
Fields§
§x: c_int
< x
y: c_int
< y
z: c_int
< z
w: c_int
< w
f: cudaChannelFormatKind
< Channel format kind
Trait Implementations§
Source§impl Clone for cudaChannelFormatDesc
impl Clone for cudaChannelFormatDesc
Source§fn clone(&self) -> cudaChannelFormatDesc
fn clone(&self) -> cudaChannelFormatDesc
Returns a duplicate 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 cudaChannelFormatDesc
impl Debug for cudaChannelFormatDesc
impl Copy for cudaChannelFormatDesc
Auto Trait Implementations§
impl Freeze for cudaChannelFormatDesc
impl RefUnwindSafe for cudaChannelFormatDesc
impl Send for cudaChannelFormatDesc
impl Sync for cudaChannelFormatDesc
impl Unpin for cudaChannelFormatDesc
impl UnwindSafe for cudaChannelFormatDesc
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