Module prelude

Source

Re-exports§

pub use crate::context::Context;
pub use crate::error::IxaError;
pub use crate::global_properties::ContextGlobalPropertiesExt;
pub use crate::network::ContextNetworkExt;
pub use crate::people::ContextPeopleExt;
pub use crate::random::ContextRandomExt;
pub use crate::report::ContextReportExt;

Macros§

create_report_trait
Use this macro to define a unique report type
define_data_plugin
Defines a new type for storing data in Context.
define_derived_property
Defines a derived person property with the following parameters:
define_edge_type
Define a new edge type for use with network.
define_global_property
Defines a global property with the following parameters:
define_multi_property_index
define_person_property
Defines a person property with the following parameters:
define_person_property_with_default
Defines a person property with the following parameters:
define_rng
Use this to define a unique type which will be used as a key to retrieve an independent rng instance when calling .get_rng.