pub enum TextureContent {
None,
Image(HtmlImageElement),
Bytes(Vec<u8>),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextureContent
impl RefUnwindSafe for TextureContent
impl !Send for TextureContent
impl !Sync for TextureContent
impl Unpin for TextureContent
impl UnwindSafe for TextureContent
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