pub struct WebTexture2D {
pub id: TextureID,
pub path: &'static str,
pub width: u32,
pub height: u32,
pub index: Option<[u32; 2]>,
}Fields§
§id: TextureID§path: &'static str§width: u32§height: u32§index: Option<[u32; 2]>Implementations§
Trait Implementations§
Source§impl Clone for WebTexture2D
impl Clone for WebTexture2D
Source§fn clone(&self) -> WebTexture2D
fn clone(&self) -> WebTexture2D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WebTexture2D
impl RefUnwindSafe for WebTexture2D
impl Send for WebTexture2D
impl Sync for WebTexture2D
impl Unpin for WebTexture2D
impl UnwindSafe for WebTexture2D
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