pub struct AttributeGroup {
pub label: Option<String>,
pub description: Option<String>,
}Expand description
A named group of attributes (UI section). Keyed by group name in
Level::attribute_groups; attributes reference it via
AttributeSpec::group. Metadata only — storage stays flat.
Fields§
§label: Option<String>§description: Option<String>Trait Implementations§
Source§impl Clone for AttributeGroup
impl Clone for AttributeGroup
Source§fn clone(&self) -> AttributeGroup
fn clone(&self) -> AttributeGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttributeGroup
impl Debug for AttributeGroup
Source§impl<'de> Deserialize<'de> for AttributeGroup
impl<'de> Deserialize<'de> for AttributeGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AttributeGroup
impl RefUnwindSafe for AttributeGroup
impl Send for AttributeGroup
impl Sync for AttributeGroup
impl Unpin for AttributeGroup
impl UnsafeUnpin for AttributeGroup
impl UnwindSafe for AttributeGroup
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