pub struct StrictMode;
Trait Implementations§
Source§impl ComponentStatic for StrictMode
impl ComponentStatic for StrictMode
Source§impl UseRenderStatic for StrictMode
impl UseRenderStatic for StrictMode
type RenderArg = OptionalChildrenProps
Source§type RenderOutput = StrictModeElement
type RenderOutput = StrictModeElement
See [
UseRender::Output
]fn use_render(props: &Self::RenderArg) -> Self::RenderOutput
Auto Trait Implementations§
impl Freeze for StrictMode
impl RefUnwindSafe for StrictMode
impl Send for StrictMode
impl Sync for StrictMode
impl Unpin for StrictMode
impl UnwindSafe for StrictMode
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> Component for Twhere
T: ComponentStatic,
impl<T> Component for Twhere
T: ComponentStatic,
type Props = <T as ComponentStatic>::Props
Source§type Element = <T as ComponentStatic>::Element
type Element = <T as ComponentStatic>::Element
Output of
create_element
.
Many components may return Option<Element>
in UseRender::use_render
while return Element
in create_element.
Thus this type parameter exists.fn create_element( self, props: <T as Component>::Props, key: Option<Key>, ) -> <T as Component>::Element
Source§impl<T> IntoOptionalRc<T> for T
impl<T> IntoOptionalRc<T> for T
fn into_optional_rc(self) -> Option<Rc<T>>
Source§impl<R> IntoPropValue<Option<R>> for R
impl<R> IntoPropValue<Option<R>> for R
fn into_prop_value(self) -> Option<R>
Source§impl<R> IntoPropValue<R> for R
impl<R> IntoPropValue<R> for R
fn into_prop_value(self) -> R
Source§impl<T> IntoRefValue<Box<T>> for T
impl<T> IntoRefValue<Box<T>> for T
fn into_ref_value(self) -> Box<T>
Source§impl<T> IntoRefValue<Rc<T>> for T
impl<T> IntoRefValue<Rc<T>> for T
fn into_ref_value(self) -> Rc<T>
Source§impl<T> IntoRefValue<T> for T
impl<T> IntoRefValue<T> for T
fn into_ref_value(self) -> T
Source§impl<T> UseRender for Twhere
T: UseRenderStatic,
impl<T> UseRender for Twhere
T: UseRenderStatic,
type RenderArg = <T as UseRenderStatic>::RenderArg
Source§type RenderOutput = <T as UseRenderStatic>::RenderOutput
type RenderOutput = <T as UseRenderStatic>::RenderOutput
This allows implementor type to specify
a custom type as the return type of the methods. Read more