pub struct ElementCounts {
pub buses: usize,
pub branches: usize,
pub gens: usize,
}Expand description
The element counts that define a scenario batch’s shared base shape. Named
(rather than a bare (usize, usize, usize)) so the three same-typed fields
can’t be transposed silently in an error message or a comparison.
Fields§
§buses: usize§branches: usize§gens: usizeTrait Implementations§
Source§impl Clone for ElementCounts
impl Clone for ElementCounts
Source§fn clone(&self) -> ElementCounts
fn clone(&self) -> ElementCounts
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 ElementCounts
impl Debug for ElementCounts
Source§impl Display for ElementCounts
impl Display for ElementCounts
Source§impl PartialEq for ElementCounts
impl PartialEq for ElementCounts
impl Copy for ElementCounts
impl Eq for ElementCounts
impl StructuralPartialEq for ElementCounts
Auto Trait Implementations§
impl Freeze for ElementCounts
impl RefUnwindSafe for ElementCounts
impl Send for ElementCounts
impl Sync for ElementCounts
impl Unpin for ElementCounts
impl UnsafeUnpin for ElementCounts
impl UnwindSafe for ElementCounts
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more