(mut self)
| 71 | /// Argument axis will be X and values will be on the Y axis. |
| 72 | #[inline] |
| 73 | pub fn vertical(mut self) -> Self { |
| 74 | for box_elem in &mut self.boxes { |
| 75 | box_elem.orientation = Orientation::Vertical; |
| 76 | } |
| 77 | self |
| 78 | } |
| 79 | |
| 80 | /// Set all elements to be in a horizontal orientation. |
| 81 | /// Argument axis will be Y and values will be on the X axis. |
no outgoing calls
no test coverage detected