pub struct PersistenceDiagram {
pub pairs: Vec<(f32, f32)>,
}Expand description
Persistence diagram showing birth and death of topological features
Fields§
§pairs: Vec<(f32, f32)>Birth-death pairs (birth_time, death_time) death_time = infinity (f32::INFINITY) for features that never die
Implementations§
Trait Implementations§
Source§impl Clone for PersistenceDiagram
impl Clone for PersistenceDiagram
Source§fn clone(&self) -> PersistenceDiagram
fn clone(&self) -> PersistenceDiagram
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 PersistenceDiagram
impl Debug for PersistenceDiagram
Source§impl<'de> Deserialize<'de> for PersistenceDiagram
impl<'de> Deserialize<'de> for PersistenceDiagram
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PersistenceDiagram
impl RefUnwindSafe for PersistenceDiagram
impl Send for PersistenceDiagram
impl Sync for PersistenceDiagram
impl Unpin for PersistenceDiagram
impl UnwindSafe for PersistenceDiagram
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