pub struct StackHeightStats { /* private fields */ }Implementations§
Source§impl StackHeightStats
impl StackHeightStats
pub const fn min_positive_height_or_zero(&self) -> usize
pub const fn max_height(&self) -> usize
Source§impl StackHeightStats
impl StackHeightStats
Sourcepub const fn has_positive_height(&self) -> bool
pub const fn has_positive_height(&self) -> bool
Returns whether any positive stack height was observed.
Sourcepub const fn has_overlap(&self) -> bool
pub const fn has_overlap(&self) -> bool
Returns whether at least one coordinate range is covered by multiple intervals.
Sourcepub const fn is_uniform_positive_height(&self) -> bool
pub const fn is_uniform_positive_height(&self) -> bool
Returns whether all positive-height regions share the same height.
Trait Implementations§
Source§impl Clone for StackHeightStats
impl Clone for StackHeightStats
Source§fn clone(&self) -> StackHeightStats
fn clone(&self) -> StackHeightStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StackHeightStats
Source§impl Debug for StackHeightStats
impl Debug for StackHeightStats
Source§impl Default for StackHeightStats
impl Default for StackHeightStats
impl Eq for StackHeightStats
Source§impl PartialEq for StackHeightStats
impl PartialEq for StackHeightStats
Source§fn eq(&self, other: &StackHeightStats) -> bool
fn eq(&self, other: &StackHeightStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StackHeightStats
Auto Trait Implementations§
impl Freeze for StackHeightStats
impl RefUnwindSafe for StackHeightStats
impl Send for StackHeightStats
impl Sync for StackHeightStats
impl Unpin for StackHeightStats
impl UnsafeUnpin for StackHeightStats
impl UnwindSafe for StackHeightStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more