Struct wgpu_core::command::StateChange
source · struct StateChange<T> {
last_state: Option<T>,
}
Fields§
§last_state: Option<T>
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for StateChange<T>
impl<T: Clone> Clone for StateChange<T>
source§fn clone(&self) -> StateChange<T>
fn clone(&self) -> StateChange<T>
Returns a copy 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<T: Debug> Debug for StateChange<T>
impl<T: Debug> Debug for StateChange<T>
impl<T: Copy> Copy for StateChange<T>
Auto Trait Implementations§
impl<T> Freeze for StateChange<T>where
T: Freeze,
impl<T> RefUnwindSafe for StateChange<T>where
T: RefUnwindSafe,
impl<T> Send for StateChange<T>where
T: Send,
impl<T> Sync for StateChange<T>where
T: Sync,
impl<T> Unpin for StateChange<T>where
T: Unpin,
impl<T> UnwindSafe for StateChange<T>where
T: UnwindSafe,
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