Struct vulkano::memory::allocator::MemoryTypeFilter
source · pub struct MemoryTypeFilter {
pub required_flags: MemoryPropertyFlags,
pub preferred_flags: MemoryPropertyFlags,
pub not_preferred_flags: MemoryPropertyFlags,
}
Expand description
Describes what memory property flags are required, preferred and not preferred when picking a memory type index.
Fields§
§required_flags: MemoryPropertyFlags
§preferred_flags: MemoryPropertyFlags
§not_preferred_flags: MemoryPropertyFlags
Trait Implementations§
source§impl Clone for MemoryTypeFilter
impl Clone for MemoryTypeFilter
source§fn clone(&self) -> MemoryTypeFilter
fn clone(&self) -> MemoryTypeFilter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemoryTypeFilter
impl Debug for MemoryTypeFilter
source§impl Default for MemoryTypeFilter
impl Default for MemoryTypeFilter
source§fn default() -> MemoryTypeFilter
fn default() -> MemoryTypeFilter
Returns the “default value” for a type. Read more
source§impl From<MemoryUsage> for MemoryTypeFilter
impl From<MemoryUsage> for MemoryTypeFilter
source§fn from(usage: MemoryUsage) -> Self
fn from(usage: MemoryUsage) -> Self
Converts to this type from the input type.
source§impl PartialEq<MemoryTypeFilter> for MemoryTypeFilter
impl PartialEq<MemoryTypeFilter> for MemoryTypeFilter
source§fn eq(&self, other: &MemoryTypeFilter) -> bool
fn eq(&self, other: &MemoryTypeFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.