pub struct FreeformFrame {
pub x: f64,
pub y: f64,
pub w: f64,
pub h: f64,
pub rotation: f64,
}Expand description
Canvas-space rectangle in Freeform points.
Fields§
§x: f64Horizontal origin.
y: f64Vertical origin.
w: f64Width in points.
h: f64Height in points.
rotation: f64Rotation in radians when the archive exposes a decomposed angle.
Trait Implementations§
Source§impl Clone for FreeformFrame
impl Clone for FreeformFrame
Source§fn clone(&self) -> FreeformFrame
fn clone(&self) -> FreeformFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FreeformFrame
Source§impl Debug for FreeformFrame
impl Debug for FreeformFrame
Source§impl Default for FreeformFrame
impl Default for FreeformFrame
Source§fn default() -> FreeformFrame
fn default() -> FreeformFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FreeformFrame
impl<'de> Deserialize<'de> for FreeformFrame
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 FreeformFrame
impl PartialEq for FreeformFrame
Source§impl Serialize for FreeformFrame
impl Serialize for FreeformFrame
impl StructuralPartialEq for FreeformFrame
Auto Trait Implementations§
impl Freeze for FreeformFrame
impl RefUnwindSafe for FreeformFrame
impl Send for FreeformFrame
impl Sync for FreeformFrame
impl Unpin for FreeformFrame
impl UnsafeUnpin for FreeformFrame
impl UnwindSafe for FreeformFrame
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