pub struct LinkRun {
pub start: u32,
pub end: u32,
pub url: String,
}Expand description
A range of the text that is a hyperlink.
Fields§
§start: u32Inclusive UTF-8 byte start.
end: u32Exclusive UTF-8 byte end.
url: StringThe destination URL.
Implementations§
Trait Implementations§
impl Eq for LinkRun
impl StructuralPartialEq for LinkRun
Auto Trait Implementations§
impl Forget for LinkRun
impl Freeze for LinkRun
impl RefUnwindSafe for LinkRun
impl Send for LinkRun
impl Sync for LinkRun
impl Unpin for LinkRun
impl UnsafeUnpin for LinkRun
impl UnwindSafe for LinkRun
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