Trait flo_binding::BoundRopeExt
source · [−]pub trait BoundRopeExt<Cell, Attribute> where
Cell: 'static + Send + Unpin + Clone + PartialEq,
Attribute: 'static + Send + Sync + Clone + Unpin + PartialEq + Default, {
fn chain<OtherRope: BoundRope<Cell, Attribute>>(
&self,
other: &OtherRope
) -> RopeBinding<Cell, Attribute>;
fn map<NewCell, MapFn: 'static + Send + Fn(Cell) -> NewCell>(
&self,
map_fn: MapFn
) -> RopeBinding<NewCell, Attribute>
where
NewCell: 'static + Send + Unpin + Clone + PartialEq;
}
Expand description
Extension methods that can be applied to any bound rope
Required Methods
fn chain<OtherRope: BoundRope<Cell, Attribute>>(
&self,
other: &OtherRope
) -> RopeBinding<Cell, Attribute>
fn chain<OtherRope: BoundRope<Cell, Attribute>>(
&self,
other: &OtherRope
) -> RopeBinding<Cell, Attribute>
Returns a new rope that concatenates the contents of this rope and another one