pub enum RtfNodeKind {
Document,
Element {
name: Box<str>,
local_name: Box<str>,
prefix: Option<Box<str>>,
namespace_uri: Box<str>,
},
Attribute {
name: Box<str>,
local_name: Box<str>,
prefix: Option<Box<str>>,
namespace_uri: Box<str>,
value: Box<str>,
},
Text(Box<str>),
Comment(Box<str>),
PI {
target: Box<str>,
data: Box<str>,
},
Namespace {
prefix: Option<Box<str>>,
uri: Box<str>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtfNodeKind
impl RefUnwindSafe for RtfNodeKind
impl Send for RtfNodeKind
impl Sync for RtfNodeKind
impl Unpin for RtfNodeKind
impl UnsafeUnpin for RtfNodeKind
impl UnwindSafe for RtfNodeKind
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