pub enum PluginPhase {
Generate,
Post,
}Expand description
A plugin’s point in the package generation lifecycle.
Generation plugins run first. Post plugins run after every generation plugin and the language finalizer, so they can add derived artifacts after a package’s normal output has been assembled.
Variants§
Trait Implementations§
Source§impl Clone for PluginPhase
impl Clone for PluginPhase
impl Copy for PluginPhase
Source§impl Debug for PluginPhase
impl Debug for PluginPhase
Source§impl Default for PluginPhase
impl Default for PluginPhase
impl Eq for PluginPhase
Source§impl PartialEq for PluginPhase
impl PartialEq for PluginPhase
impl StructuralPartialEq for PluginPhase
Auto Trait Implementations§
impl Freeze for PluginPhase
impl RefUnwindSafe for PluginPhase
impl Send for PluginPhase
impl Sync for PluginPhase
impl Unpin for PluginPhase
impl UnsafeUnpin for PluginPhase
impl UnwindSafe for PluginPhase
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