[][src]Struct dep_obj::DepObjRefMut

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

Implementations

impl<'a, Owner: DepType, Arena> DepObjRefMut<'a, Owner, Arena>[src]

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

pub fn on_changed<PropType: DepPropType>(
    &mut self,
    prop: DepProp<Owner, PropType>,
    callback: fn(context: &mut dyn Context, id: Owner::Id, old: &PropType)
)
[src]

pub fn on<ArgsType>(
    &mut self,
    event: DepEvent<Owner, ArgsType>,
    callback: fn(context: &mut dyn Context, id: Owner::Id, args: &mut ArgsType)
)
[src]

pub fn on_vec_changed<ItemType: DepPropType>(
    &mut self,
    vec: DepVec<Owner, ItemType>,
    callback: fn(context: &mut dyn Context, id: Owner::Id, change: &DepVecChange<ItemType>)
)
[src]

Auto Trait Implementations

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

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

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

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

impl<'a, Owner, Arena> !UnwindSafe for DepObjRefMut<'a, Owner, Arena>

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>,