Struct SuspenseProps
pub struct SuspenseProps { /* private fields */ }Expand description
Props for Suspense and Transition.
Trait Implementations§
§impl Props for SuspenseProps
impl Props for SuspenseProps
§fn builder() -> <SuspenseProps as Props>::Builder
fn builder() -> <SuspenseProps as Props>::Builder
Create a builder for building SuspenseProps.
On the builder, call .fallback(...)(optional), .children(...)(optional), .set_is_loading(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of SuspenseProps.
Auto Trait Implementations§
impl Freeze for SuspenseProps
impl !RefUnwindSafe for SuspenseProps
impl !Send for SuspenseProps
impl !Sync for SuspenseProps
impl Unpin for SuspenseProps
impl !UnwindSafe for SuspenseProps
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