pub struct ValueSpanOverlay {
pub span: PicRange,
pub text: String,
}Expand description
ElementOverlay::value: the value argument’s range and its text.
Fields§
§span: PicRangeThe range of text in the user’s source. It spans lines when
the argument is split by \ continuations.
text: StringThe source text in span, verbatim (4.7k, AC 1, SIN(0 1 1k); \ continuations kept). A quoted argument ("DX") gives
the range and text inside the quotes — the card’s value.
Trait Implementations§
Source§impl Clone for ValueSpanOverlay
impl Clone for ValueSpanOverlay
Source§impl Debug for ValueSpanOverlay
impl Debug for ValueSpanOverlay
impl Eq for ValueSpanOverlay
Source§impl PartialEq for ValueSpanOverlay
impl PartialEq for ValueSpanOverlay
impl StructuralPartialEq for ValueSpanOverlay
Auto Trait Implementations§
impl Forget for ValueSpanOverlay
impl Freeze for ValueSpanOverlay
impl Move for ValueSpanOverlay
impl RefUnwindSafe for ValueSpanOverlay
impl Send for ValueSpanOverlay
impl Sync for ValueSpanOverlay
impl Unpin for ValueSpanOverlay
impl UnsafeUnpin for ValueSpanOverlay
impl UnwindSafe for ValueSpanOverlay
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