pub struct CCExtPassRegistry { /* private fields */ }Expand description
Pass registry for CCExt.
Implementations§
Source§impl CCExtPassRegistry
impl CCExtPassRegistry
pub fn new() -> Self
pub fn register(&mut self, c: CCExtPassConfig)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, i: usize) -> Option<&CCExtPassConfig>
pub fn get_stats(&self, i: usize) -> Option<&CCExtPassStats>
pub fn enabled_passes(&self) -> Vec<&CCExtPassConfig>
pub fn passes_in_phase(&self, ph: &CCExtPassPhase) -> Vec<&CCExtPassConfig>
pub fn total_nodes_visited(&self) -> usize
pub fn any_changed(&self) -> bool
Trait Implementations§
Source§impl Debug for CCExtPassRegistry
impl Debug for CCExtPassRegistry
Source§impl Default for CCExtPassRegistry
impl Default for CCExtPassRegistry
Source§fn default() -> CCExtPassRegistry
fn default() -> CCExtPassRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CCExtPassRegistry
impl RefUnwindSafe for CCExtPassRegistry
impl Send for CCExtPassRegistry
impl Sync for CCExtPassRegistry
impl Unpin for CCExtPassRegistry
impl UnsafeUnpin for CCExtPassRegistry
impl UnwindSafe for CCExtPassRegistry
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