Enum pdfium_render::page::PdfPageRenderRotation
source · pub enum PdfPageRenderRotation {
None,
Degrees90,
Degrees180,
Degrees270,
}Expand description
Variants§
Implementations§
source§impl PdfPageRenderRotation
impl PdfPageRenderRotation
sourcepub const fn as_degrees(&self) -> f32
pub const fn as_degrees(&self) -> f32
Returns the equivalent clockwise rotation of this PdfPageRenderRotation variant, in degrees.
sourcepub const fn as_radians(&self) -> f32
pub const fn as_radians(&self) -> f32
Returns the equivalent clockwise rotation of this PdfPageRenderRotation variant, in radians.
Trait Implementations§
source§impl Clone for PdfPageRenderRotation
impl Clone for PdfPageRenderRotation
source§fn clone(&self) -> PdfPageRenderRotation
fn clone(&self) -> PdfPageRenderRotation
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 PdfPageRenderRotation
impl Debug for PdfPageRenderRotation
source§impl PartialEq for PdfPageRenderRotation
impl PartialEq for PdfPageRenderRotation
source§fn eq(&self, other: &PdfPageRenderRotation) -> bool
fn eq(&self, other: &PdfPageRenderRotation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PdfPageRenderRotation
impl StructuralPartialEq for PdfPageRenderRotation
Auto Trait Implementations§
impl RefUnwindSafe for PdfPageRenderRotation
impl Send for PdfPageRenderRotation
impl Sync for PdfPageRenderRotation
impl Unpin for PdfPageRenderRotation
impl UnwindSafe for PdfPageRenderRotation
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