pub struct CoordinateSystem {
pub origin: String,
pub unit: String,
pub quantum_per_point: u32,
}Expand description
Coordinate system declaration.
Fields§
§origin: StringAlways "top-left".
unit: StringAlways "quantum".
quantum_per_point: u32Quanta per PDF point (profile: 100).
Trait Implementations§
Source§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
Source§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
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 CoordinateSystem
impl Debug for CoordinateSystem
Source§impl<'de> Deserialize<'de> for CoordinateSystem
impl<'de> Deserialize<'de> for CoordinateSystem
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 CoordinateSystem
Source§impl PartialEq for CoordinateSystem
impl PartialEq for CoordinateSystem
Source§fn eq(&self, other: &CoordinateSystem) -> bool
fn eq(&self, other: &CoordinateSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CoordinateSystem
impl Serialize for CoordinateSystem
impl StructuralPartialEq for CoordinateSystem
Auto Trait Implementations§
impl Freeze for CoordinateSystem
impl RefUnwindSafe for CoordinateSystem
impl Send for CoordinateSystem
impl Sync for CoordinateSystem
impl Unpin for CoordinateSystem
impl UnsafeUnpin for CoordinateSystem
impl UnwindSafe for CoordinateSystem
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