Struct hit_data::prelude::UniqueInParentPlugin [−][src]
Implementations
impl UniqueInParentPlugin
[src]
pub fn new(index: Rc<RefCell<UniqueInParentValueIndex>>) -> Self
[src]
Trait Implementations
impl DeletePlugin for UniqueInParentPlugin
[src]
fn on_before_delete_entry(
&mut self,
_entry: &HitEntry,
_instance: &mut Hit
) -> Result<(), HitError>
[src]
&mut self,
_entry: &HitEntry,
_instance: &mut Hit
) -> Result<(), HitError>
fn on_after_delete_entry(
&mut self,
entry: &HitEntry,
_instance: &mut Hit
) -> Result<(), HitError>
[src]
&mut self,
entry: &HitEntry,
_instance: &mut Hit
) -> Result<(), HitError>
impl InitEntryPlugin for UniqueInParentPlugin
[src]
fn on_init_add_entry(
&mut self,
model: Rc<Model>,
id: &str,
data: ObjectValues,
parent: Option<IndexEntryProperty>
)
[src]
&mut self,
model: Rc<Model>,
id: &str,
data: ObjectValues,
parent: Option<IndexEntryProperty>
)
impl Plugin for UniqueInParentPlugin
[src]
fn on_before_add_entry(
&mut self,
_model: Rc<Model>,
_id: &str,
_data: ObjectValues,
_parent: IndexEntryProperty,
_before_id: &Option<Id>,
_instance: &Hit
) -> Result<(), HitError>
[src]
&mut self,
_model: Rc<Model>,
_id: &str,
_data: ObjectValues,
_parent: IndexEntryProperty,
_before_id: &Option<Id>,
_instance: &Hit
) -> Result<(), HitError>
fn on_after_add_entry(
&mut self,
model: Rc<Model>,
id: &str,
data: ObjectValues,
parent: IndexEntryProperty,
_before_id: &Option<Id>,
instance: &mut Hit
) -> Result<(), HitError>
[src]
&mut self,
model: Rc<Model>,
id: &str,
data: ObjectValues,
parent: IndexEntryProperty,
_before_id: &Option<Id>,
instance: &mut Hit
) -> Result<(), HitError>
fn on_before_set_value(
&mut self,
_property: IndexEntryProperty,
_value: &ObjectValue,
_old_value: &Option<ObjectValue>,
_instance: &Hit
) -> Result<(), HitError>
[src]
&mut self,
_property: IndexEntryProperty,
_value: &ObjectValue,
_old_value: &Option<ObjectValue>,
_instance: &Hit
) -> Result<(), HitError>
fn on_after_set_value(
&mut self,
property: IndexEntryProperty,
value: &ObjectValue,
_old_value: &Option<ObjectValue>,
instance: &mut Hit
) -> Result<(), HitError>
[src]
&mut self,
property: IndexEntryProperty,
value: &ObjectValue,
_old_value: &Option<ObjectValue>,
instance: &mut Hit
) -> Result<(), HitError>
fn on_before_move_subobject(
&mut self,
_id: &str,
_target: IndexEntryProperty,
_before_id: Option<String>,
_instance: &Hit
) -> Result<(), HitError>
[src]
&mut self,
_id: &str,
_target: IndexEntryProperty,
_before_id: Option<String>,
_instance: &Hit
) -> Result<(), HitError>
fn on_after_move_subobject(
&mut self,
id: &str,
target: IndexEntryProperty,
original_parent: IndexEntryProperty,
_before_id: Option<String>,
instance: &mut Hit
) -> Result<(), HitError>
[src]
&mut self,
id: &str,
target: IndexEntryProperty,
original_parent: IndexEntryProperty,
_before_id: Option<String>,
instance: &mut Hit
) -> Result<(), HitError>
Auto Trait Implementations
impl !RefUnwindSafe for UniqueInParentPlugin
impl !Send for UniqueInParentPlugin
impl !Sync for UniqueInParentPlugin
impl Unpin for UniqueInParentPlugin
impl !UnwindSafe for UniqueInParentPlugin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
pub fn get_type_id(&self) -> TypeId
[src]
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>,