pub struct ConfigTag {
pub param: &'static ParamMetadata,
pub variants: &'static [ConfigVariant],
pub default_variant: Option<&'static ConfigVariant>,
}Expand description
Information about a config tag.
Fields§
§param: &'static ParamMetadataParameter of the enclosing config corresponding to the tag.
variants: &'static [ConfigVariant]Variants for the tag.
default_variant: Option<&'static ConfigVariant>Default variant, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigTag
impl !RefUnwindSafe for ConfigTag
impl Send for ConfigTag
impl Sync for ConfigTag
impl Unpin for ConfigTag
impl !UnwindSafe for ConfigTag
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