pub struct Text;
Expand description
A text extractor, part of the DSL.
Only really needed to avoid writing &(&element / “child”).text_content, to
be able to write &element / "child" % Text
instead.
Trait Implementations§
Source§impl<'s, 'e> Rem<Text> for &'e ElementRef<'s>
impl<'s, 'e> Rem<Text> for &'e ElementRef<'s>
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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