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