pub struct BufferPiece {
pub buffer: Buffer,
pub offset: u64,
}Fields§
§buffer: Buffer§offset: u64Implementations§
Trait Implementations§
Source§impl Clone for BufferPiece
impl Clone for BufferPiece
Source§fn clone(&self) -> BufferPiece
fn clone(&self) -> BufferPiece
Returns a duplicate 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 BufferPiece
impl Debug for BufferPiece
Source§impl From<Buffer> for BufferPiece
impl From<Buffer> for BufferPiece
Source§impl HasShaderBinding for BufferPiece
impl HasShaderBinding for BufferPiece
const TYPE: ShaderBinding = ShaderBinding::Buffer
Source§impl ShaderBindable for BufferPiece
impl ShaderBindable for BufferPiece
fn bind_to(&self, ctx: &mut PipelineContext<'_>, index: u32)
impl Copy for BufferPiece
Auto Trait Implementations§
impl Freeze for BufferPiece
impl RefUnwindSafe for BufferPiece
impl Send for BufferPiece
impl Sync for BufferPiece
impl Unpin for BufferPiece
impl UnwindSafe for BufferPiece
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