pub struct IsizeCOBatchSet(/* private fields */);Implementations§
Source§impl IsizeCOBatchSet
impl IsizeCOBatchSet
pub fn contains_interval(&self, iv: IsizeCO) -> bool
pub fn contains_point(&self, x: isize) -> bool
pub fn interval_containing_point(&self, x: isize) -> Option<IsizeCO>
pub fn intersects(&self, q: IsizeCO) -> bool
Source§impl IsizeCOBatchSet
impl IsizeCOBatchSet
pub fn iter_intervals(&self) -> impl Iterator<Item = IsizeCO>
pub fn iter_points(&self) -> impl Iterator<Item = isize>
Source§impl IsizeCOBatchSet
impl IsizeCOBatchSet
pub fn interval_count(&self) -> isize
pub fn point_count(&self) -> usize
pub fn coverage_len_of(&self, q: IsizeCO) -> usize
pub fn coverage_ratio_of(&self, q: IsizeCO) -> f32
Trait Implementations§
Source§impl Clone for IsizeCOBatchSet
impl Clone for IsizeCOBatchSet
Source§fn clone(&self) -> IsizeCOBatchSet
fn clone(&self) -> IsizeCOBatchSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IsizeCOBatchSet
impl Debug for IsizeCOBatchSet
Source§impl Default for IsizeCOBatchSet
impl Default for IsizeCOBatchSet
Source§fn default() -> IsizeCOBatchSet
fn default() -> IsizeCOBatchSet
Returns the “default value” for a type. Read more
Source§impl FromIterator<IsizeCO> for IsizeCOBatchSet
impl FromIterator<IsizeCO> for IsizeCOBatchSet
Source§impl PartialEq for IsizeCOBatchSet
impl PartialEq for IsizeCOBatchSet
impl Eq for IsizeCOBatchSet
impl StructuralPartialEq for IsizeCOBatchSet
Auto Trait Implementations§
impl Freeze for IsizeCOBatchSet
impl RefUnwindSafe for IsizeCOBatchSet
impl Send for IsizeCOBatchSet
impl Sync for IsizeCOBatchSet
impl Unpin for IsizeCOBatchSet
impl UnsafeUnpin for IsizeCOBatchSet
impl UnwindSafe for IsizeCOBatchSet
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