Struct raui_tetra_renderer::simple_host::PreloadedTexture
source · pub struct PreloadedTexture<'a> {
pub id: &'a str,
pub path: &'a str,
}
Expand description
A texture that will be pre-loaded during the init of a TetraSimpleHost
Fields§
§id: &'a str
The ID that will be used to reference the texture in UI code
path: &'a str
The path to the texture image file
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PreloadedTexture<'a>
impl<'a> Send for PreloadedTexture<'a>
impl<'a> Sync for PreloadedTexture<'a>
impl<'a> Unpin for PreloadedTexture<'a>
impl<'a> UnwindSafe for PreloadedTexture<'a>
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