Struct erg_compiler::hir::NormalList
source · pub struct NormalList {
pub l_sqbr: Token,
pub r_sqbr: Token,
pub t: Type,
pub elems: Args,
}
Fields§
§l_sqbr: Token
§r_sqbr: Token
§t: Type
§elems: Args
Implementations§
Trait Implementations§
source§impl Clone for NormalList
impl Clone for NormalList
source§fn clone(&self) -> NormalList
fn clone(&self) -> NormalList
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 NormalList
impl Debug for NormalList
source§impl Display for NormalList
impl Display for NormalList
source§impl HasType for NormalList
impl HasType for NormalList
fn ref_t(&self) -> &Type
fn ref_mut_t(&mut self) -> Option<&mut Type>
fn signature_t(&self) -> Option<&Type>
fn signature_mut_t(&mut self) -> Option<&mut Type>
fn t(&self) -> Type
fn inner_ts(&self) -> Vec<Type>
fn lhs_t(&self) -> &Type
fn rhs_t(&self) -> &Type
source§impl Hash for NormalList
impl Hash for NormalList
source§impl Locational for NormalList
impl Locational for NormalList
source§impl NestedDisplay for NormalList
impl NestedDisplay for NormalList
source§impl NoTypeDisplay for NormalList
impl NoTypeDisplay for NormalList
fn to_string_notype(&self) -> String
source§impl PartialEq for NormalList
impl PartialEq for NormalList
source§fn eq(&self, other: &NormalList) -> bool
fn eq(&self, other: &NormalList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NormalList
impl StructuralPartialEq for NormalList
Auto Trait Implementations§
impl Freeze for NormalList
impl RefUnwindSafe for NormalList
impl Send for NormalList
impl Sync for NormalList
impl Unpin for NormalList
impl UnwindSafe for NormalList
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