pub struct EllipseGeometry {
pub center: AnimatedPoint,
pub size: Animated<Vec2>,
pub rotation_degrees: Animated<f32>,
}Expand description
The ellipse inscribed in a size, turned clockwise about its centre. Its outline starts at the top and runs clockwise.
Fields§
§center: AnimatedPointCentre.
size: Animated<Vec2>Full width and height, before rotation. Non-negative.
rotation_degrees: Animated<f32>Clockwise rotation about the centre, in degrees.
Trait Implementations§
Source§impl Clone for EllipseGeometry
impl Clone for EllipseGeometry
Source§impl Debug for EllipseGeometry
impl Debug for EllipseGeometry
Source§impl<'de> Deserialize<'de> for EllipseGeometry
impl<'de> Deserialize<'de> for EllipseGeometry
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 EllipseGeometry
impl PartialEq for EllipseGeometry
Source§impl Serialize for EllipseGeometry
impl Serialize for EllipseGeometry
impl StructuralPartialEq for EllipseGeometry
Auto Trait Implementations§
impl Freeze for EllipseGeometry
impl RefUnwindSafe for EllipseGeometry
impl Send for EllipseGeometry
impl Sync for EllipseGeometry
impl Unpin for EllipseGeometry
impl UnsafeUnpin for EllipseGeometry
impl UnwindSafe for EllipseGeometry
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