pub struct Preset {
pub name: &'static str,
pub description: &'static str,
pub content: &'static str,
}Expand description
One embedded preset.
Fields§
§name: &'static strThe name used in import: preset:<name>.
description: &'static strOne-line summary shown by declint presets.
content: &'static strThe full YAML content.
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