Struct majordome::AppModBuilder
source · pub struct AppModBuilder {
pub app: MajordomeAppInner,
/* private fields */
}
Fields§
§app: MajordomeAppInner
Implementations§
source§impl AppModBuilder
impl AppModBuilder
pub async fn add<P: AppModPointer + 'static>(self) -> Self
pub async fn load<P: AppModPointer + 'static>(&mut self) -> P::Target
pub async fn build(self) -> MajordomeApp
pub fn exists<T: AppModPointer + 'static>(&self) -> bool
Auto Trait Implementations§
impl !Freeze for AppModBuilder
impl !RefUnwindSafe for AppModBuilder
impl Send for AppModBuilder
impl Sync for AppModBuilder
impl Unpin for AppModBuilder
impl !UnwindSafe for AppModBuilder
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