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