[−][src]Struct dep_obj::DepObjRef
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]
arena: &'a Arena,
id: Owner::Id,
get_obj: fn'b(arena: &'b Arena, id: Owner::Id) -> &'b Owner
) -> Self
pub fn get<PropType: DepPropType>(
&self,
prop: DepProp<Owner, PropType>
) -> &'a PropType
[src]
&self,
prop: DepProp<Owner, PropType>
) -> &'a PropType
pub fn items<ItemType: DepPropType>(
&self,
vec: DepVec<Owner, ItemType>
) -> &'a Vec<ItemType>
[src]
&self,
vec: DepVec<Owner, ItemType>
) -> &'a Vec<ItemType>
Auto Trait Implementations
impl<'a, Owner, Arena> RefUnwindSafe for DepObjRef<'a, Owner, Arena> where
Arena: RefUnwindSafe,
<Owner as DepType>::Id: RefUnwindSafe,
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,
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,
Arena: Sync,
<Owner as DepType>::Id: Sync,
impl<'a, Owner, Arena> Unpin for DepObjRef<'a, Owner, Arena> where
<Owner as DepType>::Id: Unpin,
<Owner as DepType>::Id: Unpin,
impl<'a, Owner, Arena> UnwindSafe for DepObjRef<'a, Owner, Arena> where
Arena: RefUnwindSafe,
<Owner as DepType>::Id: UnwindSafe,
Arena: RefUnwindSafe,
<Owner as DepType>::Id: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,