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