pub struct HyperlinkSpec<'a> { /* private fields */ }
Available on crate feature
emit
only.Expand description
A hyperlink specification.
Implementations§
Source§impl<'a> HyperlinkSpec<'a>
impl<'a> HyperlinkSpec<'a>
Sourcepub fn open(uri: &'a [u8]) -> HyperlinkSpec<'a>
pub fn open(uri: &'a [u8]) -> HyperlinkSpec<'a>
Creates a new hyperlink specification.
Sourcepub fn close() -> HyperlinkSpec<'a>
pub fn close() -> HyperlinkSpec<'a>
Creates a hyperlink specification representing no hyperlink.
Trait Implementations§
Source§impl<'a> Clone for HyperlinkSpec<'a>
impl<'a> Clone for HyperlinkSpec<'a>
Source§fn clone(&self) -> HyperlinkSpec<'a>
fn clone(&self) -> HyperlinkSpec<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for HyperlinkSpec<'a>
impl<'a> RefUnwindSafe for HyperlinkSpec<'a>
impl<'a> Send for HyperlinkSpec<'a>
impl<'a> Sync for HyperlinkSpec<'a>
impl<'a> Unpin for HyperlinkSpec<'a>
impl<'a> UnwindSafe for HyperlinkSpec<'a>
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