pub struct AnimationFrameResult {
pub completed: bool,
pub area: Option<Rect>,
pub transform: Option<Mat4>,
pub opacity: Option<f32>,
}Fields§
§completed: bool§area: Option<Rect>§transform: Option<Mat4>§opacity: Option<f32>Trait Implementations§
Source§impl From<AnimationFrameResult> for miracle_plugin_animation_frame_result_t
impl From<AnimationFrameResult> for miracle_plugin_animation_frame_result_t
Source§fn from(value: AnimationFrameResult) -> Self
fn from(value: AnimationFrameResult) -> Self
Converts to this type from the input type.
Source§impl From<miracle_plugin_animation_frame_result_t> for AnimationFrameResult
impl From<miracle_plugin_animation_frame_result_t> for AnimationFrameResult
Source§fn from(value: miracle_plugin_animation_frame_result_t) -> Self
fn from(value: miracle_plugin_animation_frame_result_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnimationFrameResult
impl RefUnwindSafe for AnimationFrameResult
impl Send for AnimationFrameResult
impl Sync for AnimationFrameResult
impl Unpin for AnimationFrameResult
impl UnsafeUnpin for AnimationFrameResult
impl UnwindSafe for AnimationFrameResult
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