Trait rowan::api::Language

source ·
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§

source

type Kind: Sized + Copy + Debug + Eq + Ord + Hash

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§