Struct dep_obj::DepObjMut [−][src]
pub struct DepObjMut<'a, Owner: DepType, Arena> { /* fields omitted */ }
Implementations
pub fn new(
id: Owner::Id,
context: &'a mut dyn Context,
get_obj_mut: for<'b> fn(arena: &'b mut Arena, id: Owner::Id) -> &'b mut Owner
) -> Self
pub fn set_uncond<PropType: DepPropType>(
&mut self,
prop: DepProp<Owner, PropType>,
value: PropType
) -> PropType
pub fn unset_uncond<PropType: DepPropType>(
&mut self,
prop: DepProp<Owner, PropType>
) -> Option<PropType>
pub fn set_distinct<PropType: DepPropType + PartialEq>(
&mut self,
prop: DepProp<Owner, PropType>,
value: PropType
) -> Option<PropType>
pub fn unset_distinct<PropType: DepPropType + PartialEq>(
&mut self,
prop: DepProp<Owner, PropType>
) -> Option<PropType>
pub fn clear<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>
) -> DepVecChange<ItemType>
pub fn push<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>,
item: ItemType
) -> DepVecChange<ItemType>
pub fn insert<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>,
index: usize,
item: ItemType
) -> DepVecChange<ItemType>
pub fn append<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>,
other: &mut Vec<ItemType>
) -> DepVecChange<ItemType>
Auto Trait Implementations
impl<'a, Owner, Arena> !RefUnwindSafe for DepObjMut<'a, Owner, Arena>
impl<'a, Owner, Arena> !UnwindSafe for DepObjMut<'a, Owner, Arena>