Struct react_html::html_components::label::LabelComponent
source · [−]pub struct LabelComponent;
Trait Implementations
sourceimpl Clone for LabelComponent
impl Clone for LabelComponent
sourcefn clone(&self) -> LabelComponent
fn clone(&self) -> LabelComponent
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 LabelComponent
impl ComponentStatic for LabelComponent
type Props = LabelComponentProps
fn create_element(props: Self::Props, key: Option<Key>) -> Self::Element
sourceimpl Debug for LabelComponent
impl Debug for LabelComponent
sourceimpl Default for LabelComponent
impl Default for LabelComponent
sourcefn default() -> LabelComponent
fn default() -> LabelComponent
Returns the “default value” for a type. Read more
sourceimpl IntrinsicComponent for LabelComponent
impl IntrinsicComponent for LabelComponent
const INTRINSIC_TAG: &'static str
sourceimpl UseRenderStatic for LabelComponent
impl UseRenderStatic for LabelComponent
type RenderArg = LabelComponentProps
type RenderOutput = Element
type RenderOutput = Element
See [UseRender::Output
]
fn use_render(props: &Self::RenderArg) -> Self::RenderOutput
impl Copy for LabelComponent
Auto Trait Implementations
impl RefUnwindSafe for LabelComponent
impl Send for LabelComponent
impl Sync for LabelComponent
impl Unpin for LabelComponent
impl UnwindSafe for LabelComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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
pub fn create_element(
self,
props: <T as Component>::Props,
key: Option<Key>
) -> <T as Component>::Element
sourceimpl<T> IntoOptionalRc<T> for T
impl<T> IntoOptionalRc<T> for T
pub fn into_optional_rc(self) -> Option<Rc<T>>
sourceimpl<R> IntoPropValue<Option<R>> for R
impl<R> IntoPropValue<Option<R>> for R
pub fn into_prop_value(self) -> Option<R>
sourceimpl<R> IntoPropValue<R> for R
impl<R> IntoPropValue<R> for R
pub fn into_prop_value(self) -> R
sourceimpl<T> IntoRefValue<Box<T, Global>> for T
impl<T> IntoRefValue<Box<T, Global>> for T
pub fn into_ref_value(self) -> Box<T, Global>
sourceimpl<T> IntoRefValue<Rc<T>> for T
impl<T> IntoRefValue<Rc<T>> for T
pub fn into_ref_value(self) -> Rc<T>
sourceimpl<T> IntoRefValue<T> for T
impl<T> IntoRefValue<T> for T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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