pub enum ArrayForm {
Inline,
PerElement(Form),
PerElementIndexed(Form),
}Expand description
How an NodeValue::Array node is emitted. Orthogonal to Form.
Variants§
Inline
Single inline binding: path = [e1, e2, ...].
PerElement(Form)
Per-element emission with [] (push marker). Each element uses the
given element Form.
PerElementIndexed(Form)
Per-element emission with explicit [i] indices.
Trait Implementations§
impl Copy for ArrayForm
impl Eq for ArrayForm
impl StructuralPartialEq for ArrayForm
Auto Trait Implementations§
impl Freeze for ArrayForm
impl RefUnwindSafe for ArrayForm
impl Send for ArrayForm
impl Sync for ArrayForm
impl Unpin for ArrayForm
impl UnsafeUnpin for ArrayForm
impl UnwindSafe for ArrayForm
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.