pub enum Lang {}Expand description
these two SyntaxKind types, allowing for a nicer SyntaxNode API where
“kinds” are values from our enum SyntaxKind, instead of plain u16 values.
Trait Implementations§
Source§impl Language for Lang
impl Language for Lang
type Kind = SyntaxKind
fn kind_from_raw(raw: SyntaxKind) -> Self::Kind
fn kind_to_raw(kind: Self::Kind) -> SyntaxKind
Source§impl Ord for Lang
impl Ord for Lang
Source§impl PartialOrd for Lang
impl PartialOrd for Lang
impl Copy for Lang
impl Eq for Lang
impl StructuralPartialEq for Lang
Auto Trait Implementations§
impl Freeze for Lang
impl RefUnwindSafe for Lang
impl Send for Lang
impl Sync for Lang
impl Unpin for Lang
impl UnwindSafe for Lang
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)