pub struct GateCounts {Show 19 fields
pub input: Shape,
pub alloc: Shape,
pub constant: Shape,
pub from_le_words: Shape,
pub to_le_words: Shape,
pub output: Shape,
pub not: Shape,
pub bitxor: Shape,
pub bitand: Shape,
pub bitxor_const: Shape,
pub bitand_const: Shape,
pub unbounded_shl: Shape,
pub unbounded_shr: Shape,
pub rotate_left: Shape,
pub rotate_right: Shape,
pub reverse_bits: Shape,
pub swap_bytes: Shape,
pub cast: ByWordType<Shape>,
pub carry: Shape,
}Expand description
Structure to track gate counts for all Word types. CompositeWords are counted according to their total number of machine Words.
Fields§
§input: Shape§alloc: Shape§constant: Shape§from_le_words: Shape§to_le_words: Shape§output: Shape§not: Shape§bitxor: Shape§bitand: Shape§bitxor_const: Shape§bitand_const: Shape§unbounded_shl: Shape§unbounded_shr: Shape§rotate_left: Shape§rotate_right: Shape§reverse_bits: Shape§swap_bytes: Shape§cast: ByWordType<Shape>§carry: ShapeTrait Implementations§
Source§impl Clone for GateCounts
impl Clone for GateCounts
Source§fn clone(&self) -> GateCounts
fn clone(&self) -> GateCounts
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 moreSource§impl Debug for GateCounts
impl Debug for GateCounts
Source§impl Default for GateCounts
impl Default for GateCounts
Source§fn default() -> GateCounts
fn default() -> GateCounts
Returns the “default value” for a type. Read more
impl Copy for GateCounts
Auto Trait Implementations§
impl Freeze for GateCounts
impl RefUnwindSafe for GateCounts
impl Send for GateCounts
impl Sync for GateCounts
impl Unpin for GateCounts
impl UnsafeUnpin for GateCounts
impl UnwindSafe for GateCounts
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