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