pub struct UTerm;Expand description
The terminating type for UInt; it always comes after the most significant
bit. UTerm by itself represents zero, which is aliased to U0.
Implementations§
Trait Implementations§
Source§impl Ord for UTerm
impl Ord for UTerm
Source§impl PartialOrd for UTerm
impl PartialOrd for UTerm
Source§#[doc(hidden)] fn __chaining_lt(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)] fn __chaining_lt(&self, other: &Rhs) -> ControlFlow<bool>
🔬This is a nightly-only experimental API. (
partial_ord_chaining_methods)If
self == other, returns ControlFlow::Continue(()).
Otherwise, returns ControlFlow::Break(self < other). Read moreSource§#[doc(hidden)] fn __chaining_le(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)] fn __chaining_le(&self, other: &Rhs) -> ControlFlow<bool>
🔬This is a nightly-only experimental API. (
partial_ord_chaining_methods)Same as
__chaining_lt, but for <= instead of <.Source§#[doc(hidden)] fn __chaining_gt(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)] fn __chaining_gt(&self, other: &Rhs) -> ControlFlow<bool>
🔬This is a nightly-only experimental API. (
partial_ord_chaining_methods)Same as
__chaining_lt, but for > instead of <.Source§#[doc(hidden)] fn __chaining_ge(&self, other: &Rhs) -> ControlFlow<bool>
#[doc(hidden)] fn __chaining_ge(&self, other: &Rhs) -> ControlFlow<bool>
🔬This is a nightly-only experimental API. (
partial_ord_chaining_methods)Same as
__chaining_lt, but for >= instead of <.Source§impl<U: Unsigned> PrivateAnd<U> for UTerm
UTerm & X = UTerm
impl<U: Unsigned> PrivateAnd<U> for UTerm
UTerm & X = UTerm
Source§impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UInt<U, B>, SoFar> for UTerm
Got to the end of just the Lhs. It’s Less.
impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UInt<U, B>, SoFar> for UTerm
Got to the end of just the Lhs. It’s Less.
Source§impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UTerm, SoFar> for UInt<U, B>
Got to the end of just the Rhs. Lhs is Greater.
impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UTerm, SoFar> for UInt<U, B>
Got to the end of just the Rhs. Lhs is Greater.
Source§impl<N, D, Q, I> PrivateDiv<N, D, Q, UTerm, I> for ()
impl<N, D, Q, I> PrivateDiv<N, D, Q, UTerm, I> for ()
type Quotient = <() as PrivateDivIf<N, D, Q, <UInt<UTerm, <N as GetBit<I>>::Output> as Trim>::Output, I, <<UInt<UTerm, <N as GetBit<I>>::Output> as Trim>::Output as Cmp<D>>::Output>>::Quotient
type Remainder = <() as PrivateDivIf<N, D, Q, <UInt<UTerm, <N as GetBit<I>>::Output> as Trim>::Output, I, <<UInt<UTerm, <N as GetBit<I>>::Output> as Trim>::Output as Cmp<D>>::Output>>::Remainder
fn private_div_quotient(self, n: N, d: D, q: Q, _: U0, i: I) -> Self::Quotient
fn private_div_remainder(self, n: N, d: D, q: Q, _: U0, i: I) -> Self::Remainder
Source§impl<N, D, Q, R> PrivateDivIf<N, D, Q, R, UTerm, Greater> for ()
impl<N, D, Q, R> PrivateDivIf<N, D, Q, R, UTerm, Greater> for ()
type Quotient = <Q as SetBit<UTerm, B1>>::Output
type Remainder = <R as Sub<D>>::Output
fn private_div_if_quotient( self, _: N, _: D, q: Q, _: R, i: U0, _: Greater, ) -> Self::Quotient
fn private_div_if_remainder( self, _: N, d: D, _: Q, r: R, _: U0, _: Greater, ) -> Self::Remainder
Source§impl<IU: InvertedUnsigned> PrivateInvert<IU> for UTerm
impl<IU: InvertedUnsigned> PrivateInvert<IU> for UTerm
Source§impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, NInt<Ur>> for NInt<Ul>
impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, NInt<Ur>> for NInt<Ul>
Source§impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, NInt<Ur>> for PInt<Ul>
impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, NInt<Ur>> for PInt<Ul>
Source§impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, PInt<Ur>> for NInt<Ul>
impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, PInt<Ur>> for NInt<Ul>
Source§impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, PInt<Ur>> for PInt<Ul>
impl<Ul: Unsigned + NonZero, Ur: Unsigned + NonZero> PrivateRem<UTerm, PInt<Ur>> for PInt<Ul>
Source§impl<I> PrivateSetBit<I, B0> for UTerm
impl<I> PrivateSetBit<I, B0> for UTerm
Source§impl<Un, Bn, B> PrivateSetBit<UTerm, B> for UInt<Un, Bn>
impl<Un, Bn, B> PrivateSetBit<UTerm, B> for UInt<Un, Bn>
Source§impl<U: Unsigned> PrivateXor<U> for UTerm
UTerm ^ X = X
impl<U: Unsigned> PrivateXor<U> for UTerm
UTerm ^ X = X
Source§impl<U: Unsigned> Shl<U> for UTerm
Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
impl<U: Unsigned> Shl<U> for UTerm
Shifting left UTerm by an unsigned integer: UTerm << U = UTerm
Source§impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>
impl<U: Unsigned, B: Bit> Shl<UTerm> for UInt<U, B>
Shifting left UInt by UTerm: UInt<U, B> << UTerm = UInt<U, B>
Source§impl<U: Unsigned> Shr<U> for UTerm
Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
impl<U: Unsigned> Shr<U> for UTerm
Shifting right a UTerm by an unsigned integer: UTerm >> U = UTerm
Source§impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>
impl<U: Unsigned, B: Bit> Shr<UTerm> for UInt<U, B>
Shifting right UInt by UTerm: UInt<U, B> >> UTerm = UInt<U, B>
Source§impl Unsigned for UTerm
impl Unsigned for UTerm
const U8: u8 = 0u8
const U16: u16 = 0u16
const U32: u32 = 0u32
const U64: u64 = 0u64
const USIZE: usize = 0usize
const I8: i8 = 0i8
const I16: i16 = 0i16
const I32: i32 = 0i32
const I64: i64 = 0i64
const ISIZE: isize = 0isize
fn to_u8() -> u8
fn to_u16() -> u16
fn to_u32() -> u32
fn to_u64() -> u64
fn to_usize() -> usize
fn to_i8() -> i8
fn to_i16() -> i16
fn to_i32() -> i32
fn to_i64() -> i64
fn to_isize() -> isize
impl Copy for UTerm
impl StructuralPartialEq for UTerm
impl TrivialClone for UTerm
impl Zero for UTerm
Auto Trait Implementations§
impl Freeze for UTerm
impl RefUnwindSafe for UTerm
impl Send for UTerm
impl Sync for UTerm
impl Unpin for UTerm
impl UnwindSafe for UTerm
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<A, B> IsEqualPrivate<B, Equal> for A
impl<A, B> IsEqualPrivate<B, Equal> for A
Source§impl<A, B> IsEqualPrivate<B, Greater> for A
impl<A, B> IsEqualPrivate<B, Greater> for A
Source§impl<A, B> IsEqualPrivate<B, Less> for A
impl<A, B> IsEqualPrivate<B, Less> for A
Source§impl<A, B> IsGreaterOrEqualPrivate<B, Equal> for A
impl<A, B> IsGreaterOrEqualPrivate<B, Equal> for A
Source§impl<A, B> IsGreaterOrEqualPrivate<B, Greater> for A
impl<A, B> IsGreaterOrEqualPrivate<B, Greater> for A
Source§impl<A, B> IsGreaterOrEqualPrivate<B, Less> for A
impl<A, B> IsGreaterOrEqualPrivate<B, Less> for A
Source§impl<A, B> IsGreaterPrivate<B, Equal> for A
impl<A, B> IsGreaterPrivate<B, Equal> for A
Source§impl<A, B> IsGreaterPrivate<B, Greater> for A
impl<A, B> IsGreaterPrivate<B, Greater> for A
Source§impl<A, B> IsGreaterPrivate<B, Less> for A
impl<A, B> IsGreaterPrivate<B, Less> for A
Source§impl<A, B> IsLessOrEqualPrivate<B, Equal> for A
impl<A, B> IsLessOrEqualPrivate<B, Equal> for A
Source§impl<A, B> IsLessOrEqualPrivate<B, Greater> for A
impl<A, B> IsLessOrEqualPrivate<B, Greater> for A
Source§impl<A, B> IsLessOrEqualPrivate<B, Less> for A
impl<A, B> IsLessOrEqualPrivate<B, Less> for A
Source§impl<A, B> IsLessPrivate<B, Equal> for A
impl<A, B> IsLessPrivate<B, Equal> for A
Source§impl<A, B> IsLessPrivate<B, Greater> for A
impl<A, B> IsLessPrivate<B, Greater> for A
Source§impl<A, B> IsLessPrivate<B, Less> for A
impl<A, B> IsLessPrivate<B, Less> for A
Source§impl<A, B> IsNotEqualPrivate<B, Equal> for A
impl<A, B> IsNotEqualPrivate<B, Equal> for A
Source§impl<A, B> IsNotEqualPrivate<B, Greater> for A
impl<A, B> IsNotEqualPrivate<B, Greater> for A
Source§impl<A, B> IsNotEqualPrivate<B, Less> for A
impl<A, B> IsNotEqualPrivate<B, Less> for A
Source§impl<N, P> PrivateIntegerAdd<Equal, N> for P
impl<N, P> PrivateIntegerAdd<Equal, N> for P
Source§impl<N, P> PrivateIntegerAdd<Less, N> for P
impl<N, P> PrivateIntegerAdd<Less, N> for P
Source§impl<Y, X> PrivatePow<Y, UTerm> for X
impl<Y, X> PrivatePow<Y, UTerm> for X
type Output = Y
fn private_pow(self, y: Y, _: UTerm) -> <X as PrivatePow<Y, UTerm>>::Output
Source§impl<U> PrivateSub<UTerm> for Uwhere
U: Unsigned,
impl<U> PrivateSub<UTerm> for Uwhere
U: Unsigned,
type Output = U
fn private_sub(self, _: UTerm) -> <U as PrivateSub<UTerm>>::Output
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const SIZE: usize = _
#[doc(hidden)] const SIZE: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const ALIGN: usize = _
#[doc(hidden)] const ALIGN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)The largest safe length for a
[Self]. Read moreSource§impl<N> SquareRoot for Nwhere
N: PrivateSquareRoot,
impl<N> SquareRoot for Nwhere
N: PrivateSquareRoot,
Source§type Output = <N as PrivateSquareRoot>::Output
type Output = <N as PrivateSquareRoot>::Output
The result of the integer square root.