[−][src]Struct rendy_command::Families
Collection of queue families of one device.
Methods
impl<B> Families<B> where
B: Backend,
[src]
B: Backend,
pub fn family(&self, id: FamilyId) -> &Family<B>
[src]
Get queue family by id.
pub fn family_by_index(&self, index: usize) -> &Family<B>
[src]
Get queue family by index.
pub fn family_mut(&mut self, id: FamilyId) -> &mut Family<B>
[src]
Get queue family by id.
pub fn family_by_index_mut(&mut self, index: usize) -> &mut Family<B>
[src]
Get queue family by index.
pub fn as_slice(&self) -> &[Family<B>]
[src]
Get queue families as slice.
pub fn as_slice_mut(&mut self) -> &mut [Family<B>]
[src]
Get queue families as slice.
pub fn indices(&self) -> &[usize]
[src]
Get id -> index mapping.
Trait Implementations
Auto Trait Implementations
impl<B> Unpin for Families<B> where
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::CommandQueue: Unpin,
impl<B> Sync for Families<B> where
<B as Backend>::CommandQueue: Sync,
<B as Backend>::CommandQueue: Sync,
impl<B> Send for Families<B> where
<B as Backend>::CommandQueue: Send,
<B as Backend>::CommandQueue: Send,
impl<B> UnwindSafe for Families<B> where
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::CommandQueue: UnwindSafe,
impl<B> RefUnwindSafe for Families<B> where
<B as Backend>::CommandQueue: RefUnwindSafe,
<B as Backend>::CommandQueue: RefUnwindSafe,
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Supports<T> for T
[src]
impl<T> SetParameter for T
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
T: Parameter<Self>,
Sets value
as a parameter of self
.