[][src]Struct rendy::command::Families

pub struct Families<B> where
    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, 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.

Trait Implementations

impl<B> Debug for Families<B> where
    B: Debug + Backend
[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]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more