pub struct ExprInPlace {
pub attrs: Vec<Attribute>,
pub place: Box<Expr>,
pub arrow_token: LArrow,
pub value: Box<Expr>,
}
Expand description
A placement expression: place <- value
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute>
§place: Box<Expr>
§arrow_token: LArrow
§value: Box<Expr>
Trait Implementations§
Source§impl Clone for ExprInPlace
impl Clone for ExprInPlace
Source§fn clone(&self) -> ExprInPlace
fn clone(&self) -> ExprInPlace
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 ExprInPlace
impl Debug for ExprInPlace
Source§impl From<ExprInPlace> for Expr
impl From<ExprInPlace> for Expr
Source§fn from(e: ExprInPlace) -> Expr
fn from(e: ExprInPlace) -> Expr
Converts to this type from the input type.
Source§impl Hash for ExprInPlace
impl Hash for ExprInPlace
Source§impl PartialEq for ExprInPlace
impl PartialEq for ExprInPlace
Source§impl ToTokens for ExprInPlace
impl ToTokens for ExprInPlace
impl Eq for ExprInPlace
impl StructuralPartialEq for ExprInPlace
Auto Trait Implementations§
impl Freeze for ExprInPlace
impl RefUnwindSafe for ExprInPlace
impl !Send for ExprInPlace
impl !Sync for ExprInPlace
impl Unpin for ExprInPlace
impl UnwindSafe for ExprInPlace
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§impl<T> Spanned for Twhere
T: ToTokens,
impl<T> Spanned for Twhere
T: ToTokens,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.