pub enum AbstractFragment {
Mapping(Mapping),
Sequence(Sequence),
Scalar(AbstractString),
Splice(Splice),
Opaque(Opaque),
}Expand description
One node of the abstract rendered document.
Variants§
Mapping(Mapping)
A YAML mapping.
Sequence(Sequence)
A YAML sequence.
Scalar(AbstractString)
A scalar value, possibly partial (literal text interleaved with template holes).
Splice(Splice)
A .Values path rendered whole at this position.
Opaque(Opaque)
A position whose rendered content is unknown; taint conservatively
names the .Values paths that flowed into it.
Trait Implementations§
Source§impl Clone for AbstractFragment
impl Clone for AbstractFragment
Source§fn clone(&self) -> AbstractFragment
fn clone(&self) -> AbstractFragment
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 AbstractFragment
impl Debug for AbstractFragment
impl Eq for AbstractFragment
Source§impl PartialEq for AbstractFragment
impl PartialEq for AbstractFragment
impl StructuralPartialEq for AbstractFragment
Auto Trait Implementations§
impl !Send for AbstractFragment
impl !Sync for AbstractFragment
impl Freeze for AbstractFragment
impl RefUnwindSafe for AbstractFragment
impl Unpin for AbstractFragment
impl UnsafeUnpin for AbstractFragment
impl UnwindSafe for AbstractFragment
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.