Struct graphics_tree::TextureInner
source · Expand description
Stores the inner data to keep track of a texture.
Fields
id: Option<u64>
Id used by TextureBuffer
to look up texture.
needs_update: bool
Whether the texture needs to be updated.
image: RgbaImage
The image data associated with a texture.
Auto Trait Implementations
impl RefUnwindSafe for TextureInner
impl Send for TextureInner
impl Sync for TextureInner
impl Unpin for TextureInner
impl UnwindSafe for TextureInner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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