Struct erg_compiler::hir::SetWithLength
source · pub struct SetWithLength {
pub l_brace: Token,
pub r_brace: Token,
pub t: Type,
pub elem: Box<Expr>,
pub len: Box<Expr>,
}
Fields§
§l_brace: Token
§r_brace: Token
§t: Type
§elem: Box<Expr>
§len: Box<Expr>
Implementations§
Trait Implementations§
source§impl Clone for SetWithLength
impl Clone for SetWithLength
source§fn clone(&self) -> SetWithLength
fn clone(&self) -> SetWithLength
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 SetWithLength
impl Debug for SetWithLength
source§impl Display for SetWithLength
impl Display for SetWithLength
source§impl HasType for SetWithLength
impl HasType for SetWithLength
fn ref_t(&self) -> &Type
fn ref_mut_t(&mut self) -> &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 SetWithLength
impl Hash for SetWithLength
source§impl Locational for SetWithLength
impl Locational for SetWithLength
source§impl NestedDisplay for SetWithLength
impl NestedDisplay for SetWithLength
source§impl NoTypeDisplay for SetWithLength
impl NoTypeDisplay for SetWithLength
fn to_string_notype(&self) -> String
source§impl PartialEq<SetWithLength> for SetWithLength
impl PartialEq<SetWithLength> for SetWithLength
source§fn eq(&self, other: &SetWithLength) -> bool
fn eq(&self, other: &SetWithLength) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.