pub struct ModuleDefinition {
    pub kind: ModuleDefinitionKind,
    pub range: Node,
    pub name: Node,
}Fields§
§kind: ModuleDefinitionKind§range: Node§name: NodeImplementations§
Source§impl ModuleDefinition
 
impl ModuleDefinition
pub const fn is_basic_type(&self) -> bool
pub const fn is_alias_type(&self) -> bool
Trait Implementations§
Source§impl Clone for ModuleDefinition
 
impl Clone for ModuleDefinition
Source§fn clone(&self) -> ModuleDefinition
 
fn clone(&self) -> ModuleDefinition
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 moreAuto Trait Implementations§
impl Freeze for ModuleDefinition
impl RefUnwindSafe for ModuleDefinition
impl !Send for ModuleDefinition
impl !Sync for ModuleDefinition
impl Unpin for ModuleDefinition
impl UnwindSafe for ModuleDefinition
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