pub struct GrpChoice(pub Vec<GrpEnt>);
Expand description
A group choice contains one of the choices making up a group.
Each group choice is itself made up of individual group entries.
CDDL ABNF grammar:
grpchoice = *(grpent optcom)
Translated: “zero-or-more group-entries separated by an optional comma”
Tuple Fields§
§0: Vec<GrpEnt>
Trait Implementations§
source§impl PartialEq for GrpChoice
impl PartialEq for GrpChoice
impl StructuralPartialEq for GrpChoice
Auto Trait Implementations§
impl RefUnwindSafe for GrpChoice
impl Send for GrpChoice
impl Sync for GrpChoice
impl Unpin for GrpChoice
impl UnwindSafe for GrpChoice
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