Struct dioxus_interpreter_js::Channel
source · pub struct Channel { /* private fields */ }Implementations§
source§impl Channel
impl Channel
pub fn append(&mut self, batch: Self)
pub fn flush(&mut self)
pub fn mount_to_root(&mut self)
pub fn push_root(&mut self, root: u32)
pub fn append_children(&mut self, id: u32, many: u32)
pub fn pop_root(&mut self)
pub fn replace_with(&mut self, id: u32, n: u32)
pub fn insert_after(&mut self, id: u32, n: u32)
pub fn insert_before(&mut self, id: u32, n: u32)
pub fn remove(&mut self, id: u32)
pub fn create_raw_text(&mut self, text: &str)
pub fn create_text_node(&mut self, text: &str, id: u32)
pub fn create_placeholder(&mut self, id: u32)
pub fn new_event_listener(&mut self, event_name: &str, id: u32, bubbles: u8)
pub fn remove_event_listener(&mut self, event_name: &str, id: u32, bubbles: u8)
pub fn set_text(&mut self, id: u32, text: &str)
pub fn set_attribute(&mut self, id: u32, field: &str, value: &str, ns: &str)
pub fn remove_attribute(&mut self, id: u32, field: &str, ns: &str)
pub fn assign_id(&mut self, ptr: u32, len: u8, id: u32)
pub fn hydrate_text(&mut self, ptr: u32, len: u8, value: &str, id: u32)
pub fn replace_placeholder(&mut self, ptr: u32, len: u8, n: u32)
pub fn load_template(&mut self, tmpl_id: u32, index: u32, id: u32)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Channel
impl Send for Channel
impl !Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more