[][src]Struct over::tup::Tup

pub struct Tup { /* fields omitted */ }

Tup struct.

Methods

impl Tup[src]

pub fn from_vec(values: Vec<Value>) -> Tup[src]

Returns a new Tup from the given vector of Values.

pub fn vec_ref(&self) -> &Vec<Value>[src]

Returns a reference to the inner vec of this Tup.

pub fn with_each<F>(&self, f: F) where
    F: FnMut(&Value), 
[src]

Iterates over each Value in self, applying Fn f.

pub fn get(&self, index: usize) -> OverResult<Value>[src]

Gets the value at index. Returns an error if index is out of bounds.

pub fn inner_type_vec(&self) -> Vec<Type>[src]

Returns the type vector of this Tup.

pub fn len(&self) -> usize[src]

Returns the length of this Tup.

pub fn is_empty(&self) -> bool[src]

Returns whether this Tup is empty.

pub fn ptr_eq(&self, other: &Self) -> bool[src]

Returns whether self and other point to the same data.

pub fn iter(&self) -> Iter<Value>[src]

Returns an iterator over the Tup.

Trait Implementations

impl PartialEq<Tup> for Tup[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Tup> for Value[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Value> for Tup[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Tup[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Vec<Value>> for Tup[src]

impl From<Tup> for Value[src]

impl Default for Tup[src]

impl Display for Tup[src]

impl Debug for Tup[src]

Auto Trait Implementations

impl Send for Tup

impl Sync for Tup

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.