[][src]Struct qt_gui::q_movie::MovieState

#[repr(transparent)]
pub struct MovieState(_);

This enum describes the different states of QMovie.

C++ enum: QMovie::MovieState.

C++ documentation:

This enum describes the different states of QMovie.

Methods

impl MovieState[src]

pub fn to_int(&self) -> c_int[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]

impl Copy for MovieState[src]

impl Debug for MovieState[src]

impl Eq for MovieState[src]

impl From<MovieState> for c_int[src]

impl From<i32> for MovieState[src]

impl PartialEq<MovieState> for MovieState[src]

impl StructuralEq for MovieState[src]

impl StructuralPartialEq for MovieState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.