pub enum CollectionTypeLiteral {
List(ListLiteral),
Set(SetLiteral),
Map(MapLiteral),
}Variants
List(ListLiteral)
Set(SetLiteral)
Map(MapLiteral)
Trait Implementations
sourceimpl Clone for CollectionTypeLiteral
impl Clone for CollectionTypeLiteral
sourcefn clone(&self) -> CollectionTypeLiteral
fn clone(&self) -> CollectionTypeLiteral
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for CollectionTypeLiteral
impl<'a> CustomToTokens<'a> for CollectionTypeLiteral
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for CollectionTypeLiteral
impl Debug for CollectionTypeLiteral
sourceimpl Display for CollectionTypeLiteral
impl Display for CollectionTypeLiteral
sourceimpl From<CollectionTypeLiteral> for Literal
impl From<CollectionTypeLiteral> for Literal
sourcefn from(original: CollectionTypeLiteral) -> Literal
fn from(original: CollectionTypeLiteral) -> Literal
Converts to this type from the input type.
sourceimpl FromStr for CollectionTypeLiteral
impl FromStr for CollectionTypeLiteral
sourceimpl Hash for CollectionTypeLiteral
impl Hash for CollectionTypeLiteral
sourceimpl Ord for CollectionTypeLiteral
impl Ord for CollectionTypeLiteral
sourceimpl Parse for CollectionTypeLiteral
impl Parse for CollectionTypeLiteral
type Output = CollectionTypeLiteral
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<CollectionTypeLiteral> for CollectionTypeLiteral
impl PartialEq<CollectionTypeLiteral> for CollectionTypeLiteral
sourcefn eq(&self, other: &CollectionTypeLiteral) -> bool
fn eq(&self, other: &CollectionTypeLiteral) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CollectionTypeLiteral) -> bool
fn ne(&self, other: &CollectionTypeLiteral) -> bool
This method tests for !=.
sourceimpl PartialOrd<CollectionTypeLiteral> for CollectionTypeLiteral
impl PartialOrd<CollectionTypeLiteral> for CollectionTypeLiteral
sourcefn partial_cmp(&self, other: &CollectionTypeLiteral) -> Option<Ordering>
fn partial_cmp(&self, other: &CollectionTypeLiteral) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl ToTokens for CollectionTypeLiteral
impl ToTokens for CollectionTypeLiteral
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryFrom<Literal> for CollectionTypeLiteral
impl TryFrom<Literal> for CollectionTypeLiteral
impl Eq for CollectionTypeLiteral
impl StructuralEq for CollectionTypeLiteral
impl StructuralPartialEq for CollectionTypeLiteral
Auto Trait Implementations
impl RefUnwindSafe for CollectionTypeLiteral
impl Send for CollectionTypeLiteral
impl Sync for CollectionTypeLiteral
impl Unpin for CollectionTypeLiteral
impl UnwindSafe for CollectionTypeLiteral
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more