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