pub struct PresetInfo {
pub name: &'static str,
pub input: PanelInputKind,
pub description: &'static str,
}Expand description
Metadata about a built-in preset layout.
Fields§
§name: &'static strKebab-case name matching the TOML strategy field.
input: PanelInputKindWhether the preset takes a dynamic list or fixed slots.
description: &'static strOne-line description of the preset.
Trait Implementations§
Source§impl Clone for PresetInfo
impl Clone for PresetInfo
Source§fn clone(&self) -> PresetInfo
fn clone(&self) -> PresetInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PresetInfo
impl Debug for PresetInfo
Source§impl PartialEq for PresetInfo
impl PartialEq for PresetInfo
impl Copy for PresetInfo
impl Eq for PresetInfo
impl StructuralPartialEq for PresetInfo
Auto Trait Implementations§
impl Freeze for PresetInfo
impl RefUnwindSafe for PresetInfo
impl Send for PresetInfo
impl Sync for PresetInfo
impl Unpin for PresetInfo
impl UnsafeUnpin for PresetInfo
impl UnwindSafe for PresetInfo
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