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