pub enum Enforce {
Default,
Post,
}Expand description
Shorthand for selecting a plugin execution phase.
Enforce::Post is intended for plugins that consume or augment the
completed generated package. Override Plugin::phase when selecting a
phase dynamically is more appropriate than this shorthand.
Variants§
Implementations§
Trait Implementations§
impl Copy for Enforce
impl Eq for Enforce
impl StructuralPartialEq for Enforce
Auto Trait Implementations§
impl Freeze for Enforce
impl RefUnwindSafe for Enforce
impl Send for Enforce
impl Sync for Enforce
impl Unpin for Enforce
impl UnsafeUnpin for Enforce
impl UnwindSafe for Enforce
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