pub struct PrimitiveCommandCounts { /* private fields */ }Expand description
Command counters grouped by ordinary 2D primitive category.
Implementations§
Source§impl PrimitiveCommandCounts
impl PrimitiveCommandCounts
Sourcepub const fn rectangles(self) -> usize
pub const fn rectangles(self) -> usize
Returns rectangle command count.
Trait Implementations§
Source§impl Clone for PrimitiveCommandCounts
impl Clone for PrimitiveCommandCounts
Source§fn clone(&self) -> PrimitiveCommandCounts
fn clone(&self) -> PrimitiveCommandCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrimitiveCommandCounts
Source§impl Debug for PrimitiveCommandCounts
impl Debug for PrimitiveCommandCounts
Source§impl Default for PrimitiveCommandCounts
impl Default for PrimitiveCommandCounts
Source§fn default() -> PrimitiveCommandCounts
fn default() -> PrimitiveCommandCounts
Returns the “default value” for a type. Read more
impl Eq for PrimitiveCommandCounts
Source§impl PartialEq for PrimitiveCommandCounts
impl PartialEq for PrimitiveCommandCounts
impl StructuralPartialEq for PrimitiveCommandCounts
Auto Trait Implementations§
impl Freeze for PrimitiveCommandCounts
impl RefUnwindSafe for PrimitiveCommandCounts
impl Send for PrimitiveCommandCounts
impl Sync for PrimitiveCommandCounts
impl Unpin for PrimitiveCommandCounts
impl UnsafeUnpin for PrimitiveCommandCounts
impl UnwindSafe for PrimitiveCommandCounts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.