diff options
Diffstat (limited to 'src/value.rs')
-rw-r--r-- | src/value.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/value.rs b/src/value.rs index 18c8810..d8eb033 100644 --- a/src/value.rs +++ b/src/value.rs @@ -119,23 +119,23 @@ impl<'lua> MultiValue<'lua> { v } - pub fn from_vec_rev(v: Vec<Value<'lua>>) -> MultiValue<'lua> { + pub(crate) fn from_vec_rev(v: Vec<Value<'lua>>) -> MultiValue<'lua> { MultiValue(v) } - pub fn into_vec_rev(self) -> Vec<Value<'lua>> { + pub(crate) fn into_vec_rev(self) -> Vec<Value<'lua>> { self.0 } - pub fn reserve(&mut self, size: usize) { + pub(crate) fn reserve(&mut self, size: usize) { self.0.reserve(size); } - pub fn push_front(&mut self, value: Value<'lua>) { + pub(crate) fn push_front(&mut self, value: Value<'lua>) { self.0.push(value); } - pub fn pop_front(&mut self) -> Option<Value<'lua>> { + pub(crate) fn pop_front(&mut self) -> Option<Value<'lua>> { self.0.pop() } |