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