[−][src]Struct over::tup::Tup
Tup
struct.
Methods
impl Tup
[src]
pub fn from_vec(values: Vec<Value>) -> Tup
[src]
Returns a new Tup
from the given vector of Value
s.
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]
F: FnMut(&Value),
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]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl PartialEq<Tup> for Value
[src]
fn eq(&self, other: &Tup) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl PartialEq<Value> for Tup
[src]
fn eq(&self, other: &Value) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Clone for Tup
[src]
fn clone(&self) -> 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
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,