pub struct TupleLiteral {
pub elements: Vec<Term>,
}
Fields§
§elements: Vec<Term>
Trait Implementations§
Source§impl Clone for TupleLiteral
impl Clone for TupleLiteral
Source§fn clone(&self) -> TupleLiteral
fn clone(&self) -> TupleLiteral
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 TupleLiteral
impl<'a> CustomToTokens<'a> for TupleLiteral
Source§impl Debug for TupleLiteral
impl Debug for TupleLiteral
Source§impl Display for TupleLiteral
impl Display for TupleLiteral
Source§impl From<TupleLiteral> for Literal
impl From<TupleLiteral> for Literal
Source§fn from(original: TupleLiteral) -> Literal
fn from(original: TupleLiteral) -> Literal
Converts to this type from the input type.
Source§impl FromStr for TupleLiteral
impl FromStr for TupleLiteral
Source§impl Hash for TupleLiteral
impl Hash for TupleLiteral
Source§impl Ord for TupleLiteral
impl Ord for TupleLiteral
Source§fn cmp(&self, other: &TupleLiteral) -> Ordering
fn cmp(&self, other: &TupleLiteral) -> 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 TupleLiteral
impl Parse for TupleLiteral
Source§impl PartialEq for TupleLiteral
impl PartialEq for TupleLiteral
Source§impl PartialOrd for TupleLiteral
impl PartialOrd for TupleLiteral
Source§impl ToTokens for TupleLiteral
impl ToTokens for TupleLiteral
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 TupleLiteral
impl TryFrom<Literal> for TupleLiteral
impl Eq for TupleLiteral
impl StructuralPartialEq for TupleLiteral
Auto Trait Implementations§
impl Freeze for TupleLiteral
impl RefUnwindSafe for TupleLiteral
impl Send for TupleLiteral
impl Sync for TupleLiteral
impl Unpin for TupleLiteral
impl UnwindSafe for TupleLiteral
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