pub struct ComponentCategory {
pub name: &'static str,
pub components: Vec<&'static str>,
pub notes: Vec<&'static str>,
}Expand description
One category of components in a catalog (e.g. “Layout”, “Forms”).
Fields§
§name: &'static str§components: Vec<&'static str>§notes: Vec<&'static str>Notes rendered after the category’s component signatures.
Auto Trait Implementations§
impl Freeze for ComponentCategory
impl RefUnwindSafe for ComponentCategory
impl Send for ComponentCategory
impl Sync for ComponentCategory
impl Unpin for ComponentCategory
impl UnsafeUnpin for ComponentCategory
impl UnwindSafe for ComponentCategory
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