pub struct LinkGeometry {
pub rendered_byte_range: Range<usize>,
pub url: String,
}Expand description
One hyperlink in a markup layout, reported against the rendered text.
Fields§
§rendered_byte_range: Range<usize>Byte range of the link’s label in
LayoutGeometry::rendered_text — not in the markup source.
url: StringThe link target.
Trait Implementations§
Source§impl Clone for LinkGeometry
impl Clone for LinkGeometry
Source§impl Debug for LinkGeometry
impl Debug for LinkGeometry
Source§impl PartialEq for LinkGeometry
impl PartialEq for LinkGeometry
impl StructuralPartialEq for LinkGeometry
Auto Trait Implementations§
impl Freeze for LinkGeometry
impl RefUnwindSafe for LinkGeometry
impl Send for LinkGeometry
impl Sync for LinkGeometry
impl Unpin for LinkGeometry
impl UnsafeUnpin for LinkGeometry
impl UnwindSafe for LinkGeometry
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