[][src]Struct rendy_command::Families

pub struct Families<B: Backend> { /* fields omitted */ }

Collection of queue families of one device.

Methods

impl<B> Families<B> where
    B: Backend
[src]

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

impl<B: Debug + Backend> Debug for Families<B>[src]

Auto Trait Implementations

impl<B> Unpin for Families<B> where
    <B as Backend>::CommandQueue: Unpin

impl<B> Sync for Families<B> where
    <B as Backend>::CommandQueue: Sync

impl<B> Send for Families<B> where
    <B as Backend>::CommandQueue: Send

impl<B> UnwindSafe for Families<B> where
    <B as Backend>::CommandQueue: UnwindSafe

impl<B> RefUnwindSafe for Families<B> where
    <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]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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]

Sets value as a parameter of self.

impl<T> Erased for T[src]