pub struct CharacterLiteral(pub char);Expand description
Represents a Welly character literal.
A character literal consists of a single character or escape sequence
enclosed in ASCII ' characters.
Tuple Fields§
§0: charTrait Implementations§
source§impl Clone for CharacterLiteral
impl Clone for CharacterLiteral
source§fn clone(&self) -> CharacterLiteral
fn clone(&self) -> CharacterLiteral
Returns a copy 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 CharacterLiteral
impl Debug for CharacterLiteral
source§impl PartialEq for CharacterLiteral
impl PartialEq for CharacterLiteral
source§impl Tree for CharacterLiteral
impl Tree for CharacterLiteral
impl StructuralPartialEq for CharacterLiteral
Auto Trait Implementations§
impl Freeze for CharacterLiteral
impl RefUnwindSafe for CharacterLiteral
impl Send for CharacterLiteral
impl Sync for CharacterLiteral
impl Unpin for CharacterLiteral
impl UnwindSafe for CharacterLiteral
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)