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