Struct vulkano::format::FormatProperties
source · [−]pub struct FormatProperties {
pub linear_tiling_features: FormatFeatures,
pub optimal_tiling_features: FormatFeatures,
pub buffer_features: FormatFeatures,
pub _ne: NonExhaustive,
}
Expand description
The properties of a format that are supported by a physical device.
Fields
linear_tiling_features: FormatFeatures
Features available for images with linear tiling.
optimal_tiling_features: FormatFeatures
Features available for images with optimal tiling.
buffer_features: FormatFeatures
Features available for buffers.
_ne: NonExhaustive
Implementations
sourceimpl FormatProperties
impl FormatProperties
sourcepub fn potential_format_features(&self) -> FormatFeatures
pub fn potential_format_features(&self) -> FormatFeatures
Returns the potential format features, following the definition of https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/chap43.html#potential-format-features.
Trait Implementations
sourceimpl Clone for FormatProperties
impl Clone for FormatProperties
sourcefn clone(&self) -> FormatProperties
fn clone(&self) -> FormatProperties
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 FormatProperties
impl Debug for FormatProperties
sourceimpl Default for FormatProperties
impl Default for FormatProperties
sourcefn default() -> FormatProperties
fn default() -> FormatProperties
Returns the “default value” for a type. Read more
sourceimpl Hash for FormatProperties
impl Hash for FormatProperties
sourceimpl PartialEq<FormatProperties> for FormatProperties
impl PartialEq<FormatProperties> for FormatProperties
sourcefn eq(&self, other: &FormatProperties) -> bool
fn eq(&self, other: &FormatProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FormatProperties) -> bool
fn ne(&self, other: &FormatProperties) -> bool
This method tests for !=
.
impl Copy for FormatProperties
impl Eq for FormatProperties
impl StructuralEq for FormatProperties
impl StructuralPartialEq for FormatProperties
Auto Trait Implementations
impl RefUnwindSafe for FormatProperties
impl Send for FormatProperties
impl Sync for FormatProperties
impl Unpin for FormatProperties
impl UnwindSafe for FormatProperties
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more