pub struct Preserved {
pub package_rels: Vec<PreservedRel>,
pub rels: Vec<PreservedRel>,
pub parts: Vec<PreservedPart>,
pub elements: Vec<PreservedXml>,
pub vml: Option<PreservedPart>,
pub sheets: Vec<PreservedSheet>,
}Expand description
Unmodelled content kept for one owner (the workbook, which also holds package-root content, or one sheet).
Fields§
§package_rels: Vec<PreservedRel>Relationships of the package root (_rels/.rels) to kept parts (workbook owner only).
rels: Vec<PreservedRel>Relationships of the owning workbook or sheet part to kept parts.
parts: Vec<PreservedPart>Every kept part reachable from package_rels and rels.
elements: Vec<PreservedXml>Owner XML elements that refer to kept parts.
vml: Option<PreservedPart>The sheet’s legacy VML drawing when kept elements need its shapes (form controls, OLE
objects). Its own relationships point into parts.
sheets: Vec<PreservedSheet>Chart sheets, in file order (workbook owner only).
Implementations§
Trait Implementations§
impl Eq for Preserved
impl StructuralPartialEq for Preserved
Auto Trait Implementations§
impl Freeze for Preserved
impl RefUnwindSafe for Preserved
impl Send for Preserved
impl Sync for Preserved
impl Unpin for Preserved
impl UnsafeUnpin for Preserved
impl UnwindSafe for Preserved
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.