usesuper::node::*;////// Represents a branch in a rope
///#[derive(Copy, Clone, Debug, PartialEq)]pubstructRopeBranch{/// The left-hand side of the rope (first part of the string)
publeft: RopeNodeIndex,
/// The right-hand side of the rope
pubright: RopeNodeIndex,
/// The total length of all the substrings under this branch
publength:usize,
/// The parent of this branch, or None if this is the root node
pubparent:Option<RopeNodeIndex>}