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: Iterator<Item = u32>,
impl<I: PartialEq> PartialEq<Sharing<I>> for Sharing<I>where
I: Iterator<Item = u32>,
impl<I: Eq> Eq for Sharing<I>where
I: Iterator<Item = u32>,
impl<I> StructuralEq for Sharing<I>where
I: Iterator<Item = u32>,
impl<I> StructuralPartialEq for Sharing<I>where
I: Iterator<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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.