pub enum StateSplit {
Shared,
ByGrade,
ByCoefficient,
}Expand description
How to split geometric state between composed components.
Variants§
Both components share the same state
ByGrade
Split by grade: A gets scalar+vector, B gets bivector+pseudoscalar
ByCoefficient
A gets first 4 coefficients, B gets last 4
Trait Implementations§
Source§impl Clone for StateSplit
impl Clone for StateSplit
Source§fn clone(&self) -> StateSplit
fn clone(&self) -> StateSplit
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 StateSplit
impl Debug for StateSplit
Source§impl PartialEq for StateSplit
impl PartialEq for StateSplit
impl Copy for StateSplit
impl Eq for StateSplit
impl StructuralPartialEq for StateSplit
Auto Trait Implementations§
impl Freeze for StateSplit
impl RefUnwindSafe for StateSplit
impl Send for StateSplit
impl Sync for StateSplit
impl Unpin for StateSplit
impl UnsafeUnpin for StateSplit
impl UnwindSafe for StateSplit
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