pub struct ClosureIndex<O> {
pub key: ClosureIndexKey,
pub points: Vec<ClosurePointIndex<O>>,
pub len: usize,
}Expand description
Reusable flattened index for a closure.
Fields§
§key: ClosureIndexKeyCache key used to build this index.
points: Vec<ClosurePointIndex<O>>Point spans in flattened closure order.
len: usizeTotal number of flattened DOFs.
Implementations§
Source§impl<O> ClosureIndex<O>
impl<O> ClosureIndex<O>
Sourcepub fn point_order(&self) -> impl Iterator<Item = PointId> + '_
pub fn point_order(&self) -> impl Iterator<Item = PointId> + '_
Closure points in flattened order.
Trait Implementations§
Source§impl<O: Clone> Clone for ClosureIndex<O>
impl<O: Clone> Clone for ClosureIndex<O>
Source§fn clone(&self) -> ClosureIndex<O>
fn clone(&self) -> ClosureIndex<O>
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<O: Debug> Debug for ClosureIndex<O>
impl<O: Debug> Debug for ClosureIndex<O>
impl<O: Eq> Eq for ClosureIndex<O>
Source§impl<O: PartialEq> PartialEq for ClosureIndex<O>
impl<O: PartialEq> PartialEq for ClosureIndex<O>
impl<O: PartialEq> StructuralPartialEq for ClosureIndex<O>
Auto Trait Implementations§
impl<O> Freeze for ClosureIndex<O>
impl<O> RefUnwindSafe for ClosureIndex<O>where
O: RefUnwindSafe,
impl<O> Send for ClosureIndex<O>where
O: Send,
impl<O> Sync for ClosureIndex<O>where
O: Sync,
impl<O> Unpin for ClosureIndex<O>where
O: Unpin,
impl<O> UnsafeUnpin for ClosureIndex<O>
impl<O> UnwindSafe for ClosureIndex<O>where
O: UnwindSafe,
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
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