pub struct Preset {
pub name: &'static str,
pub category: Category,
pub blurb: &'static str,
pub tree: PatchTree,
}Expand description
One built-in patch, with the copy that makes it findable.
Fields§
§name: &'static strDisplay name.
category: CategoryWhich family it belongs to; one of CATEGORIES.
blurb: &'static strOne line on what it sounds like. Shown in the browser row and its tooltip — the handbook delivered where the user is already looking.
tree: PatchTreeThe patch.
Auto Trait Implementations§
impl Freeze for Preset
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnsafeUnpin 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