pub struct AHref<'arena> {
pub href: &'arena str,
pub text: &'arena str,
}Expand description
Stores the contents of Node::AHref.
Needs to be a separate struct to keep Node
4 words in size
Fields§
§href: &'arena str§text: &'arena strTrait Implementations§
Auto Trait Implementations§
impl<'arena> Freeze for AHref<'arena>
impl<'arena> RefUnwindSafe for AHref<'arena>
impl<'arena> Send for AHref<'arena>
impl<'arena> Sync for AHref<'arena>
impl<'arena> Unpin for AHref<'arena>
impl<'arena> UnsafeUnpin for AHref<'arena>
impl<'arena> UnwindSafe for AHref<'arena>
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