Struct tket_json_rs::circuit_json::Permutation
source · pub struct Permutation(pub Register, pub Register);
Expand description
A permutation of the elements of a register.
Tuple Fields§
§0: Register
§1: Register
Trait Implementations§
source§impl Clone for Permutation
impl Clone for Permutation
source§fn clone(&self) -> Permutation
fn clone(&self) -> Permutation
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 Permutation
impl Debug for Permutation
source§impl<'de> Deserialize<'de> for Permutation
impl<'de> Deserialize<'de> for Permutation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Permutation
impl Hash for Permutation
source§impl PartialEq for Permutation
impl PartialEq for Permutation
source§fn eq(&self, other: &Permutation) -> bool
fn eq(&self, other: &Permutation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Permutation
impl Serialize for Permutation
impl Eq for Permutation
impl StructuralPartialEq for Permutation
Auto Trait Implementations§
impl Freeze for Permutation
impl RefUnwindSafe for Permutation
impl Send for Permutation
impl Sync for Permutation
impl Unpin for Permutation
impl UnwindSafe for Permutation
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