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