pub enum SourceProvenanceKindV1 {
FormatDefined,
SourceDeclared,
ParserProjected,
DerivedFromSource,
}Expand description
How a source fact was established.
Variants§
FormatDefined
Normative interchange-format semantics rather than a file member.
SourceDeclared
An exact source declaration retained across the loader boundary.
ParserProjected
A parser-effective projection of source declarations.
DerivedFromSource
Derived from exact authored source declarations.
Trait Implementations§
Source§impl Clone for SourceProvenanceKindV1
impl Clone for SourceProvenanceKindV1
Source§fn clone(&self) -> SourceProvenanceKindV1
fn clone(&self) -> SourceProvenanceKindV1
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 SourceProvenanceKindV1
Source§impl Debug for SourceProvenanceKindV1
impl Debug for SourceProvenanceKindV1
impl Eq for SourceProvenanceKindV1
Source§impl From<SourceProvenanceKindV1> for RawSourceProvenanceKindV1
impl From<SourceProvenanceKindV1> for RawSourceProvenanceKindV1
Source§fn from(value: SourceProvenanceKindV1) -> Self
fn from(value: SourceProvenanceKindV1) -> Self
Converts to this type from the input type.
Source§impl Ord for SourceProvenanceKindV1
impl Ord for SourceProvenanceKindV1
Source§fn cmp(&self, other: &SourceProvenanceKindV1) -> Ordering
fn cmp(&self, other: &SourceProvenanceKindV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceProvenanceKindV1
impl PartialEq for SourceProvenanceKindV1
Source§impl PartialOrd for SourceProvenanceKindV1
impl PartialOrd for SourceProvenanceKindV1
impl StructuralPartialEq for SourceProvenanceKindV1
Auto Trait Implementations§
impl Freeze for SourceProvenanceKindV1
impl RefUnwindSafe for SourceProvenanceKindV1
impl Send for SourceProvenanceKindV1
impl Sync for SourceProvenanceKindV1
impl Unpin for SourceProvenanceKindV1
impl UnsafeUnpin for SourceProvenanceKindV1
impl UnwindSafe for SourceProvenanceKindV1
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