#[repr(C)]pub struct FormatProperties {
pub linear_tiling_features: FormatFeatureFlags,
pub optimal_tiling_features: FormatFeatureFlags,
pub buffer_features: FormatFeatureFlags,
}Expand description
Native structure VkFormatProperties.
Fields§
§linear_tiling_features: FormatFeatureFlagsNative field linearTilingFeatures.
optimal_tiling_features: FormatFeatureFlagsNative field optimalTilingFeatures.
buffer_features: FormatFeatureFlagsNative field bufferFeatures.
Implementations§
Source§impl FormatProperties
impl FormatProperties
Sourcepub fn set_linear_tiling_features(self, value: FormatFeatureFlags) -> Self
pub fn set_linear_tiling_features(self, value: FormatFeatureFlags) -> Self
Set native field linearTilingFeatures without native effects.
Sourcepub fn set_optimal_tiling_features(self, value: FormatFeatureFlags) -> Self
pub fn set_optimal_tiling_features(self, value: FormatFeatureFlags) -> Self
Set native field optimalTilingFeatures without native effects.
Sourcepub fn set_buffer_features(self, value: FormatFeatureFlags) -> Self
pub fn set_buffer_features(self, value: FormatFeatureFlags) -> Self
Set native field bufferFeatures without native effects.
Trait Implementations§
Source§impl Clone for FormatProperties
impl Clone for FormatProperties
impl Copy for FormatProperties
Auto Trait Implementations§
impl Forget for FormatProperties
impl Freeze for FormatProperties
impl Move for FormatProperties
impl RefUnwindSafe for FormatProperties
impl Send for FormatProperties
impl Sync for FormatProperties
impl Unpin for FormatProperties
impl UnsafeUnpin for FormatProperties
impl UnwindSafe for FormatProperties
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