Struct erg_parser::ast::SetWithLength
source · [−]pub struct SetWithLength {
pub l_brace: Token,
pub r_brace: Token,
pub elem: Box<PosArg>,
pub len: Box<Expr>,
}
Fields
l_brace: Token
r_brace: Token
elem: Box<PosArg>
len: Box<Expr>
Implementations
Trait Implementations
sourceimpl Clone for SetWithLength
impl Clone for SetWithLength
sourcefn clone(&self) -> SetWithLength
fn clone(&self) -> SetWithLength
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SetWithLength
impl Debug for SetWithLength
sourceimpl Display for SetWithLength
impl Display for SetWithLength
sourceimpl Hash for SetWithLength
impl Hash for SetWithLength
sourceimpl Locational for SetWithLength
impl Locational for SetWithLength
sourceimpl NestedDisplay for SetWithLength
impl NestedDisplay for SetWithLength
sourceimpl PartialEq<SetWithLength> for SetWithLength
impl PartialEq<SetWithLength> for SetWithLength
sourcefn eq(&self, other: &SetWithLength) -> bool
fn eq(&self, other: &SetWithLength) -> bool
impl Eq for SetWithLength
impl StructuralEq for SetWithLength
impl StructuralPartialEq for SetWithLength
Auto Trait Implementations
impl RefUnwindSafe for SetWithLength
impl !Send for SetWithLength
impl !Sync for SetWithLength
impl Unpin for SetWithLength
impl UnwindSafe for SetWithLength
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more