pub struct MacroStats {
pub likely_unlikely_stripped: usize,
pub container_of_expanded: usize,
pub for_each_expanded: usize,
pub list_for_each_expanded: usize,
pub build_bug_on_stripped: usize,
pub warn_on_stripped: usize,
pub rcu_simplified: usize,
pub typeof_replaced: usize,
pub define_macros_stubbed: usize,
pub statement_expressions_simplified: usize,
}Expand description
Statistics about macro transformations
Fields§
§likely_unlikely_stripped: usize§container_of_expanded: usize§for_each_expanded: usize§list_for_each_expanded: usize§build_bug_on_stripped: usize§warn_on_stripped: usize§rcu_simplified: usize§typeof_replaced: usize§define_macros_stubbed: usize§statement_expressions_simplified: usizeTrait Implementations§
Source§impl Clone for MacroStats
impl Clone for MacroStats
Source§fn clone(&self) -> MacroStats
fn clone(&self) -> MacroStats
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 MacroStats
impl Debug for MacroStats
Source§impl Default for MacroStats
impl Default for MacroStats
Source§fn default() -> MacroStats
fn default() -> MacroStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MacroStats
impl RefUnwindSafe for MacroStats
impl Send for MacroStats
impl Sync for MacroStats
impl Unpin for MacroStats
impl UnwindSafe for MacroStats
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