pub struct Intersection { /* private fields */ }Expand description
Result of intersecting two Schubert types.
Implementations§
Source§impl Intersection
impl Intersection
Sourcepub fn kind(&self) -> IntersectionKind
pub fn kind(&self) -> IntersectionKind
The classification of this intersection.
Sourcepub fn multiplicity(&self) -> u64
pub fn multiplicity(&self) -> u64
The intersection multiplicity (0 for zeros and underdetermined).
Sourcepub fn decomposition(&self) -> &[SchubertType]
pub fn decomposition(&self) -> &[SchubertType]
Decomposition into Schubert classes, if available.
Sourcepub fn into_schubert(self) -> Option<SchubertType>
pub fn into_schubert(self) -> Option<SchubertType>
When the intersection is positive, attempt to extract the resulting Schubert type (the first one in the decomposition).
Trait Implementations§
Source§impl Clone for Intersection
impl Clone for Intersection
Source§fn clone(&self) -> Intersection
fn clone(&self) -> Intersection
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 moreAuto Trait Implementations§
impl Freeze for Intersection
impl RefUnwindSafe for Intersection
impl Send for Intersection
impl Sync for Intersection
impl Unpin for Intersection
impl UnsafeUnpin for Intersection
impl UnwindSafe for Intersection
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