pub struct LiteralChar {
pub c: char,
pub span: Range<usize>,
pub escaped: bool,
}
Expand description
Literal unicode character.
Fields§
§c: char
The unicode character.
span: Range<usize>
Position in the input for this char.
escaped: bool
Was the character escaped.
See Literal::escaped
for more details on what this means.
Trait Implementations§
Source§impl Clone for LiteralChar
impl Clone for LiteralChar
Source§fn clone(&self) -> LiteralChar
fn clone(&self) -> LiteralChar
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 LiteralChar
impl Debug for LiteralChar
Source§impl PartialEq for LiteralChar
impl PartialEq for LiteralChar
impl Eq for LiteralChar
impl StructuralPartialEq for LiteralChar
Auto Trait Implementations§
impl Freeze for LiteralChar
impl RefUnwindSafe for LiteralChar
impl Send for LiteralChar
impl Sync for LiteralChar
impl Unpin for LiteralChar
impl UnwindSafe for LiteralChar
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