pub struct TextBox {
pub id: String,
pub text: String,
pub anchor: Option<TextAnchor>,
}Expand description
A text box recovered from a Word document.
Fields§
§id: StringStable text-box id. For legacy .doc recovery this is a synthetic id
because the current binary reader exposes text-box subdocument regions,
not individual shape ids.
text: StringVisible text-box content.
anchor: Option<TextAnchor>Body range or shape anchor this text box is attached to, if known.
Trait Implementations§
impl Eq for TextBox
impl StructuralPartialEq for TextBox
Auto Trait Implementations§
impl Freeze for TextBox
impl RefUnwindSafe for TextBox
impl Send for TextBox
impl Sync for TextBox
impl Unpin for TextBox
impl UnsafeUnpin for TextBox
impl UnwindSafe for TextBox
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.