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