pub struct MeasureOptions {
pub left: i32,
pub top: i32,
pub width: i32,
pub height: i32,
}
Expand description
Options for measure operation
Fields§
§left: i32
left: i32
-> Left edge of extract area
min: 0, max: 10000000, default: 0
top: i32
top: i32
-> Top edge of extract area
min: 0, max: 10000000, default: 0
width: i32
width: i32
-> Width of extract area
min: 1, max: 10000000, default: 1
height: i32
height: i32
-> Height of extract area
min: 1, max: 10000000, default: 1
Trait Implementations§
Source§impl Clone for MeasureOptions
impl Clone for MeasureOptions
Source§fn clone(&self) -> MeasureOptions
fn clone(&self) -> MeasureOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MeasureOptions
impl Debug for MeasureOptions
Auto Trait Implementations§
impl Freeze for MeasureOptions
impl RefUnwindSafe for MeasureOptions
impl Send for MeasureOptions
impl Sync for MeasureOptions
impl Unpin for MeasureOptions
impl UnwindSafe for MeasureOptions
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