pub struct DemoComponent {
pub id: &'static str,
pub name: &'static str,
pub description: &'static str,
pub actions: Vec<DemoAction>,
}
Fields§
§id: &'static str
§name: &'static str
§description: &'static str
§actions: Vec<DemoAction>
Trait Implementations§
Source§impl Clone for DemoComponent
impl Clone for DemoComponent
Source§fn clone(&self) -> DemoComponent
fn clone(&self) -> DemoComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DemoComponent
impl RefUnwindSafe for DemoComponent
impl Send for DemoComponent
impl Sync for DemoComponent
impl Unpin for DemoComponent
impl UnwindSafe for DemoComponent
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