Enum rcudnn_sys::cudnnResampleMode_t
source · #[non_exhaustive]#[repr(u32)]pub enum cudnnResampleMode_t {
CUDNN_RESAMPLE_NEAREST = 0,
CUDNN_RESAMPLE_BILINEAR = 1,
CUDNN_RESAMPLE_AVGPOOL = 2,
CUDNN_RESAMPLE_MAXPOOL = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CUDNN_RESAMPLE_NEAREST = 0
CUDNN_RESAMPLE_BILINEAR = 1
CUDNN_RESAMPLE_AVGPOOL = 2
CUDNN_RESAMPLE_MAXPOOL = 3
Trait Implementations§
source§impl Clone for cudnnResampleMode_t
impl Clone for cudnnResampleMode_t
source§fn clone(&self) -> cudnnResampleMode_t
fn clone(&self) -> cudnnResampleMode_t
Returns a copy 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 cudnnResampleMode_t
impl Debug for cudnnResampleMode_t
source§impl Hash for cudnnResampleMode_t
impl Hash for cudnnResampleMode_t
source§impl PartialEq for cudnnResampleMode_t
impl PartialEq for cudnnResampleMode_t
source§fn eq(&self, other: &cudnnResampleMode_t) -> bool
fn eq(&self, other: &cudnnResampleMode_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudnnResampleMode_t
impl Eq for cudnnResampleMode_t
impl StructuralPartialEq for cudnnResampleMode_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnResampleMode_t
impl Send for cudnnResampleMode_t
impl Sync for cudnnResampleMode_t
impl Unpin for cudnnResampleMode_t
impl UnwindSafe for cudnnResampleMode_t
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