pub struct StringSetting {
pub name: &'static str,
pub setting_type: &'static str,
pub default_value: &'static str,
pub hidden: bool,
}Fields§
§name: &'static strInternal mod-namespaced name.
setting_type: &'static strWhen the setting takes effect: "startup", "runtime-global", or "runtime-per-user".
default_value: &'static strThe default value for this setting.
If true, the value is not shown in-game (useful for internal state).
Auto Trait Implementations§
impl Freeze for StringSetting
impl RefUnwindSafe for StringSetting
impl Send for StringSetting
impl Sync for StringSetting
impl Unpin for StringSetting
impl UnsafeUnpin for StringSetting
impl UnwindSafe for StringSetting
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