pub struct ComponentSetup {
pub component: &'static str,
pub scope_id: ScopeId,
}Expand description
Emitted after a component scope has been created and before the
component’s on_setup hook runs.
Fields§
§component: &'static str§scope_id: ScopeIdTrait Implementations§
Source§impl Clone for ComponentSetup
impl Clone for ComponentSetup
Source§fn clone(&self) -> ComponentSetup
fn clone(&self) -> ComponentSetup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComponentEvent for ComponentSetup
impl ComponentEvent for ComponentSetup
impl Copy for ComponentSetup
Auto Trait Implementations§
impl Freeze for ComponentSetup
impl RefUnwindSafe for ComponentSetup
impl Send for ComponentSetup
impl Sync for ComponentSetup
impl Unpin for ComponentSetup
impl UnsafeUnpin for ComponentSetup
impl UnwindSafe for ComponentSetup
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