pub struct DepCfg {
pub name: String,
pub source: ModuleSource,
pub config: Table,
pub tags: Vec<String>,
}Expand description
One [dependencies] entry.
Fields§
§name: StringModule name - the table key.
source: ModuleSourceWhere the module’s library comes from.
config: TableThe module’s own configuration, handed to it verbatim at install.
Markup tags this module answers for, so the parser accepts them before anything is loaded.
A compile that cannot install the module before it parses has only this to go on, so a tag such a module introduces has to be declared for the parse to accept it. Declaring a tag no module answers for costs an element that renders as an empty box.
Trait Implementations§
impl StructuralPartialEq for DepCfg
Auto Trait Implementations§
impl Freeze for DepCfg
impl RefUnwindSafe for DepCfg
impl Send for DepCfg
impl Sync for DepCfg
impl Unpin for DepCfg
impl UnsafeUnpin for DepCfg
impl UnwindSafe for DepCfg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.