Struct const_cmp::polymorphism::CmpWrapper [−][src]
Implementations
impl<'a, T> CmpWrapper<&'a [T]>
[src]
pub const fn slice(x: &'a [T]) -> Self
[src]
For constructing from a reference to an array.
With slices you can do CmpWrapper(slice)
as well.
impl CmpWrapper<i8>
[src]
impl CmpWrapper<u8>
[src]
impl CmpWrapper<i16>
[src]
impl CmpWrapper<u16>
[src]
impl CmpWrapper<i32>
[src]
impl CmpWrapper<u32>
[src]
impl CmpWrapper<i64>
[src]
impl CmpWrapper<u64>
[src]
impl CmpWrapper<i128>
[src]
impl CmpWrapper<u128>
[src]
impl CmpWrapper<isize>
[src]
impl CmpWrapper<usize>
[src]
impl CmpWrapper<bool>
[src]
impl CmpWrapper<char>
[src]
impl CmpWrapper<u8>
[src]
impl CmpWrapper<u16>
[src]
impl CmpWrapper<u32>
[src]
impl CmpWrapper<u64>
[src]
impl CmpWrapper<u128>
[src]
impl CmpWrapper<usize>
[src]
impl CmpWrapper<i8>
[src]
impl CmpWrapper<i16>
[src]
impl CmpWrapper<i32>
[src]
impl CmpWrapper<i64>
[src]
impl CmpWrapper<i128>
[src]
impl CmpWrapper<isize>
[src]
impl CmpWrapper<bool>
[src]
impl CmpWrapper<char>
[src]
impl CmpWrapper<Option<u8>>
[src]
impl CmpWrapper<Option<u8>>
[src]
impl CmpWrapper<Option<i8>>
[src]
impl CmpWrapper<Option<i8>>
[src]
impl CmpWrapper<Option<u16>>
[src]
impl CmpWrapper<Option<u16>>
[src]
impl CmpWrapper<Option<i16>>
[src]
impl CmpWrapper<Option<i16>>
[src]
impl CmpWrapper<Option<u32>>
[src]
impl CmpWrapper<Option<u32>>
[src]
impl CmpWrapper<Option<i32>>
[src]
impl CmpWrapper<Option<i32>>
[src]
impl CmpWrapper<Option<u64>>
[src]
impl CmpWrapper<Option<u64>>
[src]
impl CmpWrapper<Option<i64>>
[src]
impl CmpWrapper<Option<i64>>
[src]
impl CmpWrapper<Option<u128>>
[src]
impl CmpWrapper<Option<u128>>
[src]
impl CmpWrapper<Option<i128>>
[src]
impl CmpWrapper<Option<i128>>
[src]
impl CmpWrapper<Option<usize>>
[src]
impl CmpWrapper<Option<usize>>
[src]
impl CmpWrapper<Option<isize>>
[src]
impl CmpWrapper<Option<isize>>
[src]
impl CmpWrapper<Option<bool>>
[src]
impl CmpWrapper<Option<bool>>
[src]
impl CmpWrapper<Option<char>>
[src]
impl CmpWrapper<Option<char>>
[src]
impl CmpWrapper<Range<u8>>
[src]
impl<'a> CmpWrapper<&'a Range<u8>>
[src]
impl CmpWrapper<Range<u16>>
[src]
impl<'a> CmpWrapper<&'a Range<u16>>
[src]
impl CmpWrapper<Range<u32>>
[src]
impl<'a> CmpWrapper<&'a Range<u32>>
[src]
impl CmpWrapper<Range<u64>>
[src]
impl<'a> CmpWrapper<&'a Range<u64>>
[src]
impl CmpWrapper<Range<u128>>
[src]
impl<'a> CmpWrapper<&'a Range<u128>>
[src]
impl CmpWrapper<Range<usize>>
[src]
impl<'a> CmpWrapper<&'a Range<usize>>
[src]
impl CmpWrapper<Range<char>>
[src]
impl<'a> CmpWrapper<&'a Range<char>>
[src]
impl CmpWrapper<RangeInclusive<u8>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<u8>) -> bool
[src]
impl CmpWrapper<RangeInclusive<u16>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<u16>) -> bool
[src]
impl CmpWrapper<RangeInclusive<u32>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<u32>) -> bool
[src]
impl CmpWrapper<RangeInclusive<u64>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<u64>) -> bool
[src]
impl CmpWrapper<RangeInclusive<u128>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<u128>) -> bool
[src]
impl CmpWrapper<RangeInclusive<usize>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<usize>) -> bool
[src]
impl CmpWrapper<RangeInclusive<char>>
[src]
pub const fn const_eq(&self, other: &RangeInclusive<char>) -> bool
[src]
impl CmpWrapper<NonZeroU8>
[src]
impl CmpWrapper<NonZeroU8>
[src]
impl CmpWrapper<NonZeroI8>
[src]
impl CmpWrapper<NonZeroI8>
[src]
impl CmpWrapper<NonZeroU16>
[src]
pub const fn const_eq(&self, r: &NonZeroU16) -> bool
[src]
impl CmpWrapper<NonZeroU16>
[src]
pub const fn const_cmp(&self, r: &NonZeroU16) -> Ordering
[src]
impl CmpWrapper<NonZeroI16>
[src]
pub const fn const_eq(&self, r: &NonZeroI16) -> bool
[src]
impl CmpWrapper<NonZeroI16>
[src]
pub const fn const_cmp(&self, r: &NonZeroI16) -> Ordering
[src]
impl CmpWrapper<NonZeroU32>
[src]
pub const fn const_eq(&self, r: &NonZeroU32) -> bool
[src]
impl CmpWrapper<NonZeroU32>
[src]
pub const fn const_cmp(&self, r: &NonZeroU32) -> Ordering
[src]
impl CmpWrapper<NonZeroI32>
[src]
pub const fn const_eq(&self, r: &NonZeroI32) -> bool
[src]
impl CmpWrapper<NonZeroI32>
[src]
pub const fn const_cmp(&self, r: &NonZeroI32) -> Ordering
[src]
impl CmpWrapper<NonZeroU64>
[src]
pub const fn const_eq(&self, r: &NonZeroU64) -> bool
[src]
impl CmpWrapper<NonZeroU64>
[src]
pub const fn const_cmp(&self, r: &NonZeroU64) -> Ordering
[src]
impl CmpWrapper<NonZeroI64>
[src]
pub const fn const_eq(&self, r: &NonZeroI64) -> bool
[src]
impl CmpWrapper<NonZeroI64>
[src]
pub const fn const_cmp(&self, r: &NonZeroI64) -> Ordering
[src]
impl CmpWrapper<NonZeroU128>
[src]
pub const fn const_eq(&self, r: &NonZeroU128) -> bool
[src]
impl CmpWrapper<NonZeroU128>
[src]
pub const fn const_cmp(&self, r: &NonZeroU128) -> Ordering
[src]
impl CmpWrapper<NonZeroI128>
[src]
pub const fn const_eq(&self, r: &NonZeroI128) -> bool
[src]
impl CmpWrapper<NonZeroI128>
[src]
pub const fn const_cmp(&self, r: &NonZeroI128) -> Ordering
[src]
impl CmpWrapper<NonZeroUsize>
[src]
pub const fn const_eq(&self, r: &NonZeroUsize) -> bool
[src]
impl CmpWrapper<NonZeroUsize>
[src]
pub const fn const_cmp(&self, r: &NonZeroUsize) -> Ordering
[src]
impl CmpWrapper<NonZeroIsize>
[src]
pub const fn const_eq(&self, r: &NonZeroIsize) -> bool
[src]
impl CmpWrapper<NonZeroIsize>
[src]
pub const fn const_cmp(&self, r: &NonZeroIsize) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroU8>>
[src]
impl CmpWrapper<Option<NonZeroU8>>
[src]
impl CmpWrapper<Option<NonZeroI8>>
[src]
impl CmpWrapper<Option<NonZeroI8>>
[src]
impl CmpWrapper<Option<NonZeroU16>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroU16>) -> bool
[src]
impl CmpWrapper<Option<NonZeroU16>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroU16>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroI16>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroI16>) -> bool
[src]
impl CmpWrapper<Option<NonZeroI16>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroI16>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroU32>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroU32>) -> bool
[src]
impl CmpWrapper<Option<NonZeroU32>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroU32>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroI32>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroI32>) -> bool
[src]
impl CmpWrapper<Option<NonZeroI32>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroI32>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroU64>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroU64>) -> bool
[src]
impl CmpWrapper<Option<NonZeroU64>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroU64>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroI64>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroI64>) -> bool
[src]
impl CmpWrapper<Option<NonZeroI64>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroI64>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroU128>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroU128>) -> bool
[src]
impl CmpWrapper<Option<NonZeroU128>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroU128>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroI128>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroI128>) -> bool
[src]
impl CmpWrapper<Option<NonZeroI128>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroI128>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroUsize>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroUsize>) -> bool
[src]
impl CmpWrapper<Option<NonZeroUsize>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroUsize>) -> Ordering
[src]
impl CmpWrapper<Option<NonZeroIsize>>
[src]
pub const fn const_eq(&self, r: &Option<NonZeroIsize>) -> bool
[src]
impl CmpWrapper<Option<NonZeroIsize>>
[src]
pub const fn const_cmp(&self, r: &Option<NonZeroIsize>) -> Ordering
[src]
impl CmpWrapper<Ordering>
[src]
impl CmpWrapper<Ordering>
[src]
impl CmpWrapper<Option<Ordering>>
[src]
impl CmpWrapper<Option<Ordering>>
[src]
impl<T> CmpWrapper<PhantomData<T>>
[src]
pub const fn const_eq(&self, r: &PhantomData<T>) -> bool
[src]
impl<T> CmpWrapper<PhantomData<T>>
[src]
pub const fn const_cmp(&self, r: &PhantomData<T>) -> Ordering
[src]
impl CmpWrapper<PhantomPinned>
[src]
pub const fn const_eq(&self, r: &PhantomPinned) -> bool
[src]
impl CmpWrapper<PhantomPinned>
[src]
pub const fn const_cmp(&self, r: &PhantomPinned) -> Ordering
[src]
impl CmpWrapper<&[u8]>
[src]
impl<'a> CmpWrapper<&[u8]>
[src]
impl CmpWrapper<&[u16]>
[src]
impl<'a> CmpWrapper<&[u16]>
[src]
impl CmpWrapper<&[u32]>
[src]
impl<'a> CmpWrapper<&[u32]>
[src]
impl CmpWrapper<&[u64]>
[src]
impl<'a> CmpWrapper<&[u64]>
[src]
impl CmpWrapper<&[u128]>
[src]
impl<'a> CmpWrapper<&[u128]>
[src]
impl CmpWrapper<&[i8]>
[src]
impl<'a> CmpWrapper<&[i8]>
[src]
impl CmpWrapper<&[i16]>
[src]
impl<'a> CmpWrapper<&[i16]>
[src]
impl CmpWrapper<&[i32]>
[src]
impl<'a> CmpWrapper<&[i32]>
[src]
impl CmpWrapper<&[i64]>
[src]
impl<'a> CmpWrapper<&[i64]>
[src]
impl CmpWrapper<&[i128]>
[src]
impl<'a> CmpWrapper<&[i128]>
[src]
impl CmpWrapper<&[bool]>
[src]
impl<'a> CmpWrapper<&[bool]>
[src]
impl CmpWrapper<&[char]>
[src]
impl<'a> CmpWrapper<&[char]>
[src]
impl CmpWrapper<&[&str]>
[src]
impl CmpWrapper<&[&str]>
[src]
impl CmpWrapper<&[&[u8]]>
[src]
impl CmpWrapper<&[&[u8]]>
[src]
impl<'a> CmpWrapper<Option<&'a [u8]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u8]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u16]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u16]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u32]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u32]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u64]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u64]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u128]>>
[src]
impl<'a> CmpWrapper<Option<&'a [u128]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i8]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i8]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i16]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i16]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i32]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i32]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i64]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i64]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i128]>>
[src]
impl<'a> CmpWrapper<Option<&'a [i128]>>
[src]
impl<'a> CmpWrapper<Option<&'a [bool]>>
[src]
impl<'a> CmpWrapper<Option<&'a [bool]>>
[src]
impl<'a> CmpWrapper<Option<&'a [char]>>
[src]
impl<'a> CmpWrapper<Option<&'a [char]>>
[src]
impl<'a, 'b> CmpWrapper<Option<&'a [&'b str]>>
[src]
impl<'a, 'b> CmpWrapper<Option<&'a [&'b str]>>
[src]
impl<'a, 'b> CmpWrapper<Option<&'a [&'b [u8]]>>
[src]
impl<'a, 'b> CmpWrapper<Option<&'a [&'b [u8]]>>
[src]
impl CmpWrapper<&str>
[src]
impl CmpWrapper<&str>
[src]
impl<'a> CmpWrapper<Option<&'a str>>
[src]
impl<'a> CmpWrapper<Option<&'a str>>
[src]
Trait Implementations
impl<P> ConstCmpMarker for CmpWrapper<P>
[src]
type Kind = IsNotStdKind
What kind of type this is, this can be one of: Read more
type This = Self
The type after dereferencing,
implemented as type This = Self;
for all non-reference types Read more
Auto Trait Implementations
impl<T> Send for CmpWrapper<T> where
T: Send,
T: Send,
impl<T> Sync for CmpWrapper<T> where
T: Sync,
T: Sync,
impl<T> Unpin for CmpWrapper<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,