Struct erg_parser::ast::TupleTypeSpec
source · pub struct TupleTypeSpec {
pub parens: Option<(Token, Token)>,
pub tys: Vec<TypeSpec>,
}
Fields§
§parens: Option<(Token, Token)>
§tys: Vec<TypeSpec>
Implementations§
Trait Implementations§
source§impl Clone for TupleTypeSpec
impl Clone for TupleTypeSpec
source§fn clone(&self) -> TupleTypeSpec
fn clone(&self) -> TupleTypeSpec
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 TupleTypeSpec
impl Debug for TupleTypeSpec
source§impl Display for TupleTypeSpec
impl Display for TupleTypeSpec
source§impl Hash for TupleTypeSpec
impl Hash for TupleTypeSpec
source§impl Locational for TupleTypeSpec
impl Locational for TupleTypeSpec
source§impl PartialEq for TupleTypeSpec
impl PartialEq for TupleTypeSpec
source§fn eq(&self, other: &TupleTypeSpec) -> bool
fn eq(&self, other: &TupleTypeSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TupleTypeSpec
impl StructuralPartialEq for TupleTypeSpec
Auto Trait Implementations§
impl Freeze for TupleTypeSpec
impl RefUnwindSafe for TupleTypeSpec
impl Send for TupleTypeSpec
impl Sync for TupleTypeSpec
impl Unpin for TupleTypeSpec
impl UnwindSafe for TupleTypeSpec
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