Enum ezno_parser::types::type_annotations::CommonTypes
source · pub enum CommonTypes {
String,
Number,
Boolean,
}
Expand description
Reduces string allocation and type lookup overhead
Variants§
Trait Implementations§
source§impl Clone for CommonTypes
impl Clone for CommonTypes
source§fn clone(&self) -> CommonTypes
fn clone(&self) -> CommonTypes
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 CommonTypes
impl Debug for CommonTypes
source§impl PartialEq for CommonTypes
impl PartialEq for CommonTypes
source§fn eq(&self, other: &CommonTypes) -> bool
fn eq(&self, other: &CommonTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for CommonTypes
impl SelfRustTokenize for CommonTypes
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
source§impl Serialize for CommonTypes
impl Serialize for CommonTypes
impl Eq for CommonTypes
impl StructuralEq for CommonTypes
impl StructuralPartialEq for CommonTypes
Auto Trait Implementations§
impl RefUnwindSafe for CommonTypes
impl Send for CommonTypes
impl Sync for CommonTypes
impl Unpin for CommonTypes
impl UnwindSafe for CommonTypes
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