pub struct ModuleConfig {
pub navigation_handler: PlayerNavigationHandler,
pub timer: Option<Seconds>,
}
Expand description
Module config passed to the JIG player when a module starts
Fields§
How player navigation should be handled
timer: Option<Seconds>
Optional timer to use for the module
Trait Implementations§
Source§impl Clone for ModuleConfig
impl Clone for ModuleConfig
Source§fn clone(&self) -> ModuleConfig
fn clone(&self) -> ModuleConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModuleConfig
impl Debug for ModuleConfig
Source§impl Default for ModuleConfig
impl Default for ModuleConfig
Source§fn default() -> ModuleConfig
fn default() -> ModuleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleConfig
impl<'de> Deserialize<'de> for ModuleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModuleConfig
impl PartialEq for ModuleConfig
Source§impl Serialize for ModuleConfig
impl Serialize for ModuleConfig
impl Eq for ModuleConfig
impl StructuralPartialEq for ModuleConfig
Auto Trait Implementations§
impl Freeze for ModuleConfig
impl RefUnwindSafe for ModuleConfig
impl Send for ModuleConfig
impl Sync for ModuleConfig
impl Unpin for ModuleConfig
impl UnwindSafe for ModuleConfig
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