pub struct LabelSpan { /* private fields */ }Expand description
A label span with optional source ID.
The src_id is the registration order of sources (0 for first, 1 for second, etc.).
This enables flexible label creation:
.with_label_at((0..10, 0))- tuple of (range, src_id)
Trait Implementations§
impl Copy for LabelSpan
Auto Trait Implementations§
impl Freeze for LabelSpan
impl RefUnwindSafe for LabelSpan
impl Send for LabelSpan
impl Sync for LabelSpan
impl Unpin for LabelSpan
impl UnwindSafe for LabelSpan
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