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