pub struct PortalProps { /* private fields */ }Expand description
Properties for the Portal component.
Trait Implementations§
Source§impl Clone for PortalProps
impl Clone for PortalProps
Source§impl<RenderFn, Marker> ComponentBuilderRender<RenderFn, Marker> for PortalPropswhere
RenderFn: ComponentFunction<PortalProps, Marker>,
Marker: 'static,
impl<RenderFn, Marker> ComponentBuilderRender<RenderFn, Marker> for PortalPropswhere
RenderFn: ComponentFunction<PortalProps, Marker>,
Marker: 'static,
Source§fn into_vcomponent(self, render_fn: RenderFn) -> VComponent
fn into_vcomponent(self, render_fn: RenderFn) -> VComponent
Create a
VComponent from these props and the render function.Source§impl PartialEq for PortalProps
impl PartialEq for PortalProps
Source§impl Properties for PortalProps
impl Properties for PortalProps
Source§type ComponentBuilder<RenderFn, Marker> = PortalComponentBuilder<RenderFn, Marker, ((), ())>
type ComponentBuilder<RenderFn, Marker> = PortalComponentBuilder<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 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.
impl StructuralPartialEq for PortalProps
Auto Trait Implementations§
impl !RefUnwindSafe for PortalProps
impl !Send for PortalProps
impl !Sync for PortalProps
impl !UnwindSafe for PortalProps
impl Freeze for PortalProps
impl Unpin for PortalProps
impl UnsafeUnpin for PortalProps
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.