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