pub struct ModuleEntry {
pub prefix: Option<String>,
}Expand description
One entry in the module table. ModuleId(0) is always the
synthetic entry scope; subsequent IDs correspond to
inputs.dep_modules in walk order.
Fields§
§prefix: Option<String>None for the entry scope; Some(prefix) for dep modules.
Trait Implementations§
Source§impl Clone for ModuleEntry
impl Clone for ModuleEntry
Source§fn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
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 moreAuto Trait Implementations§
impl Freeze for ModuleEntry
impl RefUnwindSafe for ModuleEntry
impl Send for ModuleEntry
impl Sync for ModuleEntry
impl Unpin for ModuleEntry
impl UnsafeUnpin for ModuleEntry
impl UnwindSafe for ModuleEntry
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