pub struct PageObject {
pub templates: Vec<Template>,
pub area: Option<CtPageArea>,
pub page_res: Vec<StLoc>,
pub content: Option<Content>,
pub actions: Option<Actions>,
}Expand description
页对象,即页内容描述文件(Content.xml)的根节点(见表 12)。
Fields§
§templates: Vec<Template>该页所使用的模板页,可使用多个(可选)。
area: Option<CtPageArea>定义该页页面区域的大小和位置,仅对该页有效(可选)。
page_res: Vec<StLoc>页资源,指向该页使用的资源文件(可选)。
content: Option<Content>页面内容描述;该节点不存在时表示空白页(可选)。
actions: Option<Actions>与页面关联的动作序列(可选)。
Implementations§
Trait Implementations§
Source§impl Clone for PageObject
impl Clone for PageObject
Source§fn clone(&self) -> PageObject
fn clone(&self) -> PageObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageObject
impl Debug for PageObject
Source§impl Default for PageObject
impl Default for PageObject
Source§fn default() -> PageObject
fn default() -> PageObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageObject
impl<'de> Deserialize<'de> for PageObject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PageObject
impl RefUnwindSafe for PageObject
impl Send for PageObject
impl Sync for PageObject
impl Unpin for PageObject
impl UnsafeUnpin for PageObject
impl UnwindSafe for PageObject
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