Struct vulkano::sync::ExternalSemaphoreProperties
source · [−]#[non_exhaustive]pub struct ExternalSemaphoreProperties {
pub exportable: bool,
pub importable: bool,
pub export_from_imported_handle_types: ExternalSemaphoreHandleTypes,
pub compatible_handle_types: ExternalSemaphoreHandleTypes,
}
Expand description
The properties for exporting or importing external handles, when a semaphore 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: ExternalSemaphoreHandleTypes
Which external handle types can be re-exported after the queried external handle type has been imported.
compatible_handle_types: ExternalSemaphoreHandleTypes
Which external handle types can be enabled along with the queried external handle type when creating the semaphore.
Trait Implementations
sourceimpl Clone for ExternalSemaphoreProperties
impl Clone for ExternalSemaphoreProperties
sourcefn clone(&self) -> ExternalSemaphoreProperties
fn clone(&self) -> ExternalSemaphoreProperties
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 moreAuto Trait Implementations
impl RefUnwindSafe for ExternalSemaphoreProperties
impl Send for ExternalSemaphoreProperties
impl Sync for ExternalSemaphoreProperties
impl Unpin for ExternalSemaphoreProperties
impl UnwindSafe for ExternalSemaphoreProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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