pub struct ModuleInfo {
pub dir_name: String,
pub declared_name: Option<String>,
pub prefix: Option<String>,
pub services: Vec<String>,
pub contributors: Vec<String>,
}Fields§
§dir_name: StringDirectory name on disk (e.g. users).
declared_name: Option<String>define_module("X") literal, when found.
prefix: Option<String>.prefix("/X") literal, when found.
services: Vec<String>Identifiers between .service::< and >().
contributors: Vec<String>Identifiers between .contribute( and ).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleInfo
impl RefUnwindSafe for ModuleInfo
impl Send for ModuleInfo
impl Sync for ModuleInfo
impl Unpin for ModuleInfo
impl UnsafeUnpin for ModuleInfo
impl UnwindSafe for ModuleInfo
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