summaryrefslogtreecommitdiffstats
path: root/svgbob/src/location.rs
diff options
context:
space:
mode:
authorJovansonlee Cesar <ivanceras@gmail.com>2018-08-02 11:46:29 +0800
committerJovansonlee Cesar <ivanceras@gmail.com>2018-08-02 11:46:29 +0800
commitfc09a1ddf2d5432b27c6e0718761f05b7cc6e048 (patch)
tree3ec1e1675fcecd3d8c4d97aacb9707f7e8d1299f /svgbob/src/location.rs
parent4980c318b7f93d0117f9b243f77dae5e9157945c (diff)
Add enhance_circle module as a different enhance trait, this is run first before any enhancements are applied
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)
}