pub enum GoDirective {
Require,
Replace,
Exclude,
Retract,
}Expand description
Go module directive types.
Variants§
Require
Direct dependency in require block
Replace
Replacement directive
Exclude
Exclusion directive
Retract
Retraction directive
Trait Implementations§
Source§impl Clone for GoDirective
impl Clone for GoDirective
Source§fn clone(&self) -> GoDirective
fn clone(&self) -> GoDirective
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 GoDirective
impl Debug for GoDirective
Source§impl Hash for GoDirective
impl Hash for GoDirective
Source§impl PartialEq for GoDirective
impl PartialEq for GoDirective
Source§impl Serialize for GoDirective
impl Serialize for GoDirective
impl Copy for GoDirective
impl Eq for GoDirective
impl StructuralPartialEq for GoDirective
Auto Trait Implementations§
impl Freeze for GoDirective
impl RefUnwindSafe for GoDirective
impl Send for GoDirective
impl Sync for GoDirective
impl Unpin for GoDirective
impl UnwindSafe for GoDirective
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.