pub struct Xfrm {
pub x: f64,
pub y: f64,
pub w: f64,
pub h: f64,
pub rot: f64,
pub flip_h: bool,
pub flip_v: bool,
}Expand description
A shape’s placement on its slide (or in its group’s child space): offset, extent, rotation (degrees clockwise) and flips. Rotation and flips are about the centre.
Fields§
§x: f64§y: f64§w: f64§h: f64§rot: f64§flip_h: bool§flip_v: boolImplementations§
Trait Implementations§
impl Copy for Xfrm
Source§impl<'de> Deserialize<'de> for Xfrm
impl<'de> Deserialize<'de> for Xfrm
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Xfrm, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Xfrm, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Xfrm
impl Serialize for Xfrm
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Xfrm
Auto Trait Implementations§
impl Freeze for Xfrm
impl RefUnwindSafe for Xfrm
impl Send for Xfrm
impl Sync for Xfrm
impl Unpin for Xfrm
impl UnsafeUnpin for Xfrm
impl UnwindSafe for Xfrm
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