#[repr(C)]pub struct RenderTexture {
pub id: u32,
pub texture: Texture,
pub depth: Texture,
}Fields§
§id: u32§texture: Texture§depth: TextureTrait Implementations§
Source§impl AsMut<RenderTexture> for RenderTexture2D
impl AsMut<RenderTexture> for RenderTexture2D
Source§fn as_mut(&mut self) -> &mut RenderTexture
fn as_mut(&mut self) -> &mut RenderTexture
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<RenderTexture> for WeakRenderTexture2D
impl AsMut<RenderTexture> for WeakRenderTexture2D
Source§fn as_mut(&mut self) -> &mut RenderTexture
fn as_mut(&mut self) -> &mut RenderTexture
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RenderTexture> for RenderTexture2D
impl AsRef<RenderTexture> for RenderTexture2D
Source§fn as_ref(&self) -> &RenderTexture
fn as_ref(&self) -> &RenderTexture
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<RenderTexture> for WeakRenderTexture2D
impl AsRef<RenderTexture> for WeakRenderTexture2D
Source§fn as_ref(&self) -> &RenderTexture
fn as_ref(&self) -> &RenderTexture
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RenderTexture
impl Clone for RenderTexture
Source§fn clone(&self) -> RenderTexture
fn clone(&self) -> RenderTexture
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 Debug for RenderTexture
impl Debug for RenderTexture
impl Copy for RenderTexture
Auto Trait Implementations§
impl Freeze for RenderTexture
impl RefUnwindSafe for RenderTexture
impl Send for RenderTexture
impl Sync for RenderTexture
impl Unpin for RenderTexture
impl UnsafeUnpin 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