#[non_exhaustive]pub struct SurfaceViewMut<'a> {
pub id: SubresourceId,
pub width: u32,
pub height: u32,
pub depth: u32,
pub data: &'a mut [u8],
}Expand description
Mutable borrowed view of one subresource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: SubresourceId§width: u32§height: u32§depth: u32§data: &'a mut [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for SurfaceViewMut<'a>
impl<'a> Freeze for SurfaceViewMut<'a>
impl<'a> RefUnwindSafe for SurfaceViewMut<'a>
impl<'a> Send for SurfaceViewMut<'a>
impl<'a> Sync for SurfaceViewMut<'a>
impl<'a> Unpin for SurfaceViewMut<'a>
impl<'a> UnsafeUnpin for SurfaceViewMut<'a>
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