(&mut self, value: Value<'gc>)
| 57 | } |
| 58 | |
| 59 | pub fn push(&mut self, value: Value<'gc>) { |
| 60 | if self.kind == ListKind::Array { |
| 61 | self.data.push(value); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | pub fn get(&self, index: usize) -> Option<Value<'gc>> { |
| 66 | self.data.get(index).copied() |
no outgoing calls