[][src]Struct yew::virtual_dom::VChild

pub struct VChild<COMP: Component> {
    pub props: COMP::Properties,
    // some fields omitted
}

A virtual child component.

Fields

props: COMP::Properties

The component properties

Methods

impl<COMP> VChild<COMP> where
    COMP: Component
[src]

pub fn new(
    props: COMP::Properties,
    node_ref: NodeRef,
    key: Option<String>
) -> Self
[src]

Creates a child component that can be accessed and modified by its parent.

Trait Implementations

impl<COMP: Component> Clone for VChild<COMP>[src]

impl<COMP: Component> Debug for VChild<COMP>[src]

impl<COMP> From<VChild<COMP>> for VComp where
    COMP: Component
[src]

impl<COMP> From<VChild<COMP>> for VNode where
    COMP: Component
[src]

Auto Trait Implementations

impl<COMP> !RefUnwindSafe for VChild<COMP>

impl<COMP> !Send for VChild<COMP>

impl<COMP> !Sync for VChild<COMP>

impl<COMP> Unpin for VChild<COMP> where
    <COMP as Component>::Properties: Unpin

impl<COMP> !UnwindSafe for VChild<COMP>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.