Struct wgpu_core::binding_model::BufferBinding
source · [−]#[repr(C)]pub struct BufferBinding {
pub buffer_id: BufferId,
pub offset: BufferAddress,
pub size: Option<BufferSize>,
}
Fields
buffer_id: BufferId
offset: BufferAddress
size: Option<BufferSize>
Trait Implementations
sourceimpl Clone for BufferBinding
impl Clone for BufferBinding
sourcefn clone(&self) -> BufferBinding
fn clone(&self) -> BufferBinding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BufferBinding
impl Debug for BufferBinding
sourceimpl Hash for BufferBinding
impl Hash for BufferBinding
sourceimpl PartialEq<BufferBinding> for BufferBinding
impl PartialEq<BufferBinding> for BufferBinding
sourcefn eq(&self, other: &BufferBinding) -> bool
fn eq(&self, other: &BufferBinding) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BufferBinding) -> bool
fn ne(&self, other: &BufferBinding) -> bool
This method tests for !=
.
impl StructuralPartialEq for BufferBinding
Auto Trait Implementations
impl !RefUnwindSafe for BufferBinding
impl Send for BufferBinding
impl Sync for BufferBinding
impl Unpin for BufferBinding
impl !UnwindSafe for BufferBinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more