pub struct BareUrl {
pub line: usize,
pub start_col: usize,
pub end_col: usize,
pub byte_offset: usize,
pub byte_end: usize,
pub url: String,
}Expand description
Pre-parsed bare URL information (not in links)
Fields§
§line: usizeLine number (1-indexed)
start_col: usizeStart column (0-indexed) in the line
end_col: usizeEnd column (0-indexed) in the line
byte_offset: usizeByte offset in document
byte_end: usizeEnd byte offset in document
url: StringThe URL string
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BareUrl
impl RefUnwindSafe for BareUrl
impl Send for BareUrl
impl Sync for BareUrl
impl Unpin for BareUrl
impl UnsafeUnpin for BareUrl
impl UnwindSafe for BareUrl
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