pub struct AMutations<'a, Dom: Dom = DefaultDom>(/* private fields */);Expand description
The HTML <a> element (or anchor element), along with its href
attribute, creates a hyperlink to other web pages, files, locations
within the same page, email addresses, or any other URL.
Implementations§
Source§impl<'a, Dom: Dom> AMutations<'a, Dom>
impl<'a, Dom: Dom> AMutations<'a, Dom>
pub fn attribute( self, name: String, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn download( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn href( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn hreflang( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn ping( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn rel( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn target( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
pub fn type( self, f: impl FnMut(&HtmlAnchorElement, Option<String>) + 'static, ) -> Self
Auto Trait Implementations§
impl<'a, Dom> Freeze for AMutations<'a, Dom>
impl<'a, Dom = Dry> !RefUnwindSafe for AMutations<'a, Dom>
impl<'a, Dom = Dry> !Send for AMutations<'a, Dom>
impl<'a, Dom = Dry> !Sync for AMutations<'a, Dom>
impl<'a, Dom> Unpin for AMutations<'a, Dom>
impl<'a, Dom = Dry> !UnwindSafe for AMutations<'a, Dom>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more