pub struct Goto {
pub dest: CTDest,
}Expand description
文档内跳转动作。
跳转到当前文档的指定页面和位置,对应 GB/T 33190 第 15 章的 Goto 动作。
对应 Java: org.ofdrw.core.action.actionType.Goto
Fields§
§dest: CTDest跳转目标位置。
对应 Java: Goto.dest (CT_Dest)
Implementations§
Trait Implementations§
Source§impl XmlElement for Goto
impl XmlElement for Goto
Source§fn element_name(&self) -> &'static str
fn element_name(&self) -> &'static str
对应 Java: org.ofdrw.core.action.actionType.Goto
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 Goto
impl RefUnwindSafe for Goto
impl Send for Goto
impl Sync for Goto
impl Unpin for Goto
impl UnsafeUnpin for Goto
impl UnwindSafe for Goto
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