Enum webgl_rc::TextureContent
source · [−]pub enum TextureContent {
None,
Image(HtmlImageElement),
Bytes(Vec<u8>),
}Variants
None
Image(HtmlImageElement)
Bytes(Vec<u8>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextureContent
impl !Send for TextureContent
impl !Sync for TextureContent
impl Unpin for TextureContent
impl UnwindSafe for TextureContent
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