pub struct PdfPoint {
pub x: f64,
pub y: f64,
}Expand description
Wraps CGPoint values used by PDFKit geometry APIs.
Fields§
§x: f64Wraps the point x-coordinate used by PDFKit geometry APIs.
y: f64Wraps the point y-coordinate used by PDFKit geometry APIs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdfPoint
impl<'de> Deserialize<'de> for PdfPoint
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 Copy for PdfPoint
impl StructuralPartialEq for PdfPoint
Auto Trait Implementations§
impl Freeze for PdfPoint
impl RefUnwindSafe for PdfPoint
impl Send for PdfPoint
impl Sync for PdfPoint
impl Unpin for PdfPoint
impl UnsafeUnpin for PdfPoint
impl UnwindSafe for PdfPoint
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