summaryrefslogtreecommitdiffstats
path: root/svgbob/src/location.rs
diff options
context:
space:
mode:
Diffstat (limited to 'svgbob/src/location.rs')
-rw-r--r--svgbob/src/location.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/svgbob/src/location.rs b/svgbob/src/location.rs
index 686a7f3..df67b23 100644
--- a/svgbob/src/location.rs
+++ b/svgbob/src/location.rs
@@ -50,16 +50,16 @@ impl Location {
loc
}
- fn go_top(&self, step: usize) -> Self {
+ pub fn go_top(&self, step: usize) -> Self {
self.go_jump(Top, step)
}
- fn go_left(&self, step: usize) -> Self {
+ pub fn go_left(&self, step: usize) -> Self {
self.go_jump(Left, step)
}
- fn go_bottom(&self, step: usize) -> Self {
+ pub fn go_bottom(&self, step: usize) -> Self {
self.go_jump(Bottom, step)
}
- fn go_right(&self, step: usize) -> Self {
+ pub fn go_right(&self, step: usize) -> Self {
self.go_jump(Right, step)
}