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