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