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