Struct classicube_sys::Texture
source · #[repr(C)]pub struct Texture {
pub ID: GfxResourceID,
pub x: c_short,
pub y: c_short,
pub width: cc_uint16,
pub height: cc_uint16,
pub uv: TextureRec,
}
Fields§
§ID: GfxResourceID
§x: c_short
§y: c_short
§width: cc_uint16
§height: cc_uint16
§uv: TextureRec
Trait Implementations§
source§impl Borrow<Texture> for OwnedTexture
impl Borrow<Texture> for OwnedTexture
source§impl PartialEq for Texture
impl PartialEq for Texture
impl StructuralPartialEq for Texture
Auto Trait Implementations§
impl Freeze for Texture
impl RefUnwindSafe for Texture
impl !Send for Texture
impl !Sync for Texture
impl Unpin 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