Enum erg_compiler::hir::List
source · pub enum List {
Normal(NormalList),
Comprehension(ListComprehension),
WithLength(ListWithLength),
}
Variants§
Implementations§
Trait Implementations§
source§impl HasType for List
impl HasType for List
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 Locational for List
impl Locational for List
source§impl NestedDisplay for List
impl NestedDisplay for List
source§impl NoTypeDisplay for List
impl NoTypeDisplay for List
fn to_string_notype(&self) -> String
source§impl PartialEq for List
impl PartialEq for List
impl Eq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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