pub struct Texture {
pub url: String,
pub animation: Option<Animation>,
pub writable: bool,
}Fields§
§url: Stringdata:image/png;base64,...
animation: Option<Animation>Its .png.mcmeta animation, if it has one.
writable: boolThe texture is the mod’s own file — the editor can paint it in place (otherwise painting copies it into the mod first).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Texture
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnsafeUnpin for Texture
impl UnwindSafe for Texture
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