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

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: Eq> Eq for Sharing<I> where I: Iterator<Item=u32>
[src]

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

fn eq(&self, __arg_0: &Sharing<I>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Sharing<I>) -> bool

This method tests for !=.

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

fn clone(&self) -> Sharing<I>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.