Trait Implementations
sourceimpl<const START: i128, const END: i128> Drop for RiI128<START, END>
impl<const START: i128, const END: i128> Drop for RiI128<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: i128, const END: i128> IntoIterator for RiI128<START, END>
impl<const START: i128, const END: i128> IntoIterator for RiI128<START, END>
sourceimpl<const START: i128, const END: i128> Ord for RiI128<START, END>
impl<const START: i128, const END: i128> Ord for RiI128<START, END>
sourceimpl<const START: i128, const END: i128> PartialOrd<RiI128<START, END>> for RiI128<START, END>
impl<const START: i128, const END: i128> PartialOrd<RiI128<START, END>> for RiI128<START, END>
sourcefn partial_cmp(&self, other: &RiI128<START, END>) -> Option<Ordering>
fn partial_cmp(&self, other: &RiI128<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: i128, const END: i128> Eq for RiI128<START, END>
impl<const START: i128, const END: i128> StructuralEq for RiI128<START, END>
impl<const START: i128, const END: i128> StructuralPartialEq for RiI128<START, END>
Auto Trait Implementations
impl<const START: i128, const END: i128> RefUnwindSafe for RiI128<START, END>
impl<const START: i128, const END: i128> Send for RiI128<START, END>
impl<const START: i128, const END: i128> Sync for RiI128<START, END>
impl<const START: i128, const END: i128> Unpin for RiI128<START, END>
impl<const START: i128, const END: i128> UnwindSafe for RiI128<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