Struct screen_13::driver::buffer::BufferSubresource
source · pub struct BufferSubresource {
pub start: DeviceSize,
pub end: DeviceSize,
}
Expand description
Specifies a range of buffer data.
Fields§
§start: DeviceSize
The start of range.
end: DeviceSize
The non-inclusive end of the range.
Trait Implementations§
source§impl Clone for BufferSubresource
impl Clone for BufferSubresource
source§fn clone(&self) -> BufferSubresource
fn clone(&self) -> BufferSubresource
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 BufferSubresource
impl Debug for BufferSubresource
source§impl From<BufferInfo> for BufferSubresource
impl From<BufferInfo> for BufferSubresource
source§fn from(info: BufferInfo) -> Self
fn from(info: BufferInfo) -> Self
Converts to this type from the input type.
source§impl From<BufferSubresource> for Range<DeviceSize>
impl From<BufferSubresource> for Range<DeviceSize>
source§fn from(subresource: BufferSubresource) -> Self
fn from(subresource: BufferSubresource) -> Self
Converts to this type from the input type.
source§impl From<BufferSubresource> for Subresource
impl From<BufferSubresource> for Subresource
source§fn from(subresource: BufferSubresource) -> Self
fn from(subresource: BufferSubresource) -> Self
Converts to this type from the input type.
source§impl From<BufferSubresource> for ViewType
impl From<BufferSubresource> for ViewType
source§fn from(subresource: BufferSubresource) -> Self
fn from(subresource: BufferSubresource) -> Self
Converts to this type from the input type.
source§impl From<Range<u64>> for BufferSubresource
impl From<Range<u64>> for BufferSubresource
source§fn from(range: Range<DeviceSize>) -> Self
fn from(range: Range<DeviceSize>) -> Self
Converts to this type from the input type.
source§impl PartialEq for BufferSubresource
impl PartialEq for BufferSubresource
source§fn eq(&self, other: &BufferSubresource) -> bool
fn eq(&self, other: &BufferSubresource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BufferSubresource
impl Eq for BufferSubresource
impl StructuralPartialEq for BufferSubresource
Auto Trait Implementations§
impl RefUnwindSafe for BufferSubresource
impl Send for BufferSubresource
impl Sync for BufferSubresource
impl Unpin for BufferSubresource
impl UnwindSafe for BufferSubresource
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