[−][src]Struct qt_gui::q_movie::MovieState
This enum describes the different states of QMovie.
C++ enum: QMovie::MovieState
.
This enum describes the different states of QMovie.
Methods
impl MovieState
[src]
impl MovieState
[src]
pub const NotRunning: MovieState
[src]
The movie is not running. This is QMovie's initial state, and the state it enters after stop() has been called or the movie is finished. (C++ enum variant: NotRunning = 0
)
pub const Paused: MovieState
[src]
The movie is paused, and QMovie stops emitting updated() or resized(). This state is entered after calling pause() or setPaused(true). The current frame number it kept, and the movie will continue with the next frame when unpause() or setPaused(false) is called. (C++ enum variant: Paused = 1
)
pub const Running: MovieState
[src]
The movie is running. (C++ enum variant: Running = 2
)
Trait Implementations
impl Clone for MovieState
[src]
fn clone(&self) -> MovieState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MovieState
[src]
impl Debug for MovieState
[src]
impl Eq for MovieState
[src]
impl From<MovieState> for c_int
[src]
fn from(value: MovieState) -> Self
[src]
impl From<i32> for MovieState
[src]
impl PartialEq<MovieState> for MovieState
[src]
fn eq(&self, other: &MovieState) -> bool
[src]
fn ne(&self, other: &MovieState) -> bool
[src]
impl StructuralEq for MovieState
[src]
impl StructuralPartialEq for MovieState
[src]
Auto Trait Implementations
impl RefUnwindSafe for MovieState
impl Send for MovieState
impl Sync for MovieState
impl Unpin for MovieState
impl UnwindSafe for MovieState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,