pub struct SegmentShift {
pub max_segment: Option<usize>,
}Expand description
Moves a random segment to another position (GLEAM “segment shift”).
Fields§
§max_segment: Option<usize>The longest segment moved; None means unbounded.
Trait Implementations§
Source§impl Clone for SegmentShift
impl Clone for SegmentShift
impl Copy for SegmentShift
Source§impl Debug for SegmentShift
impl Debug for SegmentShift
Source§impl Default for SegmentShift
impl Default for SegmentShift
impl Eq for SegmentShift
Source§impl<T> Mutation<Vec<T>> for SegmentShift
impl<T> Mutation<Vec<T>> for SegmentShift
Source§impl PartialEq for SegmentShift
impl PartialEq for SegmentShift
impl StructuralPartialEq for SegmentShift
Auto Trait Implementations§
impl Forget for SegmentShift
impl Freeze for SegmentShift
impl Move for SegmentShift
impl RefUnwindSafe for SegmentShift
impl Send for SegmentShift
impl Sync for SegmentShift
impl Unpin for SegmentShift
impl UnsafeUnpin for SegmentShift
impl UnwindSafe for SegmentShift
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