Struct ggez::conf::ModuleConf [−][src]
Expand description
Defines which submodules to enable in ggez. If one tries to use a submodule that is not enabled, it will panic. Currently, not all subsystems can be disabled.
Defaults:
ModuleConf { gamepad: true, audio: true, }
Fields
gamepad: bool
The gamepad input module.
audio: bool
The audio module.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModuleConf
impl Send for ModuleConf
impl Sync for ModuleConf
impl Unpin for ModuleConf
impl UnwindSafe for ModuleConf
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V