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
sourceimpl<I: PartialEq> PartialEq<Sharing<I>> for Sharing<I>where
I: IntoIterator<Item = u32>,
impl<I: PartialEq> PartialEq<Sharing<I>> for Sharing<I>where
I: IntoIterator<Item = u32>,
impl<I: Eq> Eq for Sharing<I>where
I: IntoIterator<Item = u32>,
impl<I> StructuralEq for Sharing<I>where
I: IntoIterator<Item = u32>,
impl<I> StructuralPartialEq for Sharing<I>where
I: IntoIterator<Item = u32>,
Auto Trait Implementations
impl<I> RefUnwindSafe for Sharing<I>where
I: RefUnwindSafe,
impl<I> Send for Sharing<I>where
I: Send,
impl<I> Sync for Sharing<I>where
I: Sync,
impl<I> Unpin for Sharing<I>where
I: Unpin,
impl<I> UnwindSafe for Sharing<I>where
I: UnwindSafe,
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