#[repr(u32)]pub enum RowSemanticPrompt {
None = 0,
Prompt = 1,
Continuation = 2,
}Expand description
Row semantic prompt state.
Indicates whether any cells in a row are part of a shell prompt, as reported by OSC 133 sequences.
Variants§
None = 0
No prompt cells in this row.
Prompt = 1
Prompt cells exist and this is a primary prompt line.
Continuation = 2
Prompt cells exist and this is a continuation line.
Trait Implementations§
Source§impl Clone for RowSemanticPrompt
impl Clone for RowSemanticPrompt
Source§fn clone(&self) -> RowSemanticPrompt
fn clone(&self) -> RowSemanticPrompt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RowSemanticPrompt
impl Debug for RowSemanticPrompt
Source§impl From<RowSemanticPrompt> for u32
impl From<RowSemanticPrompt> for u32
Source§fn from(v: RowSemanticPrompt) -> Self
fn from(v: RowSemanticPrompt) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RowSemanticPrompt
impl PartialEq for RowSemanticPrompt
Source§impl TryFrom<u32> for RowSemanticPrompt
impl TryFrom<u32> for RowSemanticPrompt
impl Copy for RowSemanticPrompt
impl Eq for RowSemanticPrompt
impl StructuralPartialEq for RowSemanticPrompt
Auto Trait Implementations§
impl Freeze for RowSemanticPrompt
impl RefUnwindSafe for RowSemanticPrompt
impl Send for RowSemanticPrompt
impl Sync for RowSemanticPrompt
impl Unpin for RowSemanticPrompt
impl UnsafeUnpin for RowSemanticPrompt
impl UnwindSafe for RowSemanticPrompt
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