pub enum CollectionTypeLiteral {
List(ListLiteral),
Set(SetLiteral),
Map(MapLiteral),
}
Variants§
Trait Implementations§
Source§impl Clone for CollectionTypeLiteral
impl Clone for CollectionTypeLiteral
Source§fn clone(&self) -> CollectionTypeLiteral
fn clone(&self) -> CollectionTypeLiteral
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for CollectionTypeLiteral
impl<'a> CustomToTokens<'a> for CollectionTypeLiteral
Source§impl Debug for CollectionTypeLiteral
impl Debug for CollectionTypeLiteral
Source§impl Display for CollectionTypeLiteral
impl Display for CollectionTypeLiteral
Source§impl From<CollectionTypeLiteral> for Literal
impl From<CollectionTypeLiteral> for Literal
Source§fn from(original: CollectionTypeLiteral) -> Literal
fn from(original: CollectionTypeLiteral) -> Literal
Converts to this type from the input type.
Source§impl FromStr for CollectionTypeLiteral
impl FromStr for CollectionTypeLiteral
Source§impl Hash for CollectionTypeLiteral
impl Hash for CollectionTypeLiteral
Source§impl Ord for CollectionTypeLiteral
impl Ord for CollectionTypeLiteral
Source§fn cmp(&self, other: &CollectionTypeLiteral) -> Ordering
fn cmp(&self, other: &CollectionTypeLiteral) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse for CollectionTypeLiteral
impl Parse for CollectionTypeLiteral
type Output = CollectionTypeLiteral
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for CollectionTypeLiteral
impl PartialEq for CollectionTypeLiteral
Source§impl PartialOrd for CollectionTypeLiteral
impl PartialOrd for CollectionTypeLiteral
Source§impl ToTokens for CollectionTypeLiteral
impl ToTokens for CollectionTypeLiteral
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryFrom<Literal> for CollectionTypeLiteral
impl TryFrom<Literal> for CollectionTypeLiteral
impl Eq for CollectionTypeLiteral
impl StructuralPartialEq for CollectionTypeLiteral
Auto Trait Implementations§
impl Freeze for CollectionTypeLiteral
impl RefUnwindSafe for CollectionTypeLiteral
impl Send for CollectionTypeLiteral
impl Sync for CollectionTypeLiteral
impl Unpin for CollectionTypeLiteral
impl UnwindSafe for CollectionTypeLiteral
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