pub struct HyperlinkSpec<'a> { /* private fields */ }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 duplicate 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes