pub struct Ghost(pub Text);Expand description
Builder part: Places ghost text
This is useful when, for example, creating command line prompts, since the text is non interactable.
Tuple Fields§
§0: TextTrait Implementations§
Auto 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