pub enum WebCursor {
Detached,
Node(Node, Mode),
AfterLastChild(Element, Mode),
AttrsOf(Element, Mode),
}Variants§
Trait Implementations§
Source§impl Cursor for WebCursor
impl Cursor for WebCursor
type TextHandle = Node
type EventHandle = EventListener
fn from_text_handle(handle: &Node) -> Self
fn empty(&mut self)
fn text(&mut self, text: &str) -> Node
fn update_text(&mut self, text: &str)
fn on_event(&mut self, on_event: On) -> EventListener
fn enter_children(&mut self)
fn exit_children(&mut self)
fn next_sibling(&mut self)
fn remove(&mut self)
fn enter_diff(&mut self)
fn exit_diff(&mut self)
fn replace(&mut self, func: impl FnOnce(&mut Self))
Auto Trait Implementations§
impl Freeze for WebCursor
impl RefUnwindSafe for WebCursor
impl !Send for WebCursor
impl !Sync for WebCursor
impl Unpin for WebCursor
impl UnwindSafe for WebCursor
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