[][src]Trait postgres_array::array::ArrayIndex

pub trait ArrayIndex {
    pub fn index<T>(&self, array: &Array<T>) -> i32;
}

A trait implemented by types that can index into an Array.

Required methods

pub fn index<T>(&self, array: &Array<T>) -> i32[src]

Calculates the index into the Array's underlying storage specified by the value of self.

Panics

Panics if the value of self does not correspond to an in-bounds element of the Array.

Loading content...

Implementations on Foreign Types

impl<'a> ArrayIndex for &'a [i32][src]

impl ArrayIndex for i32[src]

impl ArrayIndex for (i32,)[src]

impl ArrayIndex for (i32, i32)[src]

impl ArrayIndex for (i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32, i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32, i32, i32, i32, i32)[src]

impl ArrayIndex for (i32, i32, i32, i32, i32, i32, i32, i32, i32)[src]

Loading content...

Implementors

Loading content...