Enum donet_core::parser::ast::CharOrNumber
source · pub enum CharOrNumber {
Char(char),
I64(i64),
F64(f64),
}
Expand description
Paired with the char_or_number
production in the Context Free Grammar.
Variants§
Trait Implementations§
source§impl Clone for CharOrNumber
impl Clone for CharOrNumber
source§fn clone(&self) -> CharOrNumber
fn clone(&self) -> CharOrNumber
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 CharOrNumber
impl Debug for CharOrNumber
impl Copy for CharOrNumber
Auto Trait Implementations§
impl Freeze for CharOrNumber
impl RefUnwindSafe for CharOrNumber
impl Send for CharOrNumber
impl Sync for CharOrNumber
impl Unpin for CharOrNumber
impl UnwindSafe for CharOrNumber
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
)