Struct cubing::alg::Commutator
source · pub struct Commutator {
pub a: Arc<Alg>,
pub b: Arc<Alg>,
}
Fields§
§a: Arc<Alg>
§b: Arc<Alg>
Implementations§
source§impl Commutator
impl Commutator
pub fn invert(&self) -> Commutator
Trait Implementations§
source§impl Clone for Commutator
impl Clone for Commutator
source§fn clone(&self) -> Commutator
fn clone(&self) -> Commutator
Returns a copy 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 Commutator
impl Debug for Commutator
source§impl Display for Commutator
impl Display for Commutator
source§impl From<Commutator> for AlgNode
impl From<Commutator> for AlgNode
source§fn from(input: Commutator) -> AlgNode
fn from(input: Commutator) -> AlgNode
Converts to this type from the input type.
source§impl PartialEq for Commutator
impl PartialEq for Commutator
source§fn eq(&self, other: &Commutator) -> bool
fn eq(&self, other: &Commutator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Commutator
Auto Trait Implementations§
impl RefUnwindSafe for Commutator
impl Send for Commutator
impl Sync for Commutator
impl Unpin for Commutator
impl UnwindSafe for Commutator
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