pub struct ListHackExpression {
pub index: usize,
pub span: Span,
}Expand description
Literal LIST expression
Fields§
§index: usizeThe index of the list
span: SpanSpan of the list
Trait Implementations§
Source§impl Clone for ListHackExpression
impl Clone for ListHackExpression
Source§fn clone(&self) -> ListHackExpression
fn clone(&self) -> ListHackExpression
Returns a duplicate 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 ListHackExpression
impl Debug for ListHackExpression
Auto Trait Implementations§
impl Freeze for ListHackExpression
impl RefUnwindSafe for ListHackExpression
impl Send for ListHackExpression
impl Sync for ListHackExpression
impl Unpin for ListHackExpression
impl UnsafeUnpin for ListHackExpression
impl UnwindSafe for ListHackExpression
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