[−][src]Struct rendy::command::Families
Collection of queue families of one device.
Implementations
impl<B> Families<B> where
B: Backend, [src]
B: Backend,
pub fn family(&self, id: FamilyId) -> &Family<B, QueueType>[src]
Get queue family by id.
pub fn family_by_index(&self, index: usize) -> &Family<B, QueueType>[src]
Get queue family by index.
pub fn family_mut(&mut self, id: FamilyId) -> &mut Family<B, QueueType>[src]
Get queue family by id.
pub fn family_by_index_mut(&mut self, index: usize) -> &mut Family<B, QueueType>[src]
Get queue family by index.
pub fn as_slice(&self) -> &[Family<B, QueueType>][src]
Get queue families as slice.
pub fn as_slice_mut(&mut self) -> &mut [Family<B, QueueType>][src]
Get queue families as slice.
pub fn indices(&self) -> &[usize][src]
Get id -> index mapping.
pub fn find<F>(&self, predicate: F) -> Option<FamilyId> where
F: FnMut(&&Family<B, QueueType>) -> bool, [src]
F: FnMut(&&Family<B, QueueType>) -> bool,
Find family id matching predicate
pub fn with_capability<C>(&self) -> Option<FamilyId> where
C: Capability, [src]
C: Capability,
Get first matching family id with specified capability
Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for Families<B> where
<B as Backend>::CommandQueue: RefUnwindSafe,
<B as Backend>::CommandQueue: RefUnwindSafe,
impl<B> Send for Families<B> where
<B as Backend>::CommandQueue: Send,
<B as Backend>::CommandQueue: Send,
impl<B> Sync for Families<B> where
<B as Backend>::CommandQueue: Sync,
<B as Backend>::CommandQueue: Sync,
impl<B> Unpin for Families<B> where
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::CommandQueue: Unpin,
impl<B> UnwindSafe for Families<B> where
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,