Trait postgres_array::MutableArray [-] [+] [src]

pub trait MutableArray<T>: Array<T> {
    fn slice_mut<'a>(&'a mut self, idx: isize) -> MutArraySlice<'a, T>;
    fn get_mut<'a>(&'a mut self, idx: isize) -> &'a mut T;
}

Specifies methods that can be performed on mutable multi-dimensional arrays

Required Methods

fn slice_mut<'a>(&'a mut self, idx: isize) -> MutArraySlice<'a, T>

Slices into this array, returning a mutable view of a subarray.

Failure

Fails if the array is one-dimensional or the index is out of bounds.

fn get_mut<'a>(&'a mut self, idx: isize) -> &'a mut T

Retrieves a mutable reference to a value in this array.

Failure

Fails if the array is multi-dimensional or the index is out of bounds.

Implementors

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy