Struct vulkano::buffer::BufferInner [−][src]
pub struct BufferInner<'a> { pub buffer: &'a UnsafeBuffer, pub offset: DeviceSize, }
Expand description
Inner information about a buffer.
Fields
buffer: &'a UnsafeBuffer
The underlying buffer object.
offset: DeviceSize
The offset in bytes from the start of the underlying buffer object to the start of the buffer we’re describing.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for BufferInner<'a>
impl<'a> Send for BufferInner<'a>
impl<'a> Sync for BufferInner<'a>
impl<'a> Unpin for BufferInner<'a>
impl<'a> UnwindSafe for BufferInner<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.