pub struct AppProps {
pub state: Arc<AppState>,
}Expand description
Props passed to the root App component.
Fields§
§state: Arc<AppState>Shared application state
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppProps
impl !RefUnwindSafe for AppProps
impl Send for AppProps
impl Sync for AppProps
impl Unpin for AppProps
impl UnsafeUnpin for AppProps
impl !UnwindSafe for AppProps
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