pub struct AllocateBuffer {
pub context_id: u64,
pub bytes: u64,
pub alignment: u64,
pub memory_domain: u8,
pub usage: u32,
}Fields§
§context_id: u64§bytes: u64§alignment: u64§memory_domain: u8§usage: u32Trait Implementations§
Source§impl Clone for AllocateBuffer
impl Clone for AllocateBuffer
Source§fn clone(&self) -> AllocateBuffer
fn clone(&self) -> AllocateBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AllocateBuffer
Source§impl Debug for AllocateBuffer
impl Debug for AllocateBuffer
impl Eq for AllocateBuffer
Source§impl PartialEq for AllocateBuffer
impl PartialEq for AllocateBuffer
Source§fn eq(&self, other: &AllocateBuffer) -> bool
fn eq(&self, other: &AllocateBuffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AllocateBuffer
Auto Trait Implementations§
impl Freeze for AllocateBuffer
impl RefUnwindSafe for AllocateBuffer
impl Send for AllocateBuffer
impl Sync for AllocateBuffer
impl Unpin for AllocateBuffer
impl UnsafeUnpin for AllocateBuffer
impl UnwindSafe for AllocateBuffer
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