pub struct Outlines {
pub elements: Vec<CT_OutlineElem>,
}Expand description
大纲树。
对应 Java: org.ofdrw.core.basicStructure.outlines.Outlines
Fields§
§elements: Vec<CT_OutlineElem>大纲元素列表。
Implementations§
Trait Implementations§
impl StructuralPartialEq for Outlines
Source§impl XmlElement for Outlines
impl XmlElement for Outlines
Source§fn element_name(&self) -> &'static str
fn element_name(&self) -> &'static str
对应 Java: org.ofdrw.core.basicStructure.outlines.Outlines
Source§fn child_nodes(&self) -> Vec<XmlNode>
fn child_nodes(&self) -> Vec<XmlNode>
子元素(作为
XmlNode 提供,便于嵌套序列化)。Source§fn from_xml(node: &XmlNode) -> Result<Self, XmlElementError>
fn from_xml(node: &XmlNode) -> Result<Self, XmlElementError>
从节点树解析(对应 ofdrw 解析侧;quick-xml 产物)。 Read more
Source§fn text_content(&self) -> Option<&str>
fn text_content(&self) -> Option<&str>
文本内容(简单文本元素)。
Auto Trait Implementations§
impl Freeze for Outlines
impl RefUnwindSafe for Outlines
impl Send for Outlines
impl Sync for Outlines
impl Unpin for Outlines
impl UnsafeUnpin for Outlines
impl UnwindSafe for Outlines
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