Struct erg_parser::ast::ListWithLength
source · pub struct ListWithLength {
pub l_sqbr: Token,
pub r_sqbr: Token,
pub elem: Box<PosArg>,
pub len: Box<Expr>,
}
Fields§
§l_sqbr: Token
§r_sqbr: Token
§elem: Box<PosArg>
§len: Box<Expr>
Implementations§
Trait Implementations§
source§impl Clone for ListWithLength
impl Clone for ListWithLength
source§fn clone(&self) -> ListWithLength
fn clone(&self) -> ListWithLength
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 ListWithLength
impl Debug for ListWithLength
source§impl Display for ListWithLength
impl Display for ListWithLength
source§impl Hash for ListWithLength
impl Hash for ListWithLength
source§impl Locational for ListWithLength
impl Locational for ListWithLength
source§impl NestedDisplay for ListWithLength
impl NestedDisplay for ListWithLength
source§impl PartialEq for ListWithLength
impl PartialEq for ListWithLength
impl Eq for ListWithLength
impl StructuralPartialEq for ListWithLength
Auto Trait Implementations§
impl Freeze for ListWithLength
impl RefUnwindSafe for ListWithLength
impl Send for ListWithLength
impl Sync for ListWithLength
impl Unpin for ListWithLength
impl UnwindSafe for ListWithLength
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)