pub struct BufferRange {
pub offset: u64,
pub bytes: u64,
}Expand description
Physical buffer range touched by a resident wgpu submission.
Fields§
§offset: u64Byte offset inside the logical resident tensor buffer.
bytes: u64Number of bytes touched.
Trait Implementations§
Source§impl Clone for BufferRange
impl Clone for BufferRange
Source§fn clone(&self) -> BufferRange
fn clone(&self) -> BufferRange
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 moreSource§impl Debug for BufferRange
impl Debug for BufferRange
impl Eq for BufferRange
Source§impl From<&WgpuResidentSegment> for BufferRange
impl From<&WgpuResidentSegment> for BufferRange
Source§fn from(segment: &WgpuResidentSegment) -> Self
fn from(segment: &WgpuResidentSegment) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BufferRange
impl PartialEq for BufferRange
impl StructuralPartialEq for BufferRange
Auto Trait Implementations§
impl Freeze for BufferRange
impl RefUnwindSafe for BufferRange
impl Send for BufferRange
impl Sync for BufferRange
impl Unpin for BufferRange
impl UnsafeUnpin for BufferRange
impl UnwindSafe for BufferRange
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.