Struct dioxus_core::changelist::EditMachine [−][src]
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]
&mut self,
name: &'a str,
value: &'a str,
is_namespaced: bool
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[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]
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>,