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