pub struct Text { /* private fields */ }Expand description
Implementation of Text interface on 1.4 Fundamental Interfaces: Core Module
Strings are encoded in UTF-8. Unlike the specification, methods that specify string boundaries are constrained to be UTF-8 character boundaries.
Implementations§
Source§impl Text
impl Text
pub fn owner_document(&self) -> Option<DocumentRef>
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