[][src]Struct rendy_chain::Chain

pub struct Chain<R: Resource> { /* fields omitted */ }

This type corresponds to resource category. All resources from the same category must be accessed as permitted by links of the chain.

Methods

impl<R> Chain<R> where
    R: Resource
[src]

Get links slice

pub fn new() -> Self[src]

Create new empty Chain

Get links slice

Add new link to the chain.

pub fn usage(&self) -> R::Usage[src]

Get total usage.

Trait Implementations

impl<R: Clone + Resource> Clone for Chain<R>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R: Debug + Resource> Debug for Chain<R>[src]

Auto Trait Implementations

impl<R> Send for Chain<R> where
    <R as Resource>::Access: Send,
    <R as Resource>::Layout: Send,
    <R as Resource>::Usage: Send

impl<R> Sync for Chain<R> where
    <R as Resource>::Access: Sync,
    <R as Resource>::Layout: Sync,
    <R as Resource>::Usage: Sync

Blanket Implementations

impl<T> From for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Supports for T[src]