pub enum PrintSpan {
Literal {
text: String,
start: usize,
end: usize,
span_id: String,
},
Value {
text: String,
start: usize,
end: usize,
span_id: String,
variable_name: Option<String>,
raw_value: Box<ValueWord>,
type_name: String,
current_format: String,
format_params: HashMap<String, ValueWord>,
},
}Expand description
A span in print output (literal text or formatted value)
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrintSpan
impl RefUnwindSafe for PrintSpan
impl Send for PrintSpan
impl Sync for PrintSpan
impl Unpin for PrintSpan
impl UnsafeUnpin for PrintSpan
impl UnwindSafe for PrintSpan
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