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: BufferIdoffset: BufferAddresssize: 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 moresourceimpl 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
impl Eq for BufferBinding
impl StructuralEq for BufferBinding
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.