#[non_exhaustive]pub enum BuildSyntax {
Scalar,
Structured,
Mapping,
Sequence,
Repeated,
}Expand description
The generic syntax family that supplied a build declaration or per-key value collection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Scalar
One short scalar declaration.
Structured
A structured declaration object.
Mapping
Mapping syntax for named values.
Sequence
Sequence syntax for ordered values.
Repeated
Repeated native assignment syntax.
Trait Implementations§
Source§impl Clone for BuildSyntax
impl Clone for BuildSyntax
Source§fn clone(&self) -> BuildSyntax
fn clone(&self) -> BuildSyntax
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 moreimpl Copy for BuildSyntax
Source§impl Debug for BuildSyntax
impl Debug for BuildSyntax
impl Eq for BuildSyntax
Source§impl PartialEq for BuildSyntax
impl PartialEq for BuildSyntax
impl StructuralPartialEq for BuildSyntax
Auto Trait Implementations§
impl Freeze for BuildSyntax
impl RefUnwindSafe for BuildSyntax
impl Send for BuildSyntax
impl Sync for BuildSyntax
impl Unpin for BuildSyntax
impl UnsafeUnpin for BuildSyntax
impl UnwindSafe for BuildSyntax
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