Struct gfx_hal::ExternalMemoryLimits
source · [−]pub struct ExternalMemoryLimits {
pub min_imported_host_pointer_alignment: u64,
}
Expand description
Physical device limits for external memory management
Fields
min_imported_host_pointer_alignment: u64
Alignment required for an imported host pointer
Trait Implementations
sourceimpl Clone for ExternalMemoryLimits
impl Clone for ExternalMemoryLimits
sourcefn clone(&self) -> ExternalMemoryLimits
fn clone(&self) -> ExternalMemoryLimits
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 ExternalMemoryLimits
impl Debug for ExternalMemoryLimits
sourceimpl Default for ExternalMemoryLimits
impl Default for ExternalMemoryLimits
sourceimpl PartialEq<ExternalMemoryLimits> for ExternalMemoryLimits
impl PartialEq<ExternalMemoryLimits> for ExternalMemoryLimits
sourcefn eq(&self, other: &ExternalMemoryLimits) -> bool
fn eq(&self, other: &ExternalMemoryLimits) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExternalMemoryLimits) -> bool
fn ne(&self, other: &ExternalMemoryLimits) -> bool
This method tests for !=
.
impl Copy for ExternalMemoryLimits
impl StructuralPartialEq for ExternalMemoryLimits
Auto Trait Implementations
impl RefUnwindSafe for ExternalMemoryLimits
impl Send for ExternalMemoryLimits
impl Sync for ExternalMemoryLimits
impl Unpin for ExternalMemoryLimits
impl UnwindSafe for ExternalMemoryLimits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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