pub struct WrapI8<const T: i8>;
Expand description
Const generic wrapper.
Trait Implementations§
Source§impl<const T: i8> ConstOrValue<i8> for WrapI8<T>
impl<const T: i8> ConstOrValue<i8> for WrapI8<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: i8> Ord for WrapI8<T>
impl<const T: i8> Ord for WrapI8<T>
Source§impl<const T: i8> PartialOrd<i8> for WrapI8<T>
impl<const T: i8> PartialOrd<i8> for WrapI8<T>
Source§impl<const T: i8> PartialOrd for WrapI8<T>
impl<const T: i8> PartialOrd for WrapI8<T>
impl<const T: i8> Copy for WrapI8<T>
impl<const T: i8> Eq for WrapI8<T>
impl<const T: i8> StructuralPartialEq for WrapI8<T>
Auto Trait Implementations§
impl<const T: i8> Freeze for WrapI8<T>
impl<const T: i8> RefUnwindSafe for WrapI8<T>
impl<const T: i8> Send for WrapI8<T>
impl<const T: i8> Sync for WrapI8<T>
impl<const T: i8> Unpin for WrapI8<T>
impl<const T: i8> UnwindSafe for WrapI8<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.