pub struct Families<B: Backend> { /* private fields */ }
Expand description
Collection of queue families of one device.
Implementations§
Source§impl<B> Families<B>where
B: Backend,
impl<B> Families<B>where
B: Backend,
Sourcepub fn family_by_index(&self, index: usize) -> &Family<B>
pub fn family_by_index(&self, index: usize) -> &Family<B>
Get queue family by index.
Sourcepub fn family_mut(&mut self, id: FamilyId) -> &mut Family<B>
pub fn family_mut(&mut self, id: FamilyId) -> &mut Family<B>
Get queue family by id.
Sourcepub fn family_by_index_mut(&mut self, index: usize) -> &mut Family<B>
pub fn family_by_index_mut(&mut self, index: usize) -> &mut Family<B>
Get queue family by index.
Sourcepub fn as_slice_mut(&mut self) -> &mut [Family<B>]
pub fn as_slice_mut(&mut self) -> &mut [Family<B>]
Get queue families as slice.
Sourcepub fn with_capability<C: Capability>(&self) -> Option<FamilyId>
pub fn with_capability<C: Capability>(&self) -> Option<FamilyId>
Get first matching family id with specified capability
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Families<B>
impl<B> RefUnwindSafe for Families<B>
impl<B> Send for Families<B>
impl<B> Sync for Families<B>
impl<B> Unpin for Families<B>
impl<B> UnwindSafe for Families<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more