#[repr(C)]pub struct RenderTexture {
pub width: i32,
pub height: i32,
/* private fields */
}
Fields§
§width: i32
§height: i32
Implementations§
Source§impl RenderTexture
impl RenderTexture
pub fn new(width: i32, height: i32) -> Result<RenderTexture, TextureError>
Trait Implementations§
Source§impl DBTex for RenderTexture
impl DBTex for RenderTexture
fn get_handle(&self) -> i32
Auto Trait Implementations§
impl Freeze for RenderTexture
impl RefUnwindSafe for RenderTexture
impl Send for RenderTexture
impl Sync for RenderTexture
impl Unpin for RenderTexture
impl UnwindSafe for RenderTexture
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