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