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