Enum vulkano::sync::Sharing [−][src]
pub enum Sharing<I> where
I: IntoIterator<Item = u32>, {
Exclusive,
Concurrent(I),
}
Expand description
Declares in which queue(s) a resource can be used.
Variants
Exclusive
The resource is used is only one queue family.
Concurrent(I)
The resource is used in multiple queue families. Can be slower than Exclusive
.
Trait Implementations
Auto Trait Implementations
impl<I> RefUnwindSafe for Sharing<I> where
I: RefUnwindSafe,
impl<I> UnwindSafe for Sharing<I> where
I: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.