pub struct Close;Expand description
闭合路径方法。
自动闭合到当前路径的起始点,并以该点为当前点。
对应 Java: org.ofdrw.core.graph.tight.method.Close
Implementations§
Trait Implementations§
impl Copy for Close
impl Eq for Close
impl StructuralPartialEq for Close
Source§impl XmlElement for Close
impl XmlElement for Close
Source§fn element_name(&self) -> &'static str
fn element_name(&self) -> &'static str
对应 Java: Close 元素名 “Close”。
Source§fn from_xml(_node: &XmlNode) -> Result<Self, XmlElementError>
fn from_xml(_node: &XmlNode) -> Result<Self, XmlElementError>
从节点树解析(对应 ofdrw 解析侧;quick-xml 产物)。 Read more
Source§fn child_nodes(&self) -> Vec<XmlNode>
fn child_nodes(&self) -> Vec<XmlNode>
子元素(作为
XmlNode 提供,便于嵌套序列化)。Source§fn text_content(&self) -> Option<&str>
fn text_content(&self) -> Option<&str>
文本内容(简单文本元素)。
Auto Trait Implementations§
impl Freeze for Close
impl RefUnwindSafe for Close
impl Send for Close
impl Sync for Close
impl Unpin for Close
impl UnsafeUnpin for Close
impl UnwindSafe for Close
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