pub struct SettingSpecExample {
pub spec: &'static str,
pub summary: &'static str,
}Expand description
One example setting string for help and generated documentation.
Fields§
§spec: &'static strComplete setting spec string.
summary: &'static strShort explanation of the example.
Trait Implementations§
Source§impl Clone for SettingSpecExample
impl Clone for SettingSpecExample
impl Copy for SettingSpecExample
Auto Trait Implementations§
impl Forget for SettingSpecExample
impl Freeze for SettingSpecExample
impl RefUnwindSafe for SettingSpecExample
impl Send for SettingSpecExample
impl Sync for SettingSpecExample
impl Unpin for SettingSpecExample
impl UnsafeUnpin for SettingSpecExample
impl UnwindSafe for SettingSpecExample
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