#[repr(transparent)]pub struct TransformationMode {
pub repr: i32,
}
Expand description
This enum type defines whether image transformations (e.g., scaling) should be smooth or not.
Fields§
§repr: i32
Implementations§
Source§impl TransformationMode
impl TransformationMode
Sourcepub const FastTransformation: Self
pub const FastTransformation: Self
The transformation is performed quickly, with no smoothing.
Sourcepub const SmoothTransformation: Self
pub const SmoothTransformation: Self
The resulting image is transformed using bilinear filtering.
Trait Implementations§
Source§impl Clone for TransformationMode
impl Clone for TransformationMode
Source§impl ExternType for TransformationMode
impl ExternType for TransformationMode
Source§impl PartialEq for TransformationMode
impl PartialEq for TransformationMode
impl Copy for TransformationMode
impl Eq for TransformationMode
impl StructuralPartialEq for TransformationMode
Auto Trait Implementations§
impl Freeze for TransformationMode
impl RefUnwindSafe for TransformationMode
impl Send for TransformationMode
impl Sync for TransformationMode
impl Unpin for TransformationMode
impl UnwindSafe for TransformationMode
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