[][src]Enum vulkano::sync::SharingMode

pub enum SharingMode {

Declares in which queue(s) a resource can be used.

When you create a buffer or an image, you have to tell the Vulkan library in which queue families it will be used. The vulkano library requires you to tell in which queue family the resource will be used, even for exclusive mode.



The resource is used is only one queue family.


The resource is used in multiple queue families. Can be slower than Exclusive.

Trait Implementations

impl<'a> From<&'a Arc<Queue>> for SharingMode[src]

impl<'a> From<&'a [&'a Arc<Queue>]> for SharingMode[src]

impl Clone for SharingMode[src]

impl Eq for SharingMode[src]

impl PartialEq<SharingMode> for SharingMode[src]

impl Debug for SharingMode[src]

impl StructuralPartialEq for SharingMode[src]

impl StructuralEq for SharingMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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