pub struct RectTween {
pub begin: Option<Rect>,
pub end: Option<Rect>,
}Expand description
An interpolation between two rectangles.
Fields§
§begin: Option<Rect>The value this variable has at the beginning of the animation.
end: Option<Rect>The value this variable has at the end of the animation.
Implementations§
Auto Trait Implementations§
impl Forget for RectTween
impl Freeze for RectTween
impl Move for RectTween
impl RefUnwindSafe for RectTween
impl Send for RectTween
impl Sync for RectTween
impl Unpin for RectTween
impl UnsafeUnpin for RectTween
impl UnwindSafe for RectTween
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