pub struct Char<const T: char, const NAMED: bool = true> { /* private fields */ }
Expand description
A specific character.
Trait Implementations§
Source§impl<const T: char, const NAMED: bool> Span for Char<T, NAMED>
impl<const T: char, const NAMED: bool> Span for Char<T, NAMED>
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the start position of this item.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the end position of this item.
impl<const T: char, const NAMED: bool> Copy for Char<T, NAMED>
Auto Trait Implementations§
impl<const T: char, const NAMED: bool> Freeze for Char<T, NAMED>
impl<const T: char, const NAMED: bool> RefUnwindSafe for Char<T, NAMED>
impl<const T: char, const NAMED: bool> Send for Char<T, NAMED>
impl<const T: char, const NAMED: bool> Sync for Char<T, NAMED>
impl<const T: char, const NAMED: bool> Unpin for Char<T, NAMED>
impl<const T: char, const NAMED: bool> UnwindSafe for Char<T, NAMED>
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