pub struct AnimatedSvgHandles {
pub handles: Vec<Handle>,
pub frame_duration_ms: u32,
}Expand description
Converted animation frames with timing metadata.
Returned by animated_frames_to_svg_handles. Contains the
SVG handles and the per-frame duration needed to drive playback.
Fields§
§handles: Vec<Handle>SVG handles ready for iced rendering.
frame_duration_ms: u32Duration of each frame in milliseconds.
Trait Implementations§
Source§impl Clone for AnimatedSvgHandles
impl Clone for AnimatedSvgHandles
Source§fn clone(&self) -> AnimatedSvgHandles
fn clone(&self) -> AnimatedSvgHandles
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimatedSvgHandles
impl RefUnwindSafe for AnimatedSvgHandles
impl Send for AnimatedSvgHandles
impl Sync for AnimatedSvgHandles
impl Unpin for AnimatedSvgHandles
impl UnsafeUnpin for AnimatedSvgHandles
impl UnwindSafe for AnimatedSvgHandles
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