pub struct AutolinkHeadings {
pub aria_label: Option<String>,
}Expand description
Wrap each Heading’s children in a Link to its own #id anchor.
aria_label flows through as the link’s title.
Fields§
§aria_label: Option<String>Implementations§
Trait Implementations§
Source§impl Default for AutolinkHeadings
impl Default for AutolinkHeadings
Source§fn default() -> AutolinkHeadings
fn default() -> AutolinkHeadings
Returns the “default value” for a type. Read more
Source§impl Transformer for AutolinkHeadings
impl Transformer for AutolinkHeadings
Auto Trait Implementations§
impl Freeze for AutolinkHeadings
impl RefUnwindSafe for AutolinkHeadings
impl Send for AutolinkHeadings
impl Sync for AutolinkHeadings
impl Unpin for AutolinkHeadings
impl UnsafeUnpin for AutolinkHeadings
impl UnwindSafe for AutolinkHeadings
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