pub struct PrimitiveCount {
pub tracks: usize,
pub vias: usize,
pub pads: usize,
pub arcs: usize,
pub fills: usize,
pub texts: usize,
pub regions: usize,
pub polygons: usize,
pub other: usize,
}Expand description
Primitive count statistics.
Fields§
§tracks: usize§vias: usize§pads: usize§arcs: usize§fills: usize§texts: usize§regions: usize§polygons: usize§other: usizeImplementations§
Trait Implementations§
Source§impl Clone for PrimitiveCount
impl Clone for PrimitiveCount
Source§fn clone(&self) -> PrimitiveCount
fn clone(&self) -> PrimitiveCount
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 PrimitiveCount
impl Debug for PrimitiveCount
Source§impl Default for PrimitiveCount
impl Default for PrimitiveCount
Source§fn default() -> PrimitiveCount
fn default() -> PrimitiveCount
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrimitiveCount
impl RefUnwindSafe for PrimitiveCount
impl Send for PrimitiveCount
impl Sync for PrimitiveCount
impl Unpin for PrimitiveCount
impl UnwindSafe for PrimitiveCount
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