pub struct ComponentGroup {
pub name: &'static str,
pub components: Vec<&'static str>,
pub notes: Vec<&'static str>,
}Expand description
A logical group of components for prompt organization.
Ref: packages/react-lang/src/library.ts ComponentGroup interface
Fields§
§name: &'static strGroup display name (e.g., “Content”, “Layout”)
components: Vec<&'static str>Component names belonging to this group
notes: Vec<&'static str>Optional notes appended after the group’s component signatures
Auto Trait Implementations§
impl Freeze for ComponentGroup
impl RefUnwindSafe for ComponentGroup
impl Send for ComponentGroup
impl Sync for ComponentGroup
impl Unpin for ComponentGroup
impl UnsafeUnpin for ComponentGroup
impl UnwindSafe for ComponentGroup
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