pub struct ProgramAtomInfo {
pub id: usize,
pub vertices: Vec<usize>,
pub edges: Vec<EdgeKey>,
pub separator_vertices: Vec<usize>,
pub cyclic: bool,
}Expand description
One atom in a compiled sparse persistence program.
Fields§
§id: usizeStable position in the program decomposition.
vertices: Vec<usize>Original labeled vertices in ascending order.
edges: Vec<EdgeKey>Original labeled edges in ascending endpoint order.
separator_vertices: Vec<usize>Vertices shared with another atom.
cyclic: boolWhether the atom can contain positive-dimensional homology.
Trait Implementations§
Source§impl Clone for ProgramAtomInfo
impl Clone for ProgramAtomInfo
Source§fn clone(&self) -> ProgramAtomInfo
fn clone(&self) -> ProgramAtomInfo
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 moreSource§impl Debug for ProgramAtomInfo
impl Debug for ProgramAtomInfo
impl Eq for ProgramAtomInfo
Source§impl PartialEq for ProgramAtomInfo
impl PartialEq for ProgramAtomInfo
impl StructuralPartialEq for ProgramAtomInfo
Auto Trait Implementations§
impl Freeze for ProgramAtomInfo
impl RefUnwindSafe for ProgramAtomInfo
impl Send for ProgramAtomInfo
impl Sync for ProgramAtomInfo
impl Unpin for ProgramAtomInfo
impl UnsafeUnpin for ProgramAtomInfo
impl UnwindSafe for ProgramAtomInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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