pub struct InkAnnotDict {
pub rect: Rect,
pub ink_list: Vec<Vec<(f64, f64)>>,
pub color: (f64, f64, f64),
pub width: f64,
}Expand description
The fields of an ink annotation dictionary, ready for serialization.
Fields§
§rect: RectThe annotation’s bounding rectangle (/Rect).
ink_list: Vec<Vec<(f64, f64)>>The ink paths (/InkList): an array of arrays of numbers.
color: (f64, f64, f64)The stroke color (/C), DeviceRGB.
width: f64The border width (/BS /W).
Trait Implementations§
Source§impl Clone for InkAnnotDict
impl Clone for InkAnnotDict
Source§fn clone(&self) -> InkAnnotDict
fn clone(&self) -> InkAnnotDict
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 moreAuto Trait Implementations§
impl Freeze for InkAnnotDict
impl RefUnwindSafe for InkAnnotDict
impl Send for InkAnnotDict
impl Sync for InkAnnotDict
impl Unpin for InkAnnotDict
impl UnsafeUnpin for InkAnnotDict
impl UnwindSafe for InkAnnotDict
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