Struct vulkano::sync::ExternalFenceProperties
source · #[non_exhaustive]pub struct ExternalFenceProperties {
pub exportable: bool,
pub importable: bool,
pub export_from_imported_handle_types: ExternalFenceHandleTypes,
pub compatible_handle_types: ExternalFenceHandleTypes,
}
Expand description
The properties for exporting or importing external handles, when a fence is created with a specific configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.exportable: bool
Whether a handle can be exported to an external source with the queried external handle type.
importable: bool
Whether a handle can be imported from an external source with the queried external handle type.
export_from_imported_handle_types: ExternalFenceHandleTypes
Which external handle types can be re-exported after the queried external handle type has been imported.
compatible_handle_types: ExternalFenceHandleTypes
Which external handle types can be enabled along with the queried external handle type when creating the fence.
Trait Implementations§
source§impl Clone for ExternalFenceProperties
impl Clone for ExternalFenceProperties
source§fn clone(&self) -> ExternalFenceProperties
fn clone(&self) -> ExternalFenceProperties
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 more