pub struct ComponentSpec {
pub name: &'static str,
pub summary: &'static str,
pub children: Children,
pub props: &'static [PropSpec],
pub feature: Option<&'static str>,
}Fields§
§name: &'static str§summary: &'static str§children: Children§props: &'static [PropSpec]§feature: Option<&'static str>The engine feature an app enables to use it, if it is not always there.
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 Forget for ComponentSpec
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