Skip to main content

TopTreeAction

Trait TopTreeAction 

Source
pub trait TopTreeAction<S>
where S: TopTreeSpec,
{ type Action: PartialEq; type ActionMonoid: Monoid<T = Self::Action>; const ROOT_TO_NODE_TOP_DOWN: bool = true; // Required methods fn act_info(info: &mut S::Info, action: &Self::Action); fn act_point(point: &mut S::Point, action: &Self::Action); fn act_path(path: &mut S::Path, action: &Self::Action); fn act_path_light(path: &mut S::Path, action: &Self::Action); }
Expand description

act_path applies the heavy contribution and act_path_light applies the light contribution represented in the same path aggregate.

Provided Associated Constants§

Source

const ROOT_TO_NODE_TOP_DOWN: bool = true

Whether pending actions require propagation from the auxiliary root before rotations.

Required Associated Types§

Source

type Action: PartialEq

Source

type ActionMonoid: Monoid<T = Self::Action>

Composes actions in application order: operate(a, b) applies a before b.

Required Methods§

Source

fn act_info(info: &mut S::Info, action: &Self::Action)

Source

fn act_point(point: &mut S::Point, action: &Self::Action)

Source

fn act_path(path: &mut S::Path, action: &Self::Action)

Source

fn act_path_light(path: &mut S::Path, action: &Self::Action)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§