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