[][src]Struct dep_obj::DepObjRef

pub struct DepObjRef<'a, Owner: DepType, Arena> { /* fields omitted */ }

Implementations

impl<'a, Owner: DepType + 'static, Arena> DepObjRef<'a, Owner, Arena>[src]

pub fn new(
    arena: &'a Arena,
    id: Owner::Id,
    get_obj: fn'b(arena: &'b Arena, id: Owner::Id) -> &'b Owner
) -> Self
[src]

pub fn get<PropType: DepPropType>(
    &self,
    prop: DepProp<Owner, PropType>
) -> &'a PropType
[src]

pub fn items<ItemType: DepPropType>(
    &self,
    vec: DepVec<Owner, ItemType>
) -> &'a Vec<ItemType>
[src]

Auto Trait Implementations

impl<'a, Owner, Arena> RefUnwindSafe for DepObjRef<'a, Owner, Arena> where
    Arena: RefUnwindSafe,
    <Owner as DepType>::Id: RefUnwindSafe

impl<'a, Owner, Arena> Send for DepObjRef<'a, Owner, Arena> where
    Arena: Sync,
    <Owner as DepType>::Id: Send

impl<'a, Owner, Arena> Sync for DepObjRef<'a, Owner, Arena> where
    Arena: Sync,
    <Owner as DepType>::Id: Sync

impl<'a, Owner, Arena> Unpin for DepObjRef<'a, Owner, Arena> where
    <Owner as DepType>::Id: Unpin

impl<'a, Owner, Arena> UnwindSafe for DepObjRef<'a, Owner, Arena> where
    Arena: RefUnwindSafe,
    <Owner as DepType>::Id: UnwindSafe

Blanket Implementations

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,