pub struct AstPacketDecl {
pub name: String,
pub fields: Vec<AstFieldItem>,
pub annotations: Vec<AstAnnotation>,
pub exported: bool,
pub span: Option<Span>,
}Fields§
§name: String§fields: Vec<AstFieldItem>§annotations: Vec<AstAnnotation>§exported: bool§span: Option<Span>Trait Implementations§
Source§impl Clone for AstPacketDecl
impl Clone for AstPacketDecl
Source§fn clone(&self) -> AstPacketDecl
fn clone(&self) -> AstPacketDecl
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 AstPacketDecl
impl Debug for AstPacketDecl
Source§impl PartialEq for AstPacketDecl
impl PartialEq for AstPacketDecl
impl StructuralPartialEq for AstPacketDecl
Auto Trait Implementations§
impl Freeze for AstPacketDecl
impl RefUnwindSafe for AstPacketDecl
impl Send for AstPacketDecl
impl Sync for AstPacketDecl
impl Unpin for AstPacketDecl
impl UnsafeUnpin for AstPacketDecl
impl UnwindSafe for AstPacketDecl
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