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