pub struct Cddl {
pub rules: Vec<Rule>,
}
Expand description
A CDDL specification, containing multiple rule syntax trees.
This is the output from the parser for a given CDDL text input.
Fields§
§rules: Vec<Rule>
Rules and their syntax trees.
Trait Implementations§
source§impl PartialEq for Cddl
impl PartialEq for Cddl
impl StructuralPartialEq for Cddl
Auto Trait Implementations§
impl RefUnwindSafe for Cddl
impl Send for Cddl
impl Sync for Cddl
impl Unpin for Cddl
impl UnwindSafe for Cddl
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