[−][src]Enum vulkano::sync::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.
Variants
Exclusive(u32)
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 Clone for SharingMode
[src]
fn clone(&self) -> SharingMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SharingMode
[src]
impl Eq for SharingMode
[src]
impl<'a> From<&'a [&'a Arc<Queue>]> for SharingMode
[src]
impl<'a> From<&'a Arc<Queue>> for SharingMode
[src]
fn from(queue: &'a Arc<Queue>) -> SharingMode
[src]
impl PartialEq<SharingMode> for SharingMode
[src]
fn eq(&self, other: &SharingMode) -> bool
[src]
fn ne(&self, other: &SharingMode) -> bool
[src]
impl StructuralEq for SharingMode
[src]
impl StructuralPartialEq for SharingMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for SharingMode
impl Send for SharingMode
impl Sync for SharingMode
impl Unpin for SharingMode
impl UnwindSafe for SharingMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,