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