Enum cbork_cddl_parser::AST
source · pub enum AST<'a> {
RFC8610(Pairs<'a, Rule>),
RFC9165(Pairs<'a, Rule>),
CDDL(Pairs<'a, Rule>),
}
Expand description
Abstract Syntax Tree (AST) representing parsed CDDL syntax.
Variants§
RFC8610(Pairs<'a, Rule>)
Represents the AST for RFC 8610 CDDL rules.
RFC9165(Pairs<'a, Rule>)
Represents the AST for RFC 9165 CDDL rules.
CDDL(Pairs<'a, Rule>)
Represents the AST for CDDL Modules rules.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AST<'a>
impl<'a> RefUnwindSafe for AST<'a>
impl<'a> !Send for AST<'a>
impl<'a> !Sync for AST<'a>
impl<'a> Unpin for AST<'a>
impl<'a> UnwindSafe for AST<'a>
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