pub struct ComponentSpec {
pub name: &'static str,
pub props: &'static [PropSpec],
pub children: Children,
pub template: bool,
pub action: ActionRule,
pub placement: Placement,
pub interactive: bool,
pub summary: &'static str,
}Fields§
§name: &'static str§props: &'static [PropSpec]§children: Children§template: bool§action: ActionRule§placement: Placement§interactive: boolWhether the component is an operable control that needs an id.
summary: &'static strImplementations§
Trait Implementations§
Source§impl Clone for ComponentSpec
impl Clone for ComponentSpec
impl Copy for ComponentSpec
Source§impl Debug for ComponentSpec
impl Debug for ComponentSpec
impl Eq for ComponentSpec
Source§impl PartialEq for ComponentSpec
impl PartialEq for ComponentSpec
impl StructuralPartialEq for ComponentSpec
Auto Trait Implementations§
impl Freeze for ComponentSpec
impl RefUnwindSafe for ComponentSpec
impl Send for ComponentSpec
impl Sync for ComponentSpec
impl Unpin for ComponentSpec
impl UnsafeUnpin for ComponentSpec
impl UnwindSafe for ComponentSpec
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