pub struct CubicalPoint<A: Clone> {
pub dim: usize,
pub value: A,
pub face: Vec<bool>,
}Expand description
A point in a cubical path, identified by a dimension vector of booleans.
A path in dimension n is a function {0,1}^n → A.
Fields§
§dim: usizeThe dimension (number of interval variables)
value: AThe value at this point
face: Vec<bool>The face (coordinates in {0,1}^dim)
Trait Implementations§
Source§impl<A: Clone + Clone> Clone for CubicalPoint<A>
impl<A: Clone + Clone> Clone for CubicalPoint<A>
Source§fn clone(&self) -> CubicalPoint<A>
fn clone(&self) -> CubicalPoint<A>
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 moreAuto Trait Implementations§
impl<A> Freeze for CubicalPoint<A>where
A: Freeze,
impl<A> RefUnwindSafe for CubicalPoint<A>where
A: RefUnwindSafe,
impl<A> Send for CubicalPoint<A>where
A: Send,
impl<A> Sync for CubicalPoint<A>where
A: Sync,
impl<A> Unpin for CubicalPoint<A>where
A: Unpin,
impl<A> UnsafeUnpin for CubicalPoint<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for CubicalPoint<A>where
A: UnwindSafe,
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