#[non_exhaustive]pub enum SettingScope {
Main,
Lobby,
GameModes,
Heroes,
Extensions,
Workshop,
Unknown,
}Expand description
The Workshop-native section that owns a setting.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SettingScope
impl Clone for SettingScope
impl Copy for SettingScope
Source§impl Debug for SettingScope
impl Debug for SettingScope
impl Eq for SettingScope
Source§impl Hash for SettingScope
impl Hash for SettingScope
Source§impl PartialEq for SettingScope
impl PartialEq for SettingScope
impl StructuralPartialEq for SettingScope
Auto Trait Implementations§
impl Freeze for SettingScope
impl RefUnwindSafe for SettingScope
impl Send for SettingScope
impl Sync for SettingScope
impl Unpin for SettingScope
impl UnsafeUnpin for SettingScope
impl UnwindSafe for SettingScope
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