pub enum UpdateTexturesResult {
Unchanged,
Changed,
}
Expand description
You must use this to avoid attempting to modify a texture that’s still in use.
Variants
Unchanged
No texture will be modified in this frame.
Changed
A texture will be modified in this frame, and you must wait for the last frame to finish before submitting the next command buffer.
Trait Implementations
impl StructuralPartialEq for UpdateTexturesResult
Auto Trait Implementations
impl RefUnwindSafe for UpdateTexturesResult
impl Send for UpdateTexturesResult
impl Sync for UpdateTexturesResult
impl Unpin for UpdateTexturesResult
impl UnwindSafe for UpdateTexturesResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more