pub struct Prompt {
pub content_lines: Vec<Content>,
pub cursor_pos: u32,
pub first_char: Option<char>,
pub prompt: String,
pub special: Option<Special>,
pub indent: u32,
}Fields§
§content_lines: Vec<Content>§cursor_pos: u32§first_char: Option<char>§prompt: String§special: Option<Special>§indent: u32Trait Implementations§
Source§impl From<CmdlineShow> for Prompt
impl From<CmdlineShow> for Prompt
Source§fn from(value: CmdlineShow) -> Self
fn from(value: CmdlineShow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Prompt
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnwindSafe for Prompt
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