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