pub struct LabelledSimplicialDisjointUnion<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone>{ /* private fields */ }Implementations§
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplicialDisjointUnion<FS, SP, T>
pub fn refine_to_partial_simplicial_complex( self, ) -> LabelledPartialSimplicialComplex<FS, SP, T>
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplicialDisjointUnion<FS, SP, T>
pub fn subtract_raw<S: Eq + Clone>( &self, other: &LabelledSimplicialDisjointUnion<FS, SP, S>, ) -> LabelledSimplicialDisjointUnion<FS, SP, T>
pub fn intersection_raw<S: Eq + Clone>( &self, other: &LabelledSimplicialDisjointUnion<FS, SP, S>, ) -> LabelledSimplicialDisjointUnion<FS, SP, (T, S)>
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> LabelledSimplicialDisjointUnion<FS, SP, ()>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> LabelledSimplicialDisjointUnion<FS, SP, ()>
pub fn union_raw(&self, other: &Self) -> SimplicialDisjointUnion<FS, SP>
Trait Implementations§
Source§impl<FS: Clone + OrderedRingStructure + FieldStructure, SP: Clone + Borrow<AffineSpace<FS>> + Clone, T: Clone + Eq + Clone> Clone for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: Clone + OrderedRingStructure + FieldStructure, SP: Clone + Borrow<AffineSpace<FS>> + Clone, T: Clone + Eq + Clone> Clone for LabelledSimplicialDisjointUnion<FS, SP, T>
Source§fn clone(&self) -> LabelledSimplicialDisjointUnion<FS, SP, T>
fn clone(&self) -> LabelledSimplicialDisjointUnion<FS, SP, T>
Returns a copy 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<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> From<&LabelledPartialSimplicialComplex<FS, SP, T>> for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> From<&LabelledPartialSimplicialComplex<FS, SP, T>> for LabelledSimplicialDisjointUnion<FS, SP, T>
Source§fn from(sc: &LabelledPartialSimplicialComplex<FS, SP, T>) -> Self
fn from(sc: &LabelledPartialSimplicialComplex<FS, SP, T>) -> Self
Converts to this type from the input type.
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> From<&LabelledSimplicialComplex<FS, SP, T>> for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> From<&LabelledSimplicialComplex<FS, SP, T>> for LabelledSimplicialDisjointUnion<FS, SP, T>
Source§fn from(sc: &LabelledSimplicialComplex<FS, SP, T>) -> Self
fn from(sc: &LabelledSimplicialComplex<FS, SP, T>) -> Self
Converts to this type from the input type.
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplexCollection<FS, SP, T> for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone, T: Eq + Clone> LabelledSimplexCollection<FS, SP, T> for LabelledSimplicialDisjointUnion<FS, SP, T>
type WithLabel<S: Eq + Clone> = LabelledSimplicialDisjointUnion<FS, SP, S>
type SubsetType = LabelledSimplicialDisjointUnion<FS, SP, T>
fn new_labelled( ambient_space: SP, simplexes: HashMap<Simplex<FS, SP>, T>, ) -> Result<Self, &'static str>
fn new_labelled_unchecked( ambient_space: SP, simplexes: HashMap<Simplex<FS, SP>, T>, ) -> Self
fn ambient_space(&self) -> SP
fn labelled_simplexes(&self) -> HashMap<&Simplex<FS, SP>, &T>
fn into_labelled_simplexes(self) -> HashMap<Simplex<FS, SP>, T>
fn into_partial_simplicial_complex( self, ) -> LabelledPartialSimplicialComplex<FS, SP, T>
fn new( ambient_space: SP, simplexes: HashSet<Simplex<FS, SP>>, ) -> Result<Self::WithLabel<()>, &'static str>
fn new_unchecked( ambient_space: SP, simplexes: HashSet<Simplex<FS, SP>>, ) -> Self::WithLabel<()>
fn simplexes<'a>(&'a self) -> HashSet<&'a Simplex<FS, SP>>where
T: 'a,
fn into_simplexes(self) -> HashSet<Simplex<FS, SP>>
fn subset_by_label( &self, label: &T, ) -> <Self::SubsetType as LabelledSimplexCollection<FS, SP, T>>::WithLabel<()>
fn into_subset_by_label( self, label: &T, ) -> <Self::SubsetType as LabelledSimplexCollection<FS, SP, T>>::WithLabel<()>
fn subset_by_filter(&self, f: impl Fn(&T) -> bool) -> Self::SubsetType
fn into_subset_by_filter(self, f: impl Fn(&T) -> bool) -> Self::SubsetType
fn apply_label_function<S: Eq + Clone>( &self, f: impl Fn(&T) -> S, ) -> Self::WithLabel<S>
fn into_apply_label_function<S: Eq + Clone>( self, f: impl Fn(T) -> S, ) -> Self::WithLabel<S>
fn forget_labels(&self) -> Self::WithLabel<()>
fn into_forget_labels(self) -> Self::WithLabel<()>
fn common_label<'a>(
&'a self,
simplexes: impl Iterator<Item = &'a Simplex<FS, SP>>,
) -> Option<&'a T>where
FS: 'a,
SP: 'a,
Auto Trait Implementations§
impl<FS, SP, T> Freeze for LabelledSimplicialDisjointUnion<FS, SP, T>where
SP: Freeze,
impl<FS, SP, T> RefUnwindSafe for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS, SP, T> Send for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS, SP, T> Sync for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS, SP, T> Unpin for LabelledSimplicialDisjointUnion<FS, SP, T>
impl<FS, SP, T> UnwindSafe for LabelledSimplicialDisjointUnion<FS, SP, T>
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