Enum pdfium_render::bitmap::PdfBitmapRotation
source · [−]pub enum PdfBitmapRotation {
None,
Degrees90,
Degrees180,
Degrees270,
}Expand description
A rotation transformation that should be applied to a PdfPage when it is rendered
into a PdfBitmap.
Variants
None
Degrees90
Degrees180
Degrees270
Implementations
sourceimpl PdfBitmapRotation
impl PdfBitmapRotation
pub const fn as_degrees(&self) -> f32
pub const DEGREES_90_AS_RADIANS: f32 = 1.57079637f32
pub const DEGREES_180_AS_RADIANS: f32 = 3.14159274f32
pub const DEGREES_270_AS_RADIANS: f32 = 4.71238899f32
pub const fn as_radians(&self) -> f32
pub const fn as_radians_cos(&self) -> f32
pub const fn as_radians_sin(&self) -> f32
Trait Implementations
sourceimpl Clone for PdfBitmapRotation
impl Clone for PdfBitmapRotation
sourcefn clone(&self) -> PdfBitmapRotation
fn clone(&self) -> PdfBitmapRotation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PdfBitmapRotation
impl Debug for PdfBitmapRotation
impl Copy for PdfBitmapRotation
impl StructuralPartialEq for PdfBitmapRotation
Auto Trait Implementations
impl RefUnwindSafe for PdfBitmapRotation
impl Send for PdfBitmapRotation
impl Sync for PdfBitmapRotation
impl Unpin for PdfBitmapRotation
impl UnwindSafe for PdfBitmapRotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more