[−][src]Struct yew::virtual_dom::vlist::VList
This struct represents a fragment of the Virtual DOM tree.
Fields
childs: Vec<VNode<COMP>>
The list of children nodes. Which also could have own children.
Methods
impl<COMP: Component> VList<COMP>
[src]
pub fn new() -> Self
[src]
Creates a new VTag
instance with tag
name (cannot be changed later in DOM).
pub fn add_child(&mut self, child: VNode<COMP>)
[src]
Add VNode
child.
Trait Implementations
impl<COMP: Component> VDiff for VList<COMP>
[src]
type Component = COMP
The component which this instance put into.
fn detach(&mut self, parent: &Element) -> Option<Node>
[src]
fn apply(
&mut self,
parent: &Element,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
[src]
&mut self,
parent: &Element,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
impl<COMP: Component> Default for VList<COMP>
[src]
impl<COMP: Component> From<VList<COMP>> for VNode<COMP>
[src]
Auto Trait Implementations
impl<COMP> !Send for VList<COMP>
impl<COMP> Unpin for VList<COMP> where
COMP: Unpin,
COMP: Unpin,
impl<COMP> !Sync for VList<COMP>
impl<COMP> !UnwindSafe for VList<COMP>
impl<COMP> !RefUnwindSafe for VList<COMP>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,