Skip to main content

Row

Trait Row 

Source
pub trait Row {
    // Required methods
    fn len(&self) -> usize;
    fn get(&self, i: usize) -> Value;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}
Expand description

One result row, by position.

Required Methods§

Source

fn len(&self) -> usize

Source

fn get(&self, i: usize) -> Value

Provided Methods§

Source

fn is_empty(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Row for Vec<Value>

Source§

fn len(&self) -> usize

Source§

fn get(&self, i: usize) -> Value

Implementors§