pub enum SourceProvenance {
Authored,
Generated,
}Expand description
Whether the source is authored or a generated artifact. A generated location carries different repair semantics (regenerate vs. edit).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SourceProvenance
impl Clone for SourceProvenance
Source§fn clone(&self) -> SourceProvenance
fn clone(&self) -> SourceProvenance
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 moreimpl Copy for SourceProvenance
Source§impl Debug for SourceProvenance
impl Debug for SourceProvenance
impl Eq for SourceProvenance
Source§impl Hash for SourceProvenance
impl Hash for SourceProvenance
Source§impl PartialEq for SourceProvenance
impl PartialEq for SourceProvenance
impl StructuralPartialEq for SourceProvenance
Auto Trait Implementations§
impl Freeze for SourceProvenance
impl RefUnwindSafe for SourceProvenance
impl Send for SourceProvenance
impl Sync for SourceProvenance
impl Unpin for SourceProvenance
impl UnsafeUnpin for SourceProvenance
impl UnwindSafe for SourceProvenance
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