[−][src]Struct dep_obj::DepObjRefMut 
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]
arena: &'a mut Arena,
id: Owner::Id,
get_obj_mut: fn'b(arena: &'b mut Arena, id: Owner::Id) -> &'b mut Owner
) -> Self
pub fn on_changed<PropType: DepPropType>(
    &mut self, 
    prop: DepProp<Owner, PropType>, 
    callback: fn(context: &mut dyn Context, id: Owner::Id, old: &PropType)
)[src]
&mut self,
prop: DepProp<Owner, PropType>,
callback: fn(context: &mut dyn Context, id: Owner::Id, old: &PropType)
)
pub fn on<ArgsType>(
    &mut self, 
    event: DepEvent<Owner, ArgsType>, 
    callback: fn(context: &mut dyn Context, id: Owner::Id, args: &mut ArgsType)
)[src]
&mut self,
event: DepEvent<Owner, ArgsType>,
callback: fn(context: &mut dyn Context, id: Owner::Id, args: &mut ArgsType)
)
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]
&mut self,
vec: DepVec<Owner, ItemType>,
callback: fn(context: &mut dyn Context, id: Owner::Id, change: &DepVecChange<ItemType>)
)
Auto Trait Implementations
impl<'a, Owner, Arena> RefUnwindSafe for DepObjRefMut<'a, Owner, Arena> where
    Arena: RefUnwindSafe,
    <Owner as DepType>::Id: RefUnwindSafe, 
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, 
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, 
Arena: Sync,
<Owner as DepType>::Id: Sync,
impl<'a, Owner, Arena> Unpin for DepObjRefMut<'a, Owner, Arena> where
    <Owner as DepType>::Id: Unpin, 
<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]
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,
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.
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.
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>,