Struct sway_core::parse_tree::SubfieldExpression
source · [−]pub struct SubfieldExpression {
pub prefix: Box<Expression>,
pub field_to_access: Ident,
}
Fields
prefix: Box<Expression>
field_to_access: Ident
Trait Implementations
sourceimpl Clone for SubfieldExpression
impl Clone for SubfieldExpression
sourcefn clone(&self) -> SubfieldExpression
fn clone(&self) -> SubfieldExpression
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SubfieldExpression
impl Send for SubfieldExpression
impl Sync for SubfieldExpression
impl Unpin for SubfieldExpression
impl UnwindSafe for SubfieldExpression
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