pub struct FieldAssign {
pub name: Identifier,
pub value: Option<Expr>,
pub pos: Pos,
pub span: Span,
}Fields§
§name: Identifier§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 moreSource§impl Debug for FieldAssign
impl Debug for FieldAssign
impl Eq for FieldAssign
Source§impl PartialEq for FieldAssign
impl PartialEq for FieldAssign
Source§fn eq(&self, other: &FieldAssign) -> bool
fn eq(&self, other: &FieldAssign) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldAssign
Auto 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