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