pub struct Link {
pub kind: Option<String>,
pub href: String,
pub elements: Vec<StyleLinkElement>,
}Expand description
Generic hyperlinks. Cannot be nested. Footnotes should be implemented by links referring to additional bodies in the same document
Fields§
§kind: Option<String>“type” is reserved in Rust
href: String§elements: Vec<StyleLinkElement>Trait Implementations§
source§impl PartialEq<Link> for Link
impl PartialEq<Link> for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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