pub(super) struct VideoPlayState {
pub src_url: String,
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub playing: bool,
pub stop_request: bool,
pub paused: bool,
pub loop_playback: bool,
}Fields§
§src_url: String§x: u32§y: u32§width: u32§height: u32§playing: bool§stop_request: bool§paused: bool一時停止中(MSE の再生のみ。スレッドは位置と最後のフレームを保ったまま待つ)。
loop_playback: boolループ再生
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VideoPlayState
impl RefUnwindSafe for VideoPlayState
impl Send for VideoPlayState
impl Sync for VideoPlayState
impl Unpin for VideoPlayState
impl UnsafeUnpin for VideoPlayState
impl UnwindSafe for VideoPlayState
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