pub struct ModuleName {
pub parts: Vec<Symbol>,
pub span: Span,
}Expand description
A qualified module name like Data.List.
Fields§
§parts: Vec<Symbol>The components of the name.
span: SpanThe span.
Trait Implementations§
Source§impl Clone for ModuleName
impl Clone for ModuleName
Source§fn clone(&self) -> ModuleName
fn clone(&self) -> ModuleName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleName
impl Debug for ModuleName
Source§impl Display for ModuleName
impl Display for ModuleName
impl Eq for ModuleName
Source§impl Hash for ModuleName
impl Hash for ModuleName
Source§impl PartialEq for ModuleName
impl PartialEq for ModuleName
Source§fn eq(&self, other: &ModuleName) -> bool
fn eq(&self, other: &ModuleName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModuleName
Auto Trait Implementations§
impl Freeze for ModuleName
impl RefUnwindSafe for ModuleName
impl Send for ModuleName
impl Sync for ModuleName
impl Unpin for ModuleName
impl UnsafeUnpin for ModuleName
impl UnwindSafe for ModuleName
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