[−][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
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]
pub fn clone(&self) -> SharingMode
[src]
pub 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]
pub fn from(queue: &'a Arc<Queue>) -> SharingMode
[src]
impl PartialEq<SharingMode> for SharingMode
[src]
pub fn eq(&self, other: &SharingMode) -> bool
[src]
pub fn ne(&self, other: &SharingMode) -> bool
[src]
impl StructuralEq for SharingMode
[src]
impl StructuralPartialEq for SharingMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for SharingMode
[src]
impl Send for SharingMode
[src]
impl Sync for SharingMode
[src]
impl Unpin for SharingMode
[src]
impl UnwindSafe for SharingMode
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,