pub struct ListLiteral {
pub elements: Vec<Term>,
}
Fields§
§elements: Vec<Term>
Trait Implementations§
Source§impl Clone for ListLiteral
impl Clone for ListLiteral
Source§fn clone(&self) -> ListLiteral
fn clone(&self) -> ListLiteral
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 ListLiteral
impl<'a> CustomToTokens<'a> for ListLiteral
Source§impl Debug for ListLiteral
impl Debug for ListLiteral
Source§impl Display for ListLiteral
impl Display for ListLiteral
Source§impl FromStr for ListLiteral
impl FromStr for ListLiteral
Source§impl Hash for ListLiteral
impl Hash for ListLiteral
Source§impl Ord for ListLiteral
impl Ord for ListLiteral
Source§fn cmp(&self, other: &ListLiteral) -> Ordering
fn cmp(&self, other: &ListLiteral) -> 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 ListLiteral
impl Parse for ListLiteral
type Output = ListLiteral
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for ListLiteral
impl PartialEq for ListLiteral
Source§impl PartialOrd for ListLiteral
impl PartialOrd for ListLiteral
Source§impl ToTokens for ListLiteral
impl ToTokens for ListLiteral
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,
impl Eq for ListLiteral
impl StructuralPartialEq for ListLiteral
Auto Trait Implementations§
impl Freeze for ListLiteral
impl RefUnwindSafe for ListLiteral
impl Send for ListLiteral
impl Sync for ListLiteral
impl Unpin for ListLiteral
impl UnwindSafe for ListLiteral
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