Enum wgpu_core::track::texture::SingleOrManyStates
source · enum SingleOrManyStates<S, M> {
Single(S),
Many(M),
}
Expand description
Container that signifies storing both different things if there is a single state or many different states involved in the operation.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<S, M> Freeze for SingleOrManyStates<S, M>
impl<S, M> RefUnwindSafe for SingleOrManyStates<S, M>where
S: RefUnwindSafe,
M: RefUnwindSafe,
impl<S, M> Send for SingleOrManyStates<S, M>
impl<S, M> Sync for SingleOrManyStates<S, M>
impl<S, M> Unpin for SingleOrManyStates<S, M>
impl<S, M> UnwindSafe for SingleOrManyStates<S, M>where
S: UnwindSafe,
M: 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