pub enum AstTopItem {
Const(AstConstDecl),
Enum(AstEnumDecl),
Flags(AstFlagsDecl),
StaticAssert(AstStaticAssertDecl),
Type(AstTypeDecl),
Packet(AstPacketDecl),
Frame(AstFrameDecl),
Capsule(AstCapsuleDecl),
ContinuationVarInt(AstContinuationVarIntDecl),
StateMachine(AstStateMachineDecl),
ExternAsn1(AstExternAsn1),
}Variants§
Const(AstConstDecl)
Enum(AstEnumDecl)
Flags(AstFlagsDecl)
StaticAssert(AstStaticAssertDecl)
Type(AstTypeDecl)
Packet(AstPacketDecl)
Frame(AstFrameDecl)
Capsule(AstCapsuleDecl)
ContinuationVarInt(AstContinuationVarIntDecl)
StateMachine(AstStateMachineDecl)
ExternAsn1(AstExternAsn1)
Trait Implementations§
Source§impl Clone for AstTopItem
impl Clone for AstTopItem
Source§fn clone(&self) -> AstTopItem
fn clone(&self) -> AstTopItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstTopItem
impl Debug for AstTopItem
Source§impl PartialEq for AstTopItem
impl PartialEq for AstTopItem
impl StructuralPartialEq for AstTopItem
Auto Trait Implementations§
impl Freeze for AstTopItem
impl RefUnwindSafe for AstTopItem
impl Send for AstTopItem
impl Sync for AstTopItem
impl Unpin for AstTopItem
impl UnsafeUnpin for AstTopItem
impl UnwindSafe for AstTopItem
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