pub struct WrapI16<const T: i16>;Expand description
Const generic wrapper.
Trait Implementations§
Source§impl<const T: i16> ConstOrValue<i16> for WrapI16<T>
impl<const T: i16> ConstOrValue<i16> for WrapI16<T>
Source§const IS_CONST_WRAP: bool = true
const IS_CONST_WRAP: bool = true
get wheter the type is const generic wrapper.
Source§impl<const T: i16> Ord for WrapI16<T>
impl<const T: i16> Ord for WrapI16<T>
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<const T: i16> PartialOrd<i16> for WrapI16<T>
impl<const T: i16> PartialOrd<i16> for WrapI16<T>
Source§impl<const T: i16> PartialOrd for WrapI16<T>
impl<const T: i16> PartialOrd for WrapI16<T>
impl<const T: i16> Copy for WrapI16<T>
impl<const T: i16> Eq for WrapI16<T>
impl<const T: i16> StructuralPartialEq for WrapI16<T>
Auto Trait Implementations§
impl<const T: i16> Freeze for WrapI16<T>
impl<const T: i16> RefUnwindSafe for WrapI16<T>
impl<const T: i16> Send for WrapI16<T>
impl<const T: i16> Sync for WrapI16<T>
impl<const T: i16> Unpin for WrapI16<T>
impl<const T: i16> UnwindSafe for WrapI16<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ConstOrValue<T> for T
impl<T> ConstOrValue<T> for T
Source§const IS_CONST_WRAP: bool = false
const IS_CONST_WRAP: bool = false
get wheter the type is const generic wrapper.