Struct HyperlinkSpec
pub struct HyperlinkSpec<'a> { /* private fields */ }
A hyperlink specification.
Implementations
impl<'a> HyperlinkSpec<'a>
fn open(uri: &'a [u8]) -> HyperlinkSpec<'a>Creates a new hyperlink specification.
fn close() -> HyperlinkSpec<'a>Creates a hyperlink specification representing no hyperlink.
fn uri(&self) -> Option<&'a [u8]>Returns the URI of the hyperlink if one is attached to this spec.
Trait Implementations
impl<'a> Clone for HyperlinkSpec<'a>
fn clone(&self) -> Self
impl<'a> Debug for HyperlinkSpec<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result