pub struct StagingPlane {
pub offset: u64,
pub stride: u32,
}Expand description
Where one plane sits in a mapped readback staging buffer.
Fields§
§offset: u64Byte offset of the plane’s first row.
stride: u32Bytes from the start of one row to the start of the next.
Trait Implementations§
Source§impl Clone for StagingPlane
impl Clone for StagingPlane
impl Copy for StagingPlane
Source§impl Debug for StagingPlane
impl Debug for StagingPlane
impl Eq for StagingPlane
Source§impl PartialEq for StagingPlane
impl PartialEq for StagingPlane
impl StructuralPartialEq for StagingPlane
Auto Trait Implementations§
impl Freeze for StagingPlane
impl RefUnwindSafe for StagingPlane
impl Send for StagingPlane
impl Sync for StagingPlane
impl Unpin for StagingPlane
impl UnsafeUnpin for StagingPlane
impl UnwindSafe for StagingPlane
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.