#[repr(transparent)]pub struct SDL_ProgressState(pub c_int);Expand description
Window progress state
Available Since: This enum is available since SDL 3.2.8.
Tuple Fields§
§0: c_intImplementations§
Source§impl SDL_ProgressState
impl SDL_ProgressState
Sourcepub const SDL_PROGRESS_STATE_INVALID: SDL_ProgressState
pub const SDL_PROGRESS_STATE_INVALID: SDL_ProgressState
< An invalid progress state indicating an error; check SDL_GetError()
Sourcepub const SDL_PROGRESS_STATE_NONE: SDL_ProgressState
pub const SDL_PROGRESS_STATE_NONE: SDL_ProgressState
< No progress bar is shown
Sourcepub const SDL_PROGRESS_STATE_INDETERMINATE: SDL_ProgressState
pub const SDL_PROGRESS_STATE_INDETERMINATE: SDL_ProgressState
< The progress bar is shown in a indeterminate state
Sourcepub const SDL_PROGRESS_STATE_NORMAL: SDL_ProgressState
pub const SDL_PROGRESS_STATE_NORMAL: SDL_ProgressState
< The progress bar is shown in a normal state
Sourcepub const SDL_PROGRESS_STATE_PAUSED: SDL_ProgressState
pub const SDL_PROGRESS_STATE_PAUSED: SDL_ProgressState
< The progress bar is shown in a paused state
Sourcepub const SDL_PROGRESS_STATE_ERROR: SDL_ProgressState
pub const SDL_PROGRESS_STATE_ERROR: SDL_ProgressState
< The progress bar is shown in a state indicating the application had an error
Trait Implementations§
Source§impl Clone for SDL_ProgressState
impl Clone for SDL_ProgressState
Source§fn clone(&self) -> SDL_ProgressState
fn clone(&self) -> SDL_ProgressState
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 moreSource§impl Debug for SDL_ProgressState
impl Debug for SDL_ProgressState
Source§impl Hash for SDL_ProgressState
impl Hash for SDL_ProgressState
Source§impl PartialEq for SDL_ProgressState
impl PartialEq for SDL_ProgressState
impl Copy for SDL_ProgressState
impl Eq for SDL_ProgressState
impl StructuralPartialEq for SDL_ProgressState
Auto Trait Implementations§
impl Freeze for SDL_ProgressState
impl RefUnwindSafe for SDL_ProgressState
impl Send for SDL_ProgressState
impl Sync for SDL_ProgressState
impl Unpin for SDL_ProgressState
impl UnsafeUnpin for SDL_ProgressState
impl UnwindSafe for SDL_ProgressState
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