Struct libvips::ops::AutorotOptions
source · pub struct AutorotOptions {
pub angle: Angle,
pub flip: bool,
}
Expand description
Options for autorot operation
Fields§
§angle: Angle
angle: Angle
-> Angle image was rotated by
D0
-> VIPS_ANGLE_D0 = 0 [DEFAULT]
D90
-> VIPS_ANGLE_D90 = 1
D180
-> VIPS_ANGLE_D180 = 2
D270
-> VIPS_ANGLE_D270 = 3
Last
-> VIPS_ANGLE_LAST = 4
flip: bool
flip: bool
-> Whether the image was flipped or not
default: false
Trait Implementations§
source§impl Clone for AutorotOptions
impl Clone for AutorotOptions
source§fn clone(&self) -> AutorotOptions
fn clone(&self) -> AutorotOptions
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 AutorotOptions
impl Debug for AutorotOptions
Auto Trait Implementations§
impl RefUnwindSafe for AutorotOptions
impl Send for AutorotOptions
impl Sync for AutorotOptions
impl Unpin for AutorotOptions
impl UnwindSafe for AutorotOptions
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