pub enum FeatureKind {
BlockMapping,
BlockSequence,
FlowMapping,
FlowSequence,
Scalar,
}Expand description
Describes the feature’s kind, i.e. whether it’s a block/flow aggregate or a scalar value.
Variants§
BlockMapping
A block-style mapping, e.g. foo: bar.
BlockSequence
A block-style sequence, e.g. - foo.
FlowMapping
A flow-style mapping, e.g. {foo: bar}.
FlowSequence
A flow-style sequence, e.g. [foo, bar].
Scalar
Any sort of scalar value.
Trait Implementations§
Source§impl Clone for FeatureKind
impl Clone for FeatureKind
Source§fn clone(&self) -> FeatureKind
fn clone(&self) -> FeatureKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeatureKind
impl Debug for FeatureKind
Source§impl PartialEq for FeatureKind
impl PartialEq for FeatureKind
impl Copy for FeatureKind
impl StructuralPartialEq for FeatureKind
Auto Trait Implementations§
impl Freeze for FeatureKind
impl RefUnwindSafe for FeatureKind
impl Send for FeatureKind
impl Sync for FeatureKind
impl Unpin for FeatureKind
impl UnwindSafe for FeatureKind
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