#[repr(u32)]pub enum CellSemanticContent {
Output = 0,
Input = 1,
Prompt = 2,
}Expand description
Semantic content type of a cell.
Set by semantic prompt sequences (OSC 133) to distinguish between command output, user input, and shell prompt text.
Variants§
Output = 0
Regular output content, such as command output.
Input = 1
Content that is part of user input.
Prompt = 2
Content that is part of a shell prompt.
Trait Implementations§
Source§impl Clone for CellSemanticContent
impl Clone for CellSemanticContent
Source§fn clone(&self) -> CellSemanticContent
fn clone(&self) -> CellSemanticContent
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 CellSemanticContent
impl Debug for CellSemanticContent
Source§impl From<CellSemanticContent> for u32
impl From<CellSemanticContent> for u32
Source§fn from(v: CellSemanticContent) -> Self
fn from(v: CellSemanticContent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CellSemanticContent
impl PartialEq for CellSemanticContent
Source§impl TryFrom<u32> for CellSemanticContent
impl TryFrom<u32> for CellSemanticContent
impl Copy for CellSemanticContent
impl Eq for CellSemanticContent
impl StructuralPartialEq for CellSemanticContent
Auto Trait Implementations§
impl Freeze for CellSemanticContent
impl RefUnwindSafe for CellSemanticContent
impl Send for CellSemanticContent
impl Sync for CellSemanticContent
impl Unpin for CellSemanticContent
impl UnsafeUnpin for CellSemanticContent
impl UnwindSafe for CellSemanticContent
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