pub struct VideoPlayerConfig {
pub loop_playback: bool,
pub frame_rate_override: Option<f64>,
pub start_playing: bool,
pub presentation_cache_frames: usize,
pub presentation_cache_bytes: usize,
}Fields§
§loop_playback: boolRestart at the beginning after the final display-order frame.
frame_rate_override: Option<f64>Override the container average frame rate when pacing VideoPlayer::tick.
start_playing: boolBegin in the playing state. Manual VideoPlayer::advance calls ignore this.
presentation_cache_frames: usizeMaximum display-order frames retained for exact backward/forward stepping.
presentation_cache_bytes: usizeMaximum retained pixel-storage bytes across presentation history. GPU textures charge both packed RGBA and sampled image payloads; native decoder slots are never cached.
Trait Implementations§
Source§impl Clone for VideoPlayerConfig
impl Clone for VideoPlayerConfig
impl Copy for VideoPlayerConfig
Source§impl Debug for VideoPlayerConfig
impl Debug for VideoPlayerConfig
Source§impl Default for VideoPlayerConfig
impl Default for VideoPlayerConfig
Source§impl PartialEq for VideoPlayerConfig
impl PartialEq for VideoPlayerConfig
impl StructuralPartialEq for VideoPlayerConfig
Auto Trait Implementations§
impl Forget for VideoPlayerConfig
impl Freeze for VideoPlayerConfig
impl Move for VideoPlayerConfig
impl RefUnwindSafe for VideoPlayerConfig
impl Send for VideoPlayerConfig
impl Sync for VideoPlayerConfig
impl Unpin for VideoPlayerConfig
impl UnsafeUnpin for VideoPlayerConfig
impl UnwindSafe for VideoPlayerConfig
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