pub(crate) struct Preset {
pub name: &'static str,
pub description: &'static str,
values: Vec<BoolSettingIndex>,
}
Fields§
§name: &'static str
§description: &'static str
§values: Vec<BoolSettingIndex>
Implementations§
Source§impl Preset
impl Preset
pub fn layout(&self, group: &SettingGroup) -> Vec<(u8, u8)>
pub fn setting_names<'a>( &'a self, group: &'a SettingGroup, ) -> impl Iterator<Item = &'static str> + 'a
Trait Implementations§
impl Eq for Preset
impl StructuralPartialEq for Preset
Auto Trait Implementations§
impl Freeze for Preset
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnwindSafe for Preset
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