pub enum ArrayFormReason {
ElementIncompatibleForm {
element: NodeId,
kind: ValueKind,
},
FlattenElementDisallowed,
}Expand description
Reason an ArrayForm assignment is incompatible with the array content.
Variants§
ElementIncompatibleForm
Some element is incompatible with the requested per-element Form.
FlattenElementDisallowed
PerElement(Flatten) — flattening anonymous array elements into the
parent path is always rejected (it would collapse distinct elements
onto the same path).
Trait Implementations§
Source§impl Clone for ArrayFormReason
impl Clone for ArrayFormReason
Source§fn clone(&self) -> ArrayFormReason
fn clone(&self) -> ArrayFormReason
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 ArrayFormReason
impl Debug for ArrayFormReason
Source§impl PartialEq for ArrayFormReason
impl PartialEq for ArrayFormReason
impl StructuralPartialEq for ArrayFormReason
Auto Trait Implementations§
impl Freeze for ArrayFormReason
impl RefUnwindSafe for ArrayFormReason
impl Send for ArrayFormReason
impl Sync for ArrayFormReason
impl Unpin for ArrayFormReason
impl UnsafeUnpin for ArrayFormReason
impl UnwindSafe for ArrayFormReason
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