pub struct CxPlatformTexture {
pub alloc_desc: TextureDesc,
pub width: u64,
pub height: u64,
pub gl_texture: Option<u32>,
}
Fields§
§alloc_desc: TextureDesc
§width: u64
§height: u64
§gl_texture: Option<u32>
Trait Implementations§
Source§impl Clone for CxPlatformTexture
impl Clone for CxPlatformTexture
Source§fn clone(&self) -> CxPlatformTexture
fn clone(&self) -> CxPlatformTexture
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 moreSource§impl Default for CxPlatformTexture
impl Default for CxPlatformTexture
Source§fn default() -> CxPlatformTexture
fn default() -> CxPlatformTexture
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CxPlatformTexture
impl RefUnwindSafe for CxPlatformTexture
impl Send for CxPlatformTexture
impl Sync for CxPlatformTexture
impl Unpin for CxPlatformTexture
impl UnwindSafe for CxPlatformTexture
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