pub struct SurfaceTexture {
pub texture: Option<Texture>,
pub status: Option<SurfaceGetCurrentTextureStatus>,
/* private fields */
}Fields§
§texture: Option<Texture>§status: Option<SurfaceGetCurrentTextureStatus>Implementations§
Source§impl SurfaceTexture
impl SurfaceTexture
pub fn new() -> Self
pub fn with_extension(self, extension: SurfaceTextureExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SurfaceTexture
impl RefUnwindSafe for SurfaceTexture
impl Send for SurfaceTexture
impl Sync for SurfaceTexture
impl Unpin for SurfaceTexture
impl UnsafeUnpin for SurfaceTexture
impl UnwindSafe for SurfaceTexture
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