Struct frender::intrinsic_components::data::DataComponent
source · [−]pub struct DataComponent;
Trait Implementations
sourceimpl Clone for DataComponent
impl Clone for DataComponent
sourcefn clone(&self) -> DataComponent
fn clone(&self) -> DataComponent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ComponentStatic for DataComponent
impl ComponentStatic for DataComponent
type Props = DataComponentProps
fn create_element(
props: <DataComponent as ComponentStatic>::Props,
key: Option<Key>
) -> <DataComponent as ComponentStatic>::Element
sourceimpl Debug for DataComponent
impl Debug for DataComponent
sourceimpl Default for DataComponent
impl Default for DataComponent
sourcefn default() -> DataComponent
fn default() -> DataComponent
Returns the “default value” for a type. Read more
sourceimpl IntrinsicComponent for DataComponent
impl IntrinsicComponent for DataComponent
const INTRINSIC_TAG: &'static str
sourceimpl UseRenderStatic for DataComponent
impl UseRenderStatic for DataComponent
type RenderArg = DataComponentProps
type RenderOutput = Element
type RenderOutput = Element
See [UseRender::Output
]
fn use_render(
props: &<DataComponent as UseRenderStatic>::RenderArg
) -> <DataComponent as UseRenderStatic>::RenderOutput
impl Copy for DataComponent
Auto Trait Implementations
impl RefUnwindSafe for DataComponent
impl Send for DataComponent
impl Sync for DataComponent
impl Unpin for DataComponent
impl UnwindSafe for DataComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Component for T where
T: ComponentStatic,
impl<T> Component for T where
T: ComponentStatic,
type Props = <T as ComponentStatic>::Props
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. Read more
fn create_element(
self,
props: <T as Component>::Props,
key: Option<Key>
) -> <T as Component>::Element
sourceimpl<T> IntoBoxed<T> for T
impl<T> IntoBoxed<T> for T
fn into_boxed(self) -> Box<T, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl<T> IntoOptionalRc<T> for T
impl<T> IntoOptionalRc<T> for T
fn into_optional_rc(self) -> Option<Rc<T>>
sourceimpl<R> IntoPropValue<Option<R>> for R
impl<R> IntoPropValue<Option<R>> for R
fn into_prop_value(self) -> Option<R>
sourceimpl<R> IntoPropValue<R> for R
impl<R> IntoPropValue<R> for R
fn into_prop_value(self) -> R
sourceimpl<T> IntoRefValue<Box<T, Global>> for T
impl<T> IntoRefValue<Box<T, Global>> for T
fn into_ref_value(self) -> Box<T, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl<T> IntoRefValue<Rc<T>> for T
impl<T> IntoRefValue<Rc<T>> for T
fn into_ref_value(self) -> Rc<T>
sourceimpl<T> IntoRefValue<T> for T
impl<T> IntoRefValue<T> for T
fn into_ref_value(self) -> T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> UseRender for T where
T: UseRenderStatic,
impl<T> UseRender for T where
T: UseRenderStatic,
type RenderArg = <T as UseRenderStatic>::RenderArg
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