pub struct PageGeometry {
pub id: String,
pub index: u32,
pub width: i64,
pub height: i64,
pub rotation: u16,
}Expand description
Page geometry as declared by the grounding source.
Fields§
§id: StringPage id in the source’s namespace (Ethos: p0001…).
index: u321-based page index in the original document.
width: i64Page width in the source’s declared units.
height: i64Page height in the source’s declared units.
rotation: u16Normalized rotation in degrees (0/90/180/270).
Trait Implementations§
Source§impl Clone for PageGeometry
impl Clone for PageGeometry
Source§fn clone(&self) -> PageGeometry
fn clone(&self) -> PageGeometry
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 PageGeometry
impl Debug for PageGeometry
Source§impl<'de> Deserialize<'de> for PageGeometry
impl<'de> Deserialize<'de> for PageGeometry
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 Eq for PageGeometry
Source§impl PartialEq for PageGeometry
impl PartialEq for PageGeometry
Source§fn eq(&self, other: &PageGeometry) -> bool
fn eq(&self, other: &PageGeometry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PageGeometry
impl Serialize for PageGeometry
impl StructuralPartialEq for PageGeometry
Auto Trait Implementations§
impl Freeze for PageGeometry
impl RefUnwindSafe for PageGeometry
impl Send for PageGeometry
impl Sync for PageGeometry
impl Unpin for PageGeometry
impl UnsafeUnpin for PageGeometry
impl UnwindSafe for PageGeometry
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