pub struct BoolSetting {
pub name: &'static str,
pub setting_type: &'static str,
pub default_value: bool,
}Fields§
§name: &'static strInternal mod-namespaced name (e.g. "my-mod-enabled").
setting_type: &'static strWhen the setting takes effect: "startup", "runtime-global", or "runtime-per-user".
default_value: boolThe default value for this setting.
Auto Trait Implementations§
impl Freeze for BoolSetting
impl RefUnwindSafe for BoolSetting
impl Send for BoolSetting
impl Sync for BoolSetting
impl Unpin for BoolSetting
impl UnsafeUnpin for BoolSetting
impl UnwindSafe for BoolSetting
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