pub enum TextureUpdateSource {
External {
id: ExternalImageId,
channel_index: u8,
},
Bytes {
data: Arc<Vec<u8>>,
},
DebugClear,
}
Variants§
External
Bytes
DebugClear
Clears the target area, rather than uploading any pixels. Used when the texture cache debug display is active.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TextureUpdateSource
impl Send for TextureUpdateSource
impl Sync for TextureUpdateSource
impl Unpin for TextureUpdateSource
impl UnwindSafe for TextureUpdateSource
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