[][src]Enum vulkano::sync::Sharing

pub enum Sharing<I> where
    I: Iterator<Item = u32>, 
{ Exclusive, Concurrent(I), }

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

impl<I: Clone> Clone for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

impl<I: Debug> Debug for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

impl<I: Eq> Eq for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

impl<I: PartialEq> PartialEq<Sharing<I>> for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

impl<I> StructuralEq for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

impl<I> StructuralPartialEq for Sharing<I> where
    I: Iterator<Item = u32>, 
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.