pub struct Pin {
pub line: usize,
pub tag: String,
pub start: usize,
pub end: usize,
}Expand description
One matched pin line, with the byte range of the tag alone.
Fields§
§line: usizeThe one-based line the pin sits on.
tag: StringThe tag between the prefix and the closing quote.
start: usizeThe byte offset of the tag’s first byte in the scanned text.
end: usizeThe byte offset one past the tag’s last byte.
Trait Implementations§
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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