#[repr(C)]pub struct TriviaEntry {
pub node_type: u16,
}Expand description
A node type ID that counts as trivia (whitespace, comments).
Fields§
§node_type: u16Implementations§
Trait Implementations§
Source§impl Clone for TriviaEntry
impl Clone for TriviaEntry
Source§fn clone(&self) -> TriviaEntry
fn clone(&self) -> TriviaEntry
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 TriviaEntry
impl Debug for TriviaEntry
impl Copy for TriviaEntry
Auto Trait Implementations§
impl Freeze for TriviaEntry
impl RefUnwindSafe for TriviaEntry
impl Send for TriviaEntry
impl Sync for TriviaEntry
impl Unpin for TriviaEntry
impl UnwindSafe for TriviaEntry
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