pub struct Hint {
pub text: BString,
pub color: Option<Color>,
pub bold: bool,
}Expand description
Represents an inline hint displayed alongside the input buffer.
Fields§
§text: BStringText of the hint.
color: Option<Color>Optional color of the hint text.
bold: boolWhether the hint text should be displayed in bold.
Implementations§
Trait Implementations§
impl Eq for Hint
impl StructuralPartialEq for Hint
Auto Trait Implementations§
impl Freeze for Hint
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnsafeUnpin for Hint
impl UnwindSafe for Hint
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