[−][src]Struct dep_obj::DepObjMut
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]
id: Owner::Id,
context: &'a mut dyn Context,
get_obj_mut: fn'b(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
[src]
&mut self,
prop: DepProp<Owner, PropType>,
value: PropType
) -> PropType
pub fn unset_uncond<PropType: DepPropType>(
&mut self,
prop: DepProp<Owner, PropType>
) -> Option<PropType>
[src]
&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>
[src]
&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>
[src]
&mut self,
prop: DepProp<Owner, PropType>
) -> Option<PropType>
pub fn raise<ArgsType>(
&mut self,
event: DepEvent<Owner, ArgsType>,
args: &mut ArgsType
)
[src]
&mut self,
event: DepEvent<Owner, ArgsType>,
args: &mut ArgsType
)
pub fn apply_style(
&mut self,
style: Option<Style<Owner>>
) -> Option<Style<Owner>>
[src]
&mut self,
style: Option<Style<Owner>>
) -> Option<Style<Owner>>
pub fn clear<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>
) -> DepVecChange<ItemType>
[src]
&mut self,
vec: DepVec<Owner, ItemType>
) -> DepVecChange<ItemType>
pub fn push<ItemType: DepPropType>(
&mut self,
vec: DepVec<Owner, ItemType>,
item: ItemType
) -> DepVecChange<ItemType>
[src]
&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>
[src]
&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>
[src]
&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> !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,
<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]
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>,