pub struct U128CO { /* private fields */ }Implementations§
Source§impl U128CO
impl U128CO
pub const fn try_new(start: u128, end_excl: u128) -> Option<Self>
pub const fn new_unchecked(start: u128, end_excl: u128) -> Self
pub const fn start(self) -> u128
pub const fn end_excl(self) -> u128
pub const fn len(self) -> u128
pub const fn contains(self, x: u128) -> bool
pub const fn iter(self) -> Range<u128>
pub const fn intersects(self, other: Self) -> bool
pub const fn is_adjacent(self, other: Self) -> bool
pub const fn is_contiguous_with(self, other: Self) -> bool
Source§impl U128CO
impl U128CO
pub const fn convex_hull(self, other: Self) -> Self
Source§impl U128CO
impl U128CO
pub const fn difference(self, other: Self) -> ZeroOneTwo<Self>
Source§impl U128CO
impl U128CO
pub const fn symmetric_difference(self, other: Self) -> ZeroOneTwo<Self>
Trait Implementations§
impl Copy for U128CO
impl Eq for U128CO
impl StructuralPartialEq for U128CO
Auto Trait Implementations§
impl Freeze for U128CO
impl RefUnwindSafe for U128CO
impl Send for U128CO
impl Sync for U128CO
impl Unpin for U128CO
impl UnsafeUnpin for U128CO
impl UnwindSafe for U128CO
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