#[repr(C)]pub struct ExternalMemoryProperties {
pub external_memory_features: ExternalMemoryFeatureFlags,
pub export_from_imported_handle_types: ExternalMemoryHandleTypeFlags,
pub compatible_handle_types: ExternalMemoryHandleTypeFlags,
}Expand description
Native structure VkExternalMemoryProperties.
Fields§
§external_memory_features: ExternalMemoryFeatureFlagsNative field externalMemoryFeatures.
export_from_imported_handle_types: ExternalMemoryHandleTypeFlagsNative field exportFromImportedHandleTypes.
compatible_handle_types: ExternalMemoryHandleTypeFlagsNative field compatibleHandleTypes.
Implementations§
Source§impl ExternalMemoryProperties
impl ExternalMemoryProperties
Sourcepub fn set_external_memory_features(
self,
value: ExternalMemoryFeatureFlags,
) -> Self
pub fn set_external_memory_features( self, value: ExternalMemoryFeatureFlags, ) -> Self
Set native field externalMemoryFeatures without native effects.
Sourcepub fn set_export_from_imported_handle_types(
self,
value: ExternalMemoryHandleTypeFlags,
) -> Self
pub fn set_export_from_imported_handle_types( self, value: ExternalMemoryHandleTypeFlags, ) -> Self
Set native field exportFromImportedHandleTypes without native effects.
Sourcepub fn set_compatible_handle_types(
self,
value: ExternalMemoryHandleTypeFlags,
) -> Self
pub fn set_compatible_handle_types( self, value: ExternalMemoryHandleTypeFlags, ) -> Self
Set native field compatibleHandleTypes without native effects.
Trait Implementations§
Source§impl Clone for ExternalMemoryProperties
impl Clone for ExternalMemoryProperties
impl Copy for ExternalMemoryProperties
Auto Trait Implementations§
impl Forget for ExternalMemoryProperties
impl Freeze for ExternalMemoryProperties
impl Move for ExternalMemoryProperties
impl RefUnwindSafe for ExternalMemoryProperties
impl Send for ExternalMemoryProperties
impl Sync for ExternalMemoryProperties
impl Unpin for ExternalMemoryProperties
impl UnsafeUnpin for ExternalMemoryProperties
impl UnwindSafe for ExternalMemoryProperties
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