pub struct RawSyntaxKind(pub u32);Expand description
RawSyntaxKind is a type tag for each token or node.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for RawSyntaxKind
impl Clone for RawSyntaxKind
Source§fn clone(&self) -> RawSyntaxKind
fn clone(&self) -> RawSyntaxKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawSyntaxKind
impl Debug for RawSyntaxKind
Source§impl<'de> Deserialize<'de> for RawSyntaxKind
Available on crate feature serialize only.
impl<'de> Deserialize<'de> for RawSyntaxKind
Available on crate feature
serialize only.Source§fn deserialize<De>(deserializer: De) -> Result<Self, De::Error>where
De: Deserializer<'de>,
fn deserialize<De>(deserializer: De) -> Result<Self, De::Error>where
De: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RawSyntaxKind
impl Hash for RawSyntaxKind
Source§impl Ord for RawSyntaxKind
impl Ord for RawSyntaxKind
Source§fn cmp(&self, other: &RawSyntaxKind) -> Ordering
fn cmp(&self, other: &RawSyntaxKind) -> Ordering
1.21.0 · 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 RawSyntaxKind
impl PartialEq for RawSyntaxKind
Source§impl PartialOrd for RawSyntaxKind
impl PartialOrd for RawSyntaxKind
Source§impl Serialize for RawSyntaxKind
Available on crate feature serialize only.
impl Serialize for RawSyntaxKind
Available on crate feature
serialize only.impl Copy for RawSyntaxKind
impl Eq for RawSyntaxKind
impl StructuralPartialEq for RawSyntaxKind
Auto Trait Implementations§
impl Freeze for RawSyntaxKind
impl RefUnwindSafe for RawSyntaxKind
impl Send for RawSyntaxKind
impl Sync for RawSyntaxKind
impl Unpin for RawSyntaxKind
impl UnwindSafe for RawSyntaxKind
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