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