pub struct RegisteredRegion {
pub index: u32,
pub offset: u32,
pub length: u32,
}Expand description
A region of one of the backend’s registered buffers.
Fields§
§index: u32Which registered buffer, by its position in the registration.
offset: u32Where in that buffer the region starts.
length: u32How many bytes it holds.
Trait Implementations§
Source§impl Clone for RegisteredRegion
impl Clone for RegisteredRegion
Source§fn clone(&self) -> RegisteredRegion
fn clone(&self) -> RegisteredRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegisteredRegion
Source§impl Debug for RegisteredRegion
impl Debug for RegisteredRegion
impl Eq for RegisteredRegion
Source§impl Hash for RegisteredRegion
impl Hash for RegisteredRegion
Source§impl PartialEq for RegisteredRegion
impl PartialEq for RegisteredRegion
impl StructuralPartialEq for RegisteredRegion
Auto Trait Implementations§
impl Freeze for RegisteredRegion
impl RefUnwindSafe for RegisteredRegion
impl Send for RegisteredRegion
impl Sync for RegisteredRegion
impl Unpin for RegisteredRegion
impl UnsafeUnpin for RegisteredRegion
impl UnwindSafe for RegisteredRegion
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