pub struct ImageTransform {
pub rotation_degrees: Option<f64>,
pub flip_horizontal: Option<bool>,
pub flip_vertical: Option<bool>,
pub offset_x_emu: Option<f64>,
pub offset_y_emu: Option<f64>,
pub width_emu: Option<f64>,
pub height_emu: Option<f64>,
}Fields§
§rotation_degrees: Option<f64>§flip_horizontal: Option<bool>§flip_vertical: Option<bool>§offset_x_emu: Option<f64>§offset_y_emu: Option<f64>§width_emu: Option<f64>§height_emu: Option<f64>Trait Implementations§
Source§impl Clone for ImageTransform
impl Clone for ImageTransform
Source§impl Debug for ImageTransform
impl Debug for ImageTransform
Source§impl Default for ImageTransform
impl Default for ImageTransform
Source§impl<'de> Deserialize<'de> for ImageTransform
impl<'de> Deserialize<'de> for ImageTransform
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImageTransform
impl PartialEq for ImageTransform
Source§impl Serialize for ImageTransform
impl Serialize for ImageTransform
impl StructuralPartialEq for ImageTransform
Auto Trait Implementations§
impl Forget for ImageTransform
impl Freeze for ImageTransform
impl RefUnwindSafe for ImageTransform
impl Send for ImageTransform
impl Sync for ImageTransform
impl Unpin for ImageTransform
impl UnsafeUnpin for ImageTransform
impl UnwindSafe for ImageTransform
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more