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