pub trait Language: Sized + Copy + Debug + Eq + Ord + Hash {
type Kind: Sized + Copy + Debug + Eq + Ord + Hash;
// Required methods
fn kind_from_raw(raw: SyntaxKind) -> Self::Kind;
fn kind_to_raw(kind: Self::Kind) -> SyntaxKind;
}
Required Associated Types§
Required Methods§
fn kind_from_raw(raw: SyntaxKind) -> Self::Kind
fn kind_to_raw(kind: Self::Kind) -> SyntaxKind
Object Safety§
This trait is not object safe.