pub struct FusionStatistics {
pub total_fusions: u64,
pub gates_eliminated: u64,
pub total_efficiency_gain: f64,
pub fusion_types: HashMap<String, u64>,
}
Expand description
Fusion performance statistics
Fields§
§total_fusions: u64
§gates_eliminated: u64
§total_efficiency_gain: f64
§fusion_types: HashMap<String, u64>
Trait Implementations§
Source§impl Clone for FusionStatistics
impl Clone for FusionStatistics
Source§fn clone(&self) -> FusionStatistics
fn clone(&self) -> FusionStatistics
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 FusionStatistics
impl Debug for FusionStatistics
Source§impl Default for FusionStatistics
impl Default for FusionStatistics
Source§fn default() -> FusionStatistics
fn default() -> FusionStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FusionStatistics
impl RefUnwindSafe for FusionStatistics
impl Send for FusionStatistics
impl Sync for FusionStatistics
impl Unpin for FusionStatistics
impl UnwindSafe for FusionStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more