#[repr(i32)]pub enum ProgressState {
Invalid = -1,
None = 0,
Indeterminate = 1,
Normal = 2,
Paused = 3,
Error = 4,
}Expand description
Window progress state
Variants§
Implementations§
Source§impl ProgressState
impl ProgressState
pub fn from_ll(state: SDL_ProgressState) -> ProgressState
pub fn to_ll(self) -> SDL_ProgressState
Trait Implementations§
Source§impl Clone for ProgressState
impl Clone for ProgressState
Source§fn clone(&self) -> ProgressState
fn clone(&self) -> ProgressState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgressState
impl Debug for ProgressState
Source§impl Hash for ProgressState
impl Hash for ProgressState
Source§impl PartialEq for ProgressState
impl PartialEq for ProgressState
Source§fn eq(&self, other: &ProgressState) -> bool
fn eq(&self, other: &ProgressState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProgressState
impl Eq for ProgressState
impl StructuralPartialEq for ProgressState
Auto Trait Implementations§
impl Freeze for ProgressState
impl RefUnwindSafe for ProgressState
impl Send for ProgressState
impl Sync for ProgressState
impl Unpin for ProgressState
impl UnsafeUnpin for ProgressState
impl UnwindSafe for 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