pub struct WebLink {
pub url: String,
pub range: Range<CharIndex>,
}Expand description
One address found in a page’s text.
Fields§
§url: StringThe URL, ready to open: a www. address has gained an http:// and a
mail address a mailto:.
range: Range<CharIndex>The characters it covers, in the character list.
Trait Implementations§
impl Eq for WebLink
impl StructuralPartialEq for WebLink
Auto Trait Implementations§
impl Freeze for WebLink
impl RefUnwindSafe for WebLink
impl Send for WebLink
impl Sync for WebLink
impl Unpin for WebLink
impl UnsafeUnpin for WebLink
impl UnwindSafe for WebLink
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