pub struct TuiCursor { /* private fields */ }Trait Implementations§
Source§impl Cursor for TuiCursor
impl Cursor for TuiCursor
type TextHandle = NodeRef
type EventHandle = ()
fn from_text_handle(handle: &NodeRef) -> Self
fn empty(&mut self)
fn text(&mut self, text: &str) -> Self::TextHandle
fn update_text(&mut self, new_text: &str)
fn on_event(&mut self, _event: On)
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 TuiCursor
impl !RefUnwindSafe for TuiCursor
impl !Send for TuiCursor
impl !Sync for TuiCursor
impl Unpin for TuiCursor
impl !UnwindSafe for TuiCursor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more