pub enum DialectEvidenceKind {
ProjectManifest,
PathConvention,
Configuration,
ContentSignature,
}Expand description
Independent evidence used to distinguish a dialect from shared syntax.
Variants§
ProjectManifest
A project or workspace manifest selects the dialect.
PathConvention
A repository-relative path convention selects the dialect.
Configuration
A bounded configuration value selects the dialect.
ContentSignature
A bounded content signature selects the dialect.
Trait Implementations§
Source§impl Clone for DialectEvidenceKind
impl Clone for DialectEvidenceKind
Source§fn clone(&self) -> DialectEvidenceKind
fn clone(&self) -> DialectEvidenceKind
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 DialectEvidenceKind
impl Debug for DialectEvidenceKind
Source§impl PartialEq for DialectEvidenceKind
impl PartialEq for DialectEvidenceKind
Source§impl Serialize for DialectEvidenceKind
impl Serialize for DialectEvidenceKind
impl Copy for DialectEvidenceKind
impl Eq for DialectEvidenceKind
impl StructuralPartialEq for DialectEvidenceKind
Auto Trait Implementations§
impl Freeze for DialectEvidenceKind
impl RefUnwindSafe for DialectEvidenceKind
impl Send for DialectEvidenceKind
impl Sync for DialectEvidenceKind
impl Unpin for DialectEvidenceKind
impl UnwindSafe for DialectEvidenceKind
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
Compare self to
key and return true if they are equal.