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