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