[−]Struct sauron::prelude::mt_dom::patch::AppendChildren
Append a vector of child nodes to a parent node id.
Fields
tag: &'a TAG
the tag of the node we are appending the children into
node_idx: usize
index of the node we are going to append the children into
children: Vec<(usize, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>
children nodes to be appended and their corresponding new_node_idx
Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
pub fn new(
tag: &'a TAG,
node_idx: usize,
children: Vec<(usize, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>
) -> AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
tag: &'a TAG,
node_idx: usize,
children: Vec<(usize, &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>)>
) -> AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
create a new AppendChildren patch
Trait Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Debug for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG> where
ATT: Debug,
NS: Debug,
TAG: Debug,
VAL: Debug,
ATT: Debug,
NS: Debug,
TAG: Debug,
VAL: Debug,
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> From<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>
pub fn from(
ac: AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>
ac: AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> PartialEq<AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>> for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG> where
ATT: PartialEq<ATT>,
EVENT: PartialEq<EVENT>,
MSG: PartialEq<MSG>,
NS: PartialEq<NS>,
TAG: PartialEq<TAG>,
VAL: PartialEq<VAL>,
ATT: PartialEq<ATT>,
EVENT: PartialEq<EVENT>,
MSG: PartialEq<MSG>,
NS: PartialEq<NS>,
TAG: PartialEq<TAG>,
VAL: PartialEq<VAL>,
pub fn eq(
&self,
other: &AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
&self,
other: &AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
pub fn ne(
&self,
other: &AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
&self,
other: &AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
) -> bool
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> StructuralPartialEq for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
Auto Trait Implementations
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !RefUnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Send for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !Sync for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> Unpin for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
impl<'a, NS, TAG, ATT, VAL, EVENT, MSG> !UnwindSafe for AppendChildren<'a, NS, TAG, ATT, VAL, EVENT, MSG>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,