pub struct NoteBox {
pub from: NoteCorner,
pub to: NoteCorner,
pub size_pt: Option<(f64, f64)>,
}Expand description
A note box’s place and size, from the note’s VML shape: Excel’s <x:Anchor> with its corners
stored relative to the note’s cell, so the box moves with the note when rows or columns are
inserted or deleted, and the shape’s width and height.
Fields§
§from: NoteCornerTop-left corner: columns and rows from the note’s cell (negative = left of or above it), then the pixel offset into that column and row.
to: NoteCornerBottom-right corner, the same way.
size_pt: Option<(f64, f64)>The shape’s width and height in points (the VML style’s width/height), when given.
Trait Implementations§
impl Copy for NoteBox
Source§impl<'de> Deserialize<'de> for NoteBox
impl<'de> Deserialize<'de> for NoteBox
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
impl StructuralPartialEq for NoteBox
Auto Trait Implementations§
impl Freeze for NoteBox
impl RefUnwindSafe for NoteBox
impl Send for NoteBox
impl Sync for NoteBox
impl Unpin for NoteBox
impl UnsafeUnpin for NoteBox
impl UnwindSafe for NoteBox
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