#[repr(C)]pub struct cudaChannelFormatDesc {
pub x: c_int,
pub y: c_int,
pub z: c_int,
pub w: c_int,
pub f: cudaChannelFormatKind,
}
Fields§
§x: c_int
§y: c_int
§z: c_int
§w: c_int
§f: cudaChannelFormatKind
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
Source§impl Default for cudaChannelFormatDesc
impl Default for cudaChannelFormatDesc
Source§impl Hash for cudaChannelFormatDesc
impl Hash for cudaChannelFormatDesc
Source§impl Ord for cudaChannelFormatDesc
impl Ord for cudaChannelFormatDesc
Source§fn cmp(&self, other: &cudaChannelFormatDesc) -> Ordering
fn cmp(&self, other: &cudaChannelFormatDesc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cudaChannelFormatDesc
impl PartialEq for cudaChannelFormatDesc
Source§impl PartialOrd for cudaChannelFormatDesc
impl PartialOrd for cudaChannelFormatDesc
impl Copy for cudaChannelFormatDesc
impl Eq for cudaChannelFormatDesc
impl StructuralPartialEq 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