pub struct TableSectionSym<O> { /* private fields */ }Expand description
Table-backed section symmetry keyed by (point, orientation).
Implementations§
Source§impl<O> TableSectionSym<O>
impl<O> TableSectionSym<O>
Sourcepub fn insert_point(
&mut self,
point: PointId,
orientation: O,
permutation: Vec<usize>,
)
pub fn insert_point( &mut self, point: PointId, orientation: O, permutation: Vec<usize>, )
Set a permutation used for a specific point and orientation.
Sourcepub fn insert_orientation(&mut self, orientation: O, permutation: Vec<usize>)
pub fn insert_orientation(&mut self, orientation: O, permutation: Vec<usize>)
Set a default permutation for an orientation, independent of point.
Trait Implementations§
Source§impl<O: Clone> Clone for TableSectionSym<O>
impl<O: Clone> Clone for TableSectionSym<O>
Source§fn clone(&self) -> TableSectionSym<O>
fn clone(&self) -> TableSectionSym<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 TableSectionSym<O>
impl<O: Debug> Debug for TableSectionSym<O>
Source§impl<O: Default> Default for TableSectionSym<O>
impl<O: Default> Default for TableSectionSym<O>
Source§fn default() -> TableSectionSym<O>
fn default() -> TableSectionSym<O>
Returns the “default value” for a type. Read more
Source§impl<O> SectionSym<O> for TableSectionSym<O>
impl<O> SectionSym<O> for TableSectionSym<O>
Auto Trait Implementations§
impl<O> Freeze for TableSectionSym<O>
impl<O> RefUnwindSafe for TableSectionSym<O>where
O: RefUnwindSafe,
impl<O> Send for TableSectionSym<O>where
O: Send,
impl<O> Sync for TableSectionSym<O>where
O: Sync,
impl<O> Unpin for TableSectionSym<O>where
O: Unpin,
impl<O> UnsafeUnpin for TableSectionSym<O>
impl<O> UnwindSafe for TableSectionSym<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