pub enum SemanticScope {
All,
Same,
Cross,
}Expand description
Which pairs --semantic reports. A language is a grammar: a Svelte
component’s script and a .ts file are one language.
Variants§
All
Every pair.
Same
Pairs within one language: similar implementations of one feature.
Cross
Pairs across languages: a rule written once per side.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticScope
impl Clone for SemanticScope
impl Copy for SemanticScope
Source§impl Debug for SemanticScope
impl Debug for SemanticScope
Source§impl Default for SemanticScope
impl Default for SemanticScope
impl Eq for SemanticScope
Source§impl FromStr for SemanticScope
impl FromStr for SemanticScope
Source§impl PartialEq for SemanticScope
impl PartialEq for SemanticScope
impl StructuralPartialEq for SemanticScope
Auto Trait Implementations§
impl Freeze for SemanticScope
impl RefUnwindSafe for SemanticScope
impl Send for SemanticScope
impl Sync for SemanticScope
impl Unpin for SemanticScope
impl UnsafeUnpin for SemanticScope
impl UnwindSafe for SemanticScope
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more