pub struct ApplicationSlicePosition {
pub x0: f32,
pub x1: f32,
pub top: f32,
pub bottom: f32,
pub page: i64,
pub height: f32,
pub width: f32,
}Expand description
Page-space coordinates for a document slice.
Fields§
§x0: f32Left edge of the slice.
x1: f32Right edge of the slice.
top: f32Top edge of the slice.
bottom: f32Bottom edge of the slice.
page: i64One-based page number supplied by the service.
height: f32Source page height.
width: f32Source page width.
Trait Implementations§
Source§impl Clone for ApplicationSlicePosition
impl Clone for ApplicationSlicePosition
Source§fn clone(&self) -> ApplicationSlicePosition
fn clone(&self) -> ApplicationSlicePosition
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 moreSource§impl Debug for ApplicationSlicePosition
impl Debug for ApplicationSlicePosition
Source§impl<'de> Deserialize<'de> for ApplicationSlicePosition
impl<'de> Deserialize<'de> for ApplicationSlicePosition
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
Source§impl PartialEq for ApplicationSlicePosition
impl PartialEq for ApplicationSlicePosition
Source§impl Serialize for ApplicationSlicePosition
impl Serialize for ApplicationSlicePosition
impl StructuralPartialEq for ApplicationSlicePosition
Auto Trait Implementations§
impl Freeze for ApplicationSlicePosition
impl RefUnwindSafe for ApplicationSlicePosition
impl Send for ApplicationSlicePosition
impl Sync for ApplicationSlicePosition
impl Unpin for ApplicationSlicePosition
impl UnsafeUnpin for ApplicationSlicePosition
impl UnwindSafe for ApplicationSlicePosition
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