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