Struct ocaml::Array
[−]
[src]
pub struct Array(_, _);
OCaml Array type
Methods
impl Array
[src]
fn new(n: Size) -> Array
[src]
Create a new array of the given size
fn len(&self) -> Size
[src]
Array length
fn set(&mut self, i: Size, v: Value) -> Result<(), Error>
[src]
Set array index
fn get(&self, i: Size) -> Result<Value, Error>
[src]
Get array index