pub struct Interbase;Expand description
The interbase coordinate system.
This coordinate system is also known as the “0-based, half-open” coordinate system.
Implementations§
Trait Implementations§
Source§impl Coordinate<Interbase> for Coordinate<Interbase>
impl Coordinate<Interbase> for Coordinate<Interbase>
Source§impl Interval<Interbase> for Interval<Interbase>
impl Interval<Interbase> for Interval<Interbase>
Source§fn count_entities(&self) -> u64
fn count_entities(&self) -> u64
Gets the number of entities within the interval.
Source§fn contains_entity(&self, coordinate: &Coordinate<Base>) -> bool
fn contains_entity(&self, coordinate: &Coordinate<Base>) -> bool
Returns whether or not the entity at the in-base coordinate is
contained within this interval.
Source§impl Ord for Interbase
impl Ord for Interbase
Source§impl PartialOrd for Interbase
impl PartialOrd for Interbase
impl Copy for Interbase
impl Eq for Interbase
impl Position<Interbase> for Position<Interbase>
impl StructuralPartialEq for Interbase
impl System for Interbase
Auto Trait Implementations§
impl Freeze for Interbase
impl RefUnwindSafe for Interbase
impl Send for Interbase
impl Sync for Interbase
impl Unpin for Interbase
impl UnwindSafe for Interbase
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