#[repr(u32)]pub enum cudaTextureAddressMode {
cudaAddressModeWrap = 0,
cudaAddressModeClamp = 1,
cudaAddressModeMirror = 2,
cudaAddressModeBorder = 3,
}
Variants§
cudaAddressModeWrap = 0
cudaAddressModeClamp = 1
cudaAddressModeMirror = 2
cudaAddressModeBorder = 3
Trait Implementations§
Source§impl Clone for cudaTextureAddressMode
impl Clone for cudaTextureAddressMode
Source§fn clone(&self) -> cudaTextureAddressMode
fn clone(&self) -> cudaTextureAddressMode
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 cudaTextureAddressMode
impl Debug for cudaTextureAddressMode
Source§impl Hash for cudaTextureAddressMode
impl Hash for cudaTextureAddressMode
Source§impl Ord for cudaTextureAddressMode
impl Ord for cudaTextureAddressMode
Source§fn cmp(&self, other: &cudaTextureAddressMode) -> Ordering
fn cmp(&self, other: &cudaTextureAddressMode) -> 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 cudaTextureAddressMode
impl PartialEq for cudaTextureAddressMode
Source§impl PartialOrd for cudaTextureAddressMode
impl PartialOrd for cudaTextureAddressMode
impl Copy for cudaTextureAddressMode
impl Eq for cudaTextureAddressMode
impl StructuralPartialEq for cudaTextureAddressMode
Auto Trait Implementations§
impl Freeze for cudaTextureAddressMode
impl RefUnwindSafe for cudaTextureAddressMode
impl Send for cudaTextureAddressMode
impl Sync for cudaTextureAddressMode
impl Unpin for cudaTextureAddressMode
impl UnwindSafe for cudaTextureAddressMode
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