Enum magick_rust::bindings::DistortMethod
source · #[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 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 DistortMethod
impl Debug for DistortMethod
source§impl Hash for DistortMethod
impl Hash for DistortMethod
source§impl PartialEq for DistortMethod
impl PartialEq for DistortMethod
source§fn eq(&self, other: &DistortMethod) -> bool
fn eq(&self, other: &DistortMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)