pub struct PraxisLanguage;Expand description
The Praxis language tag carried by every node in the lossless tree.
It is a zero-sized marker; its only job is to bind SyntaxKind to rowan’s
raw u16 storage so that SyntaxNode is SyntaxNode<PraxisLanguage>.
Trait Implementations§
Source§impl Clone for PraxisLanguage
impl Clone for PraxisLanguage
Source§fn clone(&self) -> PraxisLanguage
fn clone(&self) -> PraxisLanguage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PraxisLanguage
Source§impl Debug for PraxisLanguage
impl Debug for PraxisLanguage
impl Eq for PraxisLanguage
Source§impl Hash for PraxisLanguage
impl Hash for PraxisLanguage
Source§impl Language for PraxisLanguage
impl Language for PraxisLanguage
type Kind = SyntaxKind
fn kind_from_raw(raw: RawSyntaxKind) -> Self::Kind
fn kind_to_raw(kind: Self::Kind) -> RawSyntaxKind
Source§impl Ord for PraxisLanguage
impl Ord for PraxisLanguage
Source§fn cmp(&self, other: &PraxisLanguage) -> Ordering
fn cmp(&self, other: &PraxisLanguage) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PraxisLanguage
impl PartialEq for PraxisLanguage
Source§impl PartialOrd for PraxisLanguage
impl PartialOrd for PraxisLanguage
impl StructuralPartialEq for PraxisLanguage
Auto Trait Implementations§
impl Freeze for PraxisLanguage
impl RefUnwindSafe for PraxisLanguage
impl Send for PraxisLanguage
impl Sync for PraxisLanguage
impl Unpin for PraxisLanguage
impl UnsafeUnpin for PraxisLanguage
impl UnwindSafe for PraxisLanguage
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