Struct over::tup::Tup
[−]
[src]
pub struct Tup { /* fields omitted */ }
Tup
struct.
Methods
impl Tup
[src]
fn from_vec(values: Vec<Value>) -> Tup
[src]
Returns a new Tup
from the given vector of Value
s.
fn to_vec(&self) -> Vec<Value>
[src]
Returns the vector of values in this Tup
.
fn vec_ref(&self) -> &Vec<Value>
[src]
Returns a reference to the inner vec of this Tup
.
fn with_each<F>(&self, f: F) where
F: FnMut(&Value),
[src]
F: FnMut(&Value),
Iterates over each Value
in self
, applying Fn
f
.
fn get(&self, index: usize) -> OverResult<Value>
[src]
Gets the value at index
.
Returns an error if index
is out of bounds.
fn inner_type_vec(&self) -> Vec<Type>
[src]
Returns the type vector of this Tup
.
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 self
and other
point to the same data.
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 Default for Tup
[src]
impl Display for Tup
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Vec<Value>> 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 !=
.