pub struct PersistenceBar {
pub birth: f64,
pub death: f64,
pub dimension: usize,
pub persistence: f64,
}Expand description
A bar in the persistence diagram (birth, death, dimension)
Fields§
§birth: f64§death: f64§dimension: usize§persistence: f64Persistence = death - birth
Implementations§
Trait Implementations§
Source§impl Clone for PersistenceBar
impl Clone for PersistenceBar
Source§fn clone(&self) -> PersistenceBar
fn clone(&self) -> PersistenceBar
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 moreAuto Trait Implementations§
impl Freeze for PersistenceBar
impl RefUnwindSafe for PersistenceBar
impl Send for PersistenceBar
impl Sync for PersistenceBar
impl Unpin for PersistenceBar
impl UnsafeUnpin for PersistenceBar
impl UnwindSafe for PersistenceBar
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