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