Struct over::tup::Tup
[−]
[src]
pub struct Tup { /* fields omitted */ }
Tup
struct.
Methods
impl Tup
[src]
fn from_vec(values: Vec<Value>) -> Tup
[src]
Creates and returns a new Tup
from a vector of values.
fn get_type(&self) -> Vec<Type>
[src]
Returns the type vector of this Tup
.
fn get(&self, index: usize) -> OverResult<Value>
[src]
Gets the value at index
.
Returns an error if index
is out of bounds.
fn len(&self) -> usize
[src]
Returns the length of this Tup
.
fn is_empty(&self) -> bool
[src]
Returns whether this Tup
is empty.
fn ptr_eq(&self, other: &Self) -> bool
[src]
Returns whether this Arr
and other
point to the same data.
fn set(&mut self, index: usize, value: Value) -> OverResult<()>
[src]
Sets the value at index
to value
.
Returns an error if index
is out of bounds.
Trait Implementations
impl Clone for Tup
[src]
fn clone(&self) -> Tup
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Tup
[src]
impl PartialEq for Tup
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.