pub struct FieldAssignment {
pub target: KeyPath,
pub field: Field,
pub span: Span,
}Expand description
Assign a field to the shape at target; an empty target means the enclosing shape (or the root).
Fields§
§target: KeyPath§field: Field§span: SpanTrait Implementations§
Source§impl Clone for FieldAssignment
impl Clone for FieldAssignment
Source§impl Debug for FieldAssignment
impl Debug for FieldAssignment
Source§impl PartialEq for FieldAssignment
impl PartialEq for FieldAssignment
impl StructuralPartialEq for FieldAssignment
Auto Trait Implementations§
impl Forget for FieldAssignment
impl Freeze for FieldAssignment
impl Move for FieldAssignment
impl RefUnwindSafe for FieldAssignment
impl Send for FieldAssignment
impl Sync for FieldAssignment
impl Unpin for FieldAssignment
impl UnsafeUnpin for FieldAssignment
impl UnwindSafe for FieldAssignment
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,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.