Trait radn::rcore::MentionableTop
source · pub trait MentionableTop<'a, Ctx: Context<'a>>: 'a {
// Required method
fn points_typed(&self, points: &mut impl PointsVisitor<'a, Ctx>)
where Self: Mentionable<'a, Ctx>;
// Provided methods
fn topology_hash(&self) -> Hash
where Self: Mentionable<'a, Ctx> { ... }
fn topology(&self) -> Arc<dyn Topology<'a, Ctx>>
where Self: Mentionable<'a, Ctx> { ... }
}Expand description
Topological Mentionable. Allows iterating over Points it references, if any;
Required Methods§
sourcefn points_typed(&self, points: &mut impl PointsVisitor<'a, Ctx>)where
Self: Mentionable<'a, Ctx>,
fn points_typed(&self, points: &mut impl PointsVisitor<'a, Ctx>)where Self: Mentionable<'a, Ctx>,
References (Points) to other objects. Typed.
Provided Methods§
sourcefn topology_hash(&self) -> Hashwhere
Self: Mentionable<'a, Ctx>,
fn topology_hash(&self) -> Hashwhere Self: Mentionable<'a, Ctx>,
See implementation for the definition. Hash of all the references’ points concatenated, ordered, non-unique. Used for walking over object trees to ensure two objects with different references don’t collide.