pub struct Link { /* private fields */ }
Implementations
sourceimpl Link
impl Link
pub fn new(rel: Vec<impl Into<String>>, href: impl Into<String>) -> Self
pub fn class(self, class: impl Into<String>) -> Self
pub fn classes(self, classes: Vec<impl Into<String>>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn tpye(self, tpye: impl Into<String>) -> Self
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more