Struct termcolor::HyperlinkSpec
source · 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 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 more