#[non_exhaustive]#[repr(u32)]pub enum DifferentialKernel {
Sobel = 0,
Scharr = 1,
}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.
Trait Implementations§
Source§impl Clone for DifferentialKernel
impl Clone for DifferentialKernel
Source§fn clone(&self) -> DifferentialKernel
fn clone(&self) -> DifferentialKernel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DifferentialKernel
Source§impl Debug for DifferentialKernel
impl Debug for DifferentialKernel
Source§impl Display for DifferentialKernel
impl Display for DifferentialKernel
impl Eq for DifferentialKernel
Source§impl From<DifferentialKernel> for u32
impl From<DifferentialKernel> for u32
Source§fn from(enum_value: DifferentialKernel) -> Self
fn from(enum_value: DifferentialKernel) -> Self
Converts to this type from the input type.
Source§impl From<DifferentialKernel> for NppiDifferentialKernel
impl From<DifferentialKernel> for NppiDifferentialKernel
Source§fn from(value: DifferentialKernel) -> Self
fn from(value: DifferentialKernel) -> Self
Converts to this type from the input type.
Source§impl From<NppiDifferentialKernel> for DifferentialKernel
impl From<NppiDifferentialKernel> for DifferentialKernel
Source§fn from(value: NppiDifferentialKernel) -> Self
fn from(value: NppiDifferentialKernel) -> Self
Converts to this type from the input type.
Source§impl Hash for DifferentialKernel
impl Hash for DifferentialKernel
Source§impl PartialEq for DifferentialKernel
impl PartialEq for DifferentialKernel
Source§fn eq(&self, other: &DifferentialKernel) -> bool
fn eq(&self, other: &DifferentialKernel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DifferentialKernel
Source§impl TryFrom<u32> for DifferentialKernel
impl TryFrom<u32> for DifferentialKernel
Source§type Error = TryFromPrimitiveError<DifferentialKernel>
type Error = TryFromPrimitiveError<DifferentialKernel>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DifferentialKernel
impl TryFromPrimitive for DifferentialKernel
const NAME: &'static str = "DifferentialKernel"
type Primitive = u32
type Error = TryFromPrimitiveError<DifferentialKernel>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for DifferentialKernel
impl RefUnwindSafe for DifferentialKernel
impl Send for DifferentialKernel
impl Sync for DifferentialKernel
impl Unpin for DifferentialKernel
impl UnsafeUnpin for DifferentialKernel
impl UnwindSafe for DifferentialKernel
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