struct TopTreeSubtreeSum;Trait Implementations§
Source§impl TopTreeAction<TopTreeSubtreeSum> for AddAction
impl TopTreeAction<TopTreeSubtreeSum> for AddAction
type Action = u64
Source§type ActionMonoid = AdditiveOperation<u64>
type ActionMonoid = AdditiveOperation<u64>
Composes actions in application order:
operate(a, b) applies a
before b.fn act_info(info: &mut u64, action: &Self::Action)
fn act_point(point: &mut (u64, u64), action: &Self::Action)
fn act_path(path: &mut (u64, u64, u64), action: &Self::Action)
fn act_path_light(path: &mut (u64, u64, u64), action: &Self::Action)
Source§const ROOT_TO_NODE_TOP_DOWN: bool = true
const ROOT_TO_NODE_TOP_DOWN: bool = true
Whether pending actions require propagation from the auxiliary root before rotations.
Source§impl TopTreeSpec for TopTreeSubtreeSum
impl TopTreeSpec for TopTreeSubtreeSum
type Info = u64
type Point = (u64, u64)
type Path = (u64, u64, u64)
fn vertex(info: &Self::Info) -> Self::Path
fn add_vertex(point: &Self::Point, info: &Self::Info) -> Self::Path
fn add_edge(path: &Self::Path) -> Self::Point
fn rake(left: &Self::Point, right: &Self::Point) -> Self::Point
fn compress(left: &Self::Path, right: &Self::Path) -> Self::Path
fn reverse(_path: &mut Self::Path)
Auto Trait Implementations§
impl Freeze for TopTreeSubtreeSum
impl RefUnwindSafe for TopTreeSubtreeSum
impl Send for TopTreeSubtreeSum
impl Sync for TopTreeSubtreeSum
impl Unpin for TopTreeSubtreeSum
impl UnsafeUnpin for TopTreeSubtreeSum
impl UnwindSafe for TopTreeSubtreeSum
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more