#[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_intx.
y: c_inty.
z: c_intz.
w: c_intw.
f: cudaChannelFormatKindChannel format kind.
Trait Implementations§
Source§impl Clone for cudaChannelFormatDesc
impl Clone for cudaChannelFormatDesc
impl Copy for cudaChannelFormatDesc
Source§impl Debug for cudaChannelFormatDesc
impl Debug for cudaChannelFormatDesc
Source§impl Default for cudaChannelFormatDesc
impl Default for cudaChannelFormatDesc
impl Eq for cudaChannelFormatDesc
Source§impl Hash for cudaChannelFormatDesc
impl Hash for cudaChannelFormatDesc
Source§impl Missing for cudaChannelFormatDesc
Available on crate feature runtime_13_4 only.
impl Missing for cudaChannelFormatDesc
Available on crate feature
runtime_13_4 only.Source§impl Ord for cudaChannelFormatDesc
impl Ord for cudaChannelFormatDesc
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for cudaChannelFormatDesc
impl PartialEq for cudaChannelFormatDesc
Source§impl PartialOrd for cudaChannelFormatDesc
impl PartialOrd for cudaChannelFormatDesc
impl StructuralPartialEq for cudaChannelFormatDesc
Auto Trait Implementations§
impl Forget for cudaChannelFormatDesc
impl Freeze for cudaChannelFormatDesc
impl Move for cudaChannelFormatDesc
impl RefUnwindSafe for cudaChannelFormatDesc
impl Send for cudaChannelFormatDesc
impl Sync for cudaChannelFormatDesc
impl Unpin for cudaChannelFormatDesc
impl UnsafeUnpin 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