#[non_exhaustive]#[repr(u32)]pub enum MaskSize {
Mask1x3 = 0,
Mask1x5 = 1,
Mask3x1 = 100,
Mask5x1 = 101,
Mask3x3 = 200,
Mask5x5 = 201,
Mask7x7 = 400,
Mask9x9 = 500,
Mask11x11 = 600,
Mask13x13 = 700,
Mask15x15 = 800,
}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.
Mask1x3 = 0
Mask1x5 = 1
Mask3x1 = 100
Mask5x1 = 101
Mask3x3 = 200
Mask5x5 = 201
Mask7x7 = 400
Mask9x9 = 500
Mask11x11 = 600
Mask13x13 = 700
Mask15x15 = 800
Trait Implementations§
impl Copy for MaskSize
impl Eq for MaskSize
Source§impl From<MaskSize> for NppiMaskSize
impl From<MaskSize> for NppiMaskSize
Source§impl From<NppiMaskSize> for MaskSize
impl From<NppiMaskSize> for MaskSize
Source§fn from(value: NppiMaskSize) -> Self
fn from(value: NppiMaskSize) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for MaskSize
Auto Trait Implementations§
impl Freeze for MaskSize
impl RefUnwindSafe for MaskSize
impl Send for MaskSize
impl Sync for MaskSize
impl Unpin for MaskSize
impl UnsafeUnpin for MaskSize
impl UnwindSafe for MaskSize
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