pub struct ConfigVariant {
pub name: &'static str,
pub aliases: &'static [&'static str],
pub rust_name: &'static str,
pub help: &'static str,
}Expand description
Variant of a ConfigTag.
Fields§
§name: &'static strCanonical param name in the config sources. Not necessarily the Rust name!
aliases: &'static [&'static str]Param aliases.
rust_name: &'static strName of the corresponding enum variant in Rust code.
help: &'static strHuman-readable param help parsed from the doc comment.
Trait Implementations§
Source§impl Clone for ConfigVariant
impl Clone for ConfigVariant
Source§fn clone(&self) -> ConfigVariant
fn clone(&self) -> ConfigVariant
Returns a copy 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 ConfigVariant
impl Debug for ConfigVariant
impl Copy for ConfigVariant
Auto Trait Implementations§
impl Freeze for ConfigVariant
impl RefUnwindSafe for ConfigVariant
impl Send for ConfigVariant
impl Sync for ConfigVariant
impl Unpin for ConfigVariant
impl UnwindSafe for ConfigVariant
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