pub struct SurfaceAttachment {
pub texture: Texture,
pub layer: usize,
}
Fields§
§texture: Texture
§layer: usize
Trait Implementations§
Source§impl Clone for SurfaceAttachment
impl Clone for SurfaceAttachment
Source§fn clone(&self) -> SurfaceAttachment
fn clone(&self) -> SurfaceAttachment
Returns a copy 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 SurfaceAttachment
impl Debug for SurfaceAttachment
Source§impl From<Texture> for SurfaceAttachment
impl From<Texture> for SurfaceAttachment
Source§impl PartialEq for SurfaceAttachment
impl PartialEq for SurfaceAttachment
impl StructuralPartialEq for SurfaceAttachment
Auto Trait Implementations§
impl Freeze for SurfaceAttachment
impl !RefUnwindSafe for SurfaceAttachment
impl !Send for SurfaceAttachment
impl !Sync for SurfaceAttachment
impl Unpin for SurfaceAttachment
impl !UnwindSafe for SurfaceAttachment
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