#[repr(u32)]pub enum DistortMethod {
Show 20 variants
Undefined = 0,
Affine = 1,
AffineProjection = 2,
ScaleRotateTranslate = 3,
Perspective = 4,
PerspectiveProjection = 5,
BilinearForward = 6,
BilinearReverse = 7,
Polynomial = 8,
Arc = 9,
Polar = 10,
DePolar = 11,
Cylinder2Plane = 12,
Plane2Cylinder = 13,
Barrel = 14,
BarrelInverse = 15,
Shepards = 16,
Resize = 17,
Sentinel = 18,
RigidAffine = 19,
}
Variants§
Undefined = 0
Affine = 1
AffineProjection = 2
ScaleRotateTranslate = 3
Perspective = 4
PerspectiveProjection = 5
BilinearForward = 6
BilinearReverse = 7
Polynomial = 8
Arc = 9
Polar = 10
DePolar = 11
Cylinder2Plane = 12
Plane2Cylinder = 13
Barrel = 14
BarrelInverse = 15
Shepards = 16
Resize = 17
Sentinel = 18
RigidAffine = 19
Implementations§
Source§impl DistortMethod
impl DistortMethod
pub const Bilinear: DistortMethod = DistortMethod::BilinearForward
Trait Implementations§
Source§impl Clone for DistortMethod
impl Clone for DistortMethod
Source§fn clone(&self) -> DistortMethod
fn clone(&self) -> DistortMethod
Returns a duplicate 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 DistortMethod
impl Debug for DistortMethod
Source§impl Hash for DistortMethod
impl Hash for DistortMethod
Source§impl PartialEq for DistortMethod
impl PartialEq for DistortMethod
impl Copy for DistortMethod
impl Eq for DistortMethod
impl StructuralPartialEq for DistortMethod
Auto Trait Implementations§
impl Freeze for DistortMethod
impl RefUnwindSafe for DistortMethod
impl Send for DistortMethod
impl Sync for DistortMethod
impl Unpin for DistortMethod
impl UnwindSafe for DistortMethod
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