pub enum GoWorkDirective {
Use(GoWorkUseDirective),
Replace(GoWorkReplaceDirective),
}Expand description
go.work directive metadata.
Variants§
Use(GoWorkUseDirective)
Replace(GoWorkReplaceDirective)
Trait Implementations§
Source§impl Clone for GoWorkDirective
impl Clone for GoWorkDirective
Source§fn clone(&self) -> GoWorkDirective
fn clone(&self) -> GoWorkDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoWorkDirective
impl Debug for GoWorkDirective
Source§impl PartialEq for GoWorkDirective
impl PartialEq for GoWorkDirective
Source§fn eq(&self, other: &GoWorkDirective) -> bool
fn eq(&self, other: &GoWorkDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GoWorkDirective
impl StructuralPartialEq for GoWorkDirective
Auto Trait Implementations§
impl Freeze for GoWorkDirective
impl RefUnwindSafe for GoWorkDirective
impl Send for GoWorkDirective
impl Sync for GoWorkDirective
impl Unpin for GoWorkDirective
impl UnsafeUnpin for GoWorkDirective
impl UnwindSafe for GoWorkDirective
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