/// Represents the side of the line.
#[derive(Debug, PartialEq, Eq, Hash, Copy, Clone)]pubenumSide{RS,WS,}implSide{/// Switch to the other side
////// #Arguments
/// `in_round` - If the pattern is in the round
pubfnswitch(self, in_round:bool)-> Side{if in_round {self}else{matchself{Side::RS=>Side::WS,Side::WS=>Side::RS,}}}}