pub struct SettingSpecForm {
pub syntax: &'static str,
pub summary: &'static str,
}Expand description
One accepted syntax form for a setting.
Fields§
§syntax: &'static strUser-facing syntax, such as qp=<1..255>.
summary: &'static strShort explanation of the form.
Trait Implementations§
Source§impl Clone for SettingSpecForm
impl Clone for SettingSpecForm
impl Copy for SettingSpecForm
Auto Trait Implementations§
impl Forget for SettingSpecForm
impl Freeze for SettingSpecForm
impl RefUnwindSafe for SettingSpecForm
impl Send for SettingSpecForm
impl Sync for SettingSpecForm
impl Unpin for SettingSpecForm
impl UnsafeUnpin for SettingSpecForm
impl UnwindSafe for SettingSpecForm
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