pub struct RawRegion {
pub kind: String,
pub text: String,
}Expand description
页面上的一块「区域」内容(docx 页眉 / 页脚 / 脚注 / 尾注): 与正文分离,自带类型;默认既不进块也不进页文本。
Fields§
§kind: String区域类型:header / footer / footnote / endnote
(与 Python page.meta["regions"] 的键、以及 Block.meta["region"] 的取值一致)
text: String区域内的一段文本(同一区域可能有多段,各自成块)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawRegion
impl RefUnwindSafe for RawRegion
impl Send for RawRegion
impl Sync for RawRegion
impl Unpin for RawRegion
impl UnsafeUnpin for RawRegion
impl UnwindSafe for RawRegion
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