ixa::people

Trait InitializationList

Source
pub trait InitializationList {
    // Required methods
    fn has_property(&self, t: TypeId) -> bool;
    fn set_properties(&self, context: &mut Context, person_id: PersonId);
}
Expand description

A trait that contains the initialization values for a new person. Do not use this directly, but instead use the tuple syntax.

Required Methods§

Source

fn has_property(&self, t: TypeId) -> bool

Source

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Implementations on Foreign Types§

Source§

impl InitializationList for ()

Source§

fn has_property(&self, _: TypeId) -> bool

Source§

fn set_properties(&self, _context: &mut Context, _person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static> InitializationList for ((T0, T0::Value),)

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static, T14: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value), (T14, T14::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static, T14: PersonProperty + 'static, T15: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value), (T14, T14::Value), (T15, T15::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static, T14: PersonProperty + 'static, T15: PersonProperty + 'static, T16: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value), (T14, T14::Value), (T15, T15::Value), (T16, T16::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static, T14: PersonProperty + 'static, T15: PersonProperty + 'static, T16: PersonProperty + 'static, T17: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value), (T14, T14::Value), (T15, T15::Value), (T16, T16::Value), (T17, T17::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T0: PersonProperty + 'static, T1: PersonProperty + 'static, T2: PersonProperty + 'static, T3: PersonProperty + 'static, T4: PersonProperty + 'static, T5: PersonProperty + 'static, T6: PersonProperty + 'static, T7: PersonProperty + 'static, T8: PersonProperty + 'static, T9: PersonProperty + 'static, T10: PersonProperty + 'static, T11: PersonProperty + 'static, T12: PersonProperty + 'static, T13: PersonProperty + 'static, T14: PersonProperty + 'static, T15: PersonProperty + 'static, T16: PersonProperty + 'static, T17: PersonProperty + 'static, T18: PersonProperty + 'static> InitializationList for ((T0, T0::Value), (T1, T1::Value), (T2, T2::Value), (T3, T3::Value), (T4, T4::Value), (T5, T5::Value), (T6, T6::Value), (T7, T7::Value), (T8, T8::Value), (T9, T9::Value), (T10, T10::Value), (T11, T11::Value), (T12, T12::Value), (T13, T13::Value), (T14, T14::Value), (T15, T15::Value), (T16, T16::Value), (T17, T17::Value), (T18, T18::Value))

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Source§

impl<T1: PersonProperty + 'static> InitializationList for (T1, T1::Value)

Source§

fn has_property(&self, t: TypeId) -> bool

Source§

fn set_properties(&self, context: &mut Context, person_id: PersonId)

Implementors§