Trait Implementations
sourceimpl<const START: u16, const END: u16> Drop for RiU16<START, END>
impl<const START: u16, const END: u16> Drop for RiU16<START, END>
Rust will evaluate (at compile-time) consts which it determines are in an execution path. Even though
drop() is not guaranteed to be run (e.g. if $RangeName is used only in a static context) the
existence of this Drop impl is enough to trigger compile-time evaluation of the invariant, which has
the effect of enforcing its contract at compile-time.
sourceimpl<const START: u16, const END: u16> IntoIterator for RiU16<START, END>
impl<const START: u16, const END: u16> IntoIterator for RiU16<START, END>
sourceimpl<const START: u16, const END: u16> Ord for RiU16<START, END>
impl<const START: u16, const END: u16> Ord for RiU16<START, END>
sourceimpl<const START: u16, const END: u16> PartialOrd<RiU16<START, END>> for RiU16<START, END>
impl<const START: u16, const END: u16> PartialOrd<RiU16<START, END>> for RiU16<START, END>
sourcefn partial_cmp(&self, other: &RiU16<START, END>) -> Option<Ordering>
fn partial_cmp(&self, other: &RiU16<START, END>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<const START: u16, const END: u16> Eq for RiU16<START, END>
impl<const START: u16, const END: u16> StructuralEq for RiU16<START, END>
impl<const START: u16, const END: u16> StructuralPartialEq for RiU16<START, END>
Auto Trait Implementations
impl<const START: u16, const END: u16> RefUnwindSafe for RiU16<START, END>
impl<const START: u16, const END: u16> Send for RiU16<START, END>
impl<const START: u16, const END: u16> Sync for RiU16<START, END>
impl<const START: u16, const END: u16> Unpin for RiU16<START, END>
impl<const START: u16, const END: u16> UnwindSafe for RiU16<START, END>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more