Struct grove::data::example_data::RevAction [−][src]
pub struct RevAction {
pub to_reverse: bool,
}
Expand description
Actions that either reverses a segment or keeps it as it is
Fields
to_reverse: bool
Whether to reverse the segment
Trait Implementations
Test whether this action is the identity action.
This function should be implemented if you want to be able to reverse subsegments of your tree.
The default implementation always returns false
. Read more
Act on a value in-place.
Act on a value in-place.
Act on a value in-place.
Act on a value in-place.
Act on a value in-place.
Auto Trait Implementations
impl RefUnwindSafe for RevAction
impl UnwindSafe for RevAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates the summary of a single value.
Creates the summary of a single value.