pub enum GoModDirective {
Module(GoModModuleDirective),
Go(GoModGoDirective),
Toolchain(GoModToolchainDirective),
Require(GoModRequireDirective),
Replace(GoModReplaceDirective),
Exclude(GoModExcludeDirective),
Retract(GoModRetractDirective),
}Expand description
go.mod directive metadata.
Variants§
Module(GoModModuleDirective)
Go(GoModGoDirective)
Toolchain(GoModToolchainDirective)
Require(GoModRequireDirective)
Replace(GoModReplaceDirective)
Exclude(GoModExcludeDirective)
Retract(GoModRetractDirective)
Trait Implementations§
Source§impl Clone for GoModDirective
impl Clone for GoModDirective
Source§fn clone(&self) -> GoModDirective
fn clone(&self) -> GoModDirective
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoModDirective
impl Debug for GoModDirective
Source§impl PartialEq for GoModDirective
impl PartialEq for GoModDirective
impl Eq for GoModDirective
impl StructuralPartialEq for GoModDirective
Auto Trait Implementations§
impl Freeze for GoModDirective
impl RefUnwindSafe for GoModDirective
impl Send for GoModDirective
impl Sync for GoModDirective
impl Unpin for GoModDirective
impl UnsafeUnpin for GoModDirective
impl UnwindSafe for GoModDirective
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