Struct dioxus_core::changelist::EditMachine[][src]

pub struct EditMachine<'src> {
    pub traversal: Traversal,
    pub emitter: EditList<'src>,
    // some fields omitted
}

Fields

traversal: Traversalemitter: EditList<'src>

Implementations

impl<'b> EditMachine<'b>[src]

pub fn new(_bump: &'b Bump) -> Self[src]

pub fn go_down(&mut self)[src]

Traversal methods.

pub fn go_down_to_child(&mut self, index: usize)[src]

pub fn go_down_to_reverse_child(&mut self, index: usize)[src]

pub fn go_up(&mut self)[src]

pub fn go_to_sibling(&mut self, index: usize)[src]

pub fn go_to_temp_sibling(&mut self, temp: u32)[src]

pub fn go_down_to_temp_child(&mut self, temp: u32)[src]

pub fn commit_traversal(&mut self)[src]

pub fn traversal_is_committed(&self) -> bool[src]

impl<'a> EditMachine<'a>[src]

pub fn next_temporary(&self) -> u32[src]

pub fn set_next_temporary(&mut self, next_temporary: u32)[src]

pub fn save_children_to_temporaries(&mut self, start: usize, end: usize) -> u32[src]

pub fn push_temporary(&mut self, temp: u32)[src]

pub fn remove_child(&mut self, child: usize)[src]

pub fn insert_before(&mut self)[src]

pub fn ensure_string(&mut self, _string: &str) -> StringKey[src]

pub fn set_text(&mut self, text: &'a str)[src]

pub fn remove_self_and_next_siblings(&mut self)[src]

pub fn replace_with(&mut self)[src]

pub fn set_attribute(
    &mut self,
    name: &'a str,
    value: &'a str,
    is_namespaced: bool
)
[src]

pub fn remove_attribute(&mut self, name: &'a str)[src]

pub fn append_child(&mut self)[src]

pub fn create_text_node(&mut self, text: &'a str)[src]

pub fn create_element(&mut self, tag_name: &'a str)[src]

pub fn create_element_ns(&mut self, tag_name: &'a str, ns: &'a str)[src]

pub fn push_force_new_listeners(&mut self) -> bool[src]

pub fn pop_force_new_listeners(&mut self, previous: bool)[src]

pub fn new_event_listener(&mut self, event: &'a str, idx: CbIdx)[src]

pub fn update_event_listener(&mut self, event: &'a str, idx: CbIdx)[src]

pub fn remove_event_listener(&mut self, event: &'a str)[src]

Auto Trait Implementations

impl<'src> RefUnwindSafe for EditMachine<'src>

impl<'src> Send for EditMachine<'src>

impl<'src> Sync for EditMachine<'src>

impl<'src> Unpin for EditMachine<'src>

impl<'src> UnwindSafe for EditMachine<'src>

Blanket Implementations

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

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

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

impl<T> Erased for T[src]

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

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

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.