pub struct Ghost(pub Text);Expand description
Places ghost text
This is useful for, for example, creating command line prompts, since the text is non interactable.
Tuple Fields§
§0: TextAuto Trait Implementations§
impl Freeze for Ghost
impl !RefUnwindSafe for Ghost
impl Send for Ghost
impl Sync for Ghost
impl Unpin for Ghost
impl !UnwindSafe for Ghost
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