[−][src]Struct cddl_cat::ast::GrpEnt
A group entry contains one element of a group.
Each key-value pair in map, each element of an array, or each group
(inline or referenced by name) will be stored in a GrpEnt
.
CDDL ABNF grammar:
grpent = [occur S] [memberkey S] type
/ [occur S] groupname [genericarg] ; preempted by above
/ [occur S] "(" S group S ")"
Fields
occur: Option<Occur>
val: GrpEntVal
Trait Implementations
impl Debug for GrpEnt
[src]
impl PartialEq<GrpEnt> for GrpEnt
[src]
impl StructuralPartialEq for GrpEnt
[src]
Auto Trait Implementations
impl RefUnwindSafe for GrpEnt
impl Send for GrpEnt
impl Sync for GrpEnt
impl Unpin for GrpEnt
impl UnwindSafe for GrpEnt
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,