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