pub struct FieldAssign {
pub name: String,
pub value: Option<Expr>,
pub pos: Pos,
pub span: Span,
}Fields§
§name: String§value: Option<Expr>None for record puns (Foo with owner meaning owner = owner)
and .. wildcards.
pos: Pos§span: SpanTrait Implementations§
Source§impl Clone for FieldAssign
impl Clone for FieldAssign
Source§fn clone(&self) -> FieldAssign
fn clone(&self) -> FieldAssign
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FieldAssign
impl RefUnwindSafe for FieldAssign
impl Send for FieldAssign
impl Sync for FieldAssign
impl Unpin for FieldAssign
impl UnsafeUnpin for FieldAssign
impl UnwindSafe for FieldAssign
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