[][src]Trait maomi::backend::BackendElement

pub trait BackendElement {
    type Backend: Backend;
    fn bind_node_weak(&mut self, node_weak: NodeWeak<Self::Backend>);
fn append_list(&self, children: Vec<BackendNodeRef<Self::Backend>>);
fn insert_list_before<'a>(
        &'a self,
        children: Vec<BackendNodeRef<Self::Backend>>,
        before: Option<BackendNodeRef<'a, Self::Backend>>
    );
fn remove_list(&self, children: Vec<BackendNodeRef<Self::Backend>>);
fn remove_self(&self);
fn set_attribute(&self, name: &'static str, value: &str); fn match_prerendered_first_child(
        &mut self,
        _node: BackendNodeRefMut<Self::Backend>
    ) { ... }
fn match_prerendered_next_sibling(
        &mut self,
        _node: BackendNodeRefMut<Self::Backend>
    ) { ... } }

Associated Types

Loading content...

Required methods

fn bind_node_weak(&mut self, node_weak: NodeWeak<Self::Backend>)

fn append_list(&self, children: Vec<BackendNodeRef<Self::Backend>>)

fn insert_list_before<'a>(
    &'a self,
    children: Vec<BackendNodeRef<Self::Backend>>,
    before: Option<BackendNodeRef<'a, Self::Backend>>
)

fn remove_list(&self, children: Vec<BackendNodeRef<Self::Backend>>)

fn remove_self(&self)

fn set_attribute(&self, name: &'static str, value: &str)

Loading content...

Provided methods

fn match_prerendered_first_child(
    &mut self,
    _node: BackendNodeRefMut<Self::Backend>
)

fn match_prerendered_next_sibling(
    &mut self,
    _node: BackendNodeRefMut<Self::Backend>
)

Loading content...

Implementors

impl BackendElement for DomElement[src]

type Backend = Dom

impl BackendElement for EmptyBackendElement[src]

type Backend = Empty

Loading content...