Struct vulkanalia_sys::SparseMemoryBind
source · [−]#[repr(C)]pub struct SparseMemoryBind {
pub resource_offset: DeviceSize,
pub size: DeviceSize,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub flags: SparseMemoryBindFlags,
}
Expand description
Fields
resource_offset: DeviceSize
size: DeviceSize
memory: DeviceMemory
memory_offset: DeviceSize
flags: SparseMemoryBindFlags
Trait Implementations
sourceimpl Clone for SparseMemoryBind
impl Clone for SparseMemoryBind
sourcefn clone(&self) -> SparseMemoryBind
fn clone(&self) -> SparseMemoryBind
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 SparseMemoryBind
impl Debug for SparseMemoryBind
sourceimpl Default for SparseMemoryBind
impl Default for SparseMemoryBind
sourcefn default() -> SparseMemoryBind
fn default() -> SparseMemoryBind
Returns the “default value” for a type. Read more
sourceimpl Hash for SparseMemoryBind
impl Hash for SparseMemoryBind
sourceimpl PartialEq<SparseMemoryBind> for SparseMemoryBind
impl PartialEq<SparseMemoryBind> for SparseMemoryBind
sourcefn eq(&self, other: &SparseMemoryBind) -> bool
fn eq(&self, other: &SparseMemoryBind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SparseMemoryBind) -> bool
fn ne(&self, other: &SparseMemoryBind) -> bool
This method tests for !=
.
impl Copy for SparseMemoryBind
impl Eq for SparseMemoryBind
impl StructuralEq for SparseMemoryBind
impl StructuralPartialEq for SparseMemoryBind
Auto Trait Implementations
impl RefUnwindSafe for SparseMemoryBind
impl Send for SparseMemoryBind
impl Sync for SparseMemoryBind
impl Unpin for SparseMemoryBind
impl UnwindSafe for SparseMemoryBind
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more