pub struct LoadingState {
pub in_loading: bool,
pub loading_progress: f32,
pub err: Option<String>,
}Fields§
§in_loading: bool§loading_progress: f32§err: Option<String>Trait Implementations§
Source§impl Clone for LoadingState
impl Clone for LoadingState
Source§fn clone(&self) -> LoadingState
fn clone(&self) -> LoadingState
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 LoadingState
impl Debug for LoadingState
Source§impl Default for LoadingState
impl Default for LoadingState
Source§fn default() -> LoadingState
fn default() -> LoadingState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadingState
impl RefUnwindSafe for LoadingState
impl Send for LoadingState
impl Sync for LoadingState
impl Unpin for LoadingState
impl UnwindSafe for LoadingState
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