pub struct ModuleInfo<T: ModuleDef> {
pub name: &'static str,
pub module: T,
}Fields§
§name: &'static str§module: TTrait Implementations§
Source§impl From<AsyncHooksModule> for ModuleInfo<AsyncHooksModule>
impl From<AsyncHooksModule> for ModuleInfo<AsyncHooksModule>
Source§fn from(val: AsyncHooksModule) -> Self
fn from(val: AsyncHooksModule) -> Self
Converts to this type from the input type.
Source§impl From<BufferModule> for ModuleInfo<BufferModule>
impl From<BufferModule> for ModuleInfo<BufferModule>
Source§fn from(val: BufferModule) -> Self
fn from(val: BufferModule) -> Self
Converts to this type from the input type.
Source§impl From<CryptoModule> for ModuleInfo<CryptoModule>
impl From<CryptoModule> for ModuleInfo<CryptoModule>
Source§fn from(val: CryptoModule) -> Self
fn from(val: CryptoModule) -> Self
Converts to this type from the input type.
Source§impl From<EventsModule> for ModuleInfo<EventsModule>
impl From<EventsModule> for ModuleInfo<EventsModule>
Source§fn from(val: EventsModule) -> Self
fn from(val: EventsModule) -> Self
Converts to this type from the input type.
Source§impl From<PathModule> for ModuleInfo<PathModule>
impl From<PathModule> for ModuleInfo<PathModule>
Source§fn from(val: PathModule) -> Self
fn from(val: PathModule) -> Self
Converts to this type from the input type.
Source§impl From<StreamWebModule> for ModuleInfo<StreamWebModule>
impl From<StreamWebModule> for ModuleInfo<StreamWebModule>
Source§fn from(val: StreamWebModule) -> Self
fn from(val: StreamWebModule) -> Self
Converts to this type from the input type.
Source§impl From<TimersModule> for ModuleInfo<TimersModule>
impl From<TimersModule> for ModuleInfo<TimersModule>
Source§fn from(val: TimersModule) -> Self
fn from(val: TimersModule) -> Self
Converts to this type from the input type.
Source§impl From<ZlibModule> for ModuleInfo<ZlibModule>
impl From<ZlibModule> for ModuleInfo<ZlibModule>
Source§fn from(val: ZlibModule) -> Self
fn from(val: ZlibModule) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ModuleInfo<T>where
T: Freeze,
impl<T> RefUnwindSafe for ModuleInfo<T>where
T: RefUnwindSafe,
impl<T> Send for ModuleInfo<T>where
T: Send,
impl<T> Sync for ModuleInfo<T>where
T: Sync,
impl<T> Unpin for ModuleInfo<T>where
T: Unpin,
impl<T> UnsafeUnpin for ModuleInfo<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ModuleInfo<T>where
T: 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