[][src]Struct dep_obj::DepObjMut

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

Implementations

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

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

pub fn set_uncond<PropType: DepPropType>(
    &mut self,
    prop: DepProp<Owner, PropType>,
    value: PropType
) -> PropType
[src]

pub fn unset_uncond<PropType: DepPropType>(
    &mut self,
    prop: DepProp<Owner, PropType>
) -> Option<PropType>
[src]

pub fn set_distinct<PropType: DepPropType + PartialEq>(
    &mut self,
    prop: DepProp<Owner, PropType>,
    value: PropType
) -> Option<PropType>
[src]

pub fn unset_distinct<PropType: DepPropType + PartialEq>(
    &mut self,
    prop: DepProp<Owner, PropType>
) -> Option<PropType>
[src]

pub fn raise<ArgsType>(
    &mut self,
    event: DepEvent<Owner, ArgsType>,
    args: &mut ArgsType
)
[src]

pub fn apply_style(
    &mut self,
    style: Option<Style<Owner>>
) -> Option<Style<Owner>>
[src]

pub fn clear<ItemType: DepPropType>(
    &mut self,
    vec: DepVec<Owner, ItemType>
) -> DepVecChange<ItemType>
[src]

pub fn push<ItemType: DepPropType>(
    &mut self,
    vec: DepVec<Owner, ItemType>,
    item: ItemType
) -> DepVecChange<ItemType>
[src]

pub fn insert<ItemType: DepPropType>(
    &mut self,
    vec: DepVec<Owner, ItemType>,
    index: usize,
    item: ItemType
) -> DepVecChange<ItemType>
[src]

pub fn append<ItemType: DepPropType>(
    &mut self,
    vec: DepVec<Owner, ItemType>,
    other: &mut Vec<ItemType>
) -> DepVecChange<ItemType>
[src]

Auto Trait Implementations

impl<'a, Owner, Arena> !RefUnwindSafe for DepObjMut<'a, Owner, Arena>

impl<'a, Owner, Arena> !Send for DepObjMut<'a, Owner, Arena>

impl<'a, Owner, Arena> !Sync for DepObjMut<'a, Owner, Arena>

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

impl<'a, Owner, Arena> !UnwindSafe for DepObjMut<'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>,