pub enum ModuleName {
Ident(Ident),
Str(String),
}Expand description
The name on either side of a module binding, which may be a string.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModuleName
impl Clone for ModuleName
Source§impl Debug for ModuleName
impl Debug for ModuleName
impl Eq for ModuleName
Source§impl PartialEq for ModuleName
impl PartialEq for ModuleName
impl StructuralPartialEq for ModuleName
Auto Trait Implementations§
impl Forget for ModuleName
impl Freeze for ModuleName
impl Move for ModuleName
impl RefUnwindSafe for ModuleName
impl Send for ModuleNamewhere
RawVecInner: Send,
impl Sync for ModuleNamewhere
RawVecInner: Sync,
impl Unpin for ModuleName
impl UnsafeUnpin for ModuleName
impl UnwindSafe for ModuleNamewhere
RawVecInner: UnwindSafe,
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