pub struct SuspenseBoundaryProps { /* private fields */ }Expand description
Properties for the SuspenseBoundary component.
Trait Implementations§
Source§impl Clone for SuspenseBoundaryProps
impl Clone for SuspenseBoundaryProps
Source§impl PartialEq for SuspenseBoundaryProps
impl PartialEq for SuspenseBoundaryProps
Source§impl Properties for SuspenseBoundaryPropswhere
Self: Clone,
impl Properties for SuspenseBoundaryPropswhere
Self: Clone,
Source§type ComponentBuilder<RenderFn, Marker> = SuspenseBoundaryComponentBuilder<RenderFn, Marker, ((), ())>
type ComponentBuilder<RenderFn, Marker> = SuspenseBoundaryComponentBuilder<RenderFn, Marker, ((), ())>
The type of the builder for this component when starting from a component function.
Source§fn component_builder<RenderFn, Marker>(
render_fn: RenderFn,
) -> Self::ComponentBuilder<RenderFn, Marker>
fn component_builder<RenderFn, Marker>( render_fn: RenderFn, ) -> Self::ComponentBuilder<RenderFn, Marker>
Create a builder that remembers the component function it came from.
Source§fn memoize(&mut self, new: &Self) -> bool
fn memoize(&mut self, new: &Self) -> bool
Make the old props equal to the new props. Return if the props were equal and should be memoized.
Source§fn into_vcomponent<M: 'static>(
self,
render_fn: impl ComponentFunction<Self, M>,
) -> VComponent
fn into_vcomponent<M: 'static>( self, render_fn: impl ComponentFunction<Self, M>, ) -> VComponent
Create a component from the props.
Auto Trait Implementations§
impl !RefUnwindSafe for SuspenseBoundaryProps
impl !Send for SuspenseBoundaryProps
impl !Sync for SuspenseBoundaryProps
impl !UnwindSafe for SuspenseBoundaryProps
impl Freeze for SuspenseBoundaryProps
impl Unpin for SuspenseBoundaryProps
impl UnsafeUnpin for SuspenseBoundaryProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.