[][src]Struct pgx::list::PgList

pub struct PgList<T> { /* fields omitted */ }

Implementations

impl<T> PgList<T>[src]

pub fn new() -> Self[src]

pub fn from_pg(list: *mut List) -> Self[src]

pub fn as_ptr(&self) -> *mut List[src]

pub fn into_pg(mut self: Self) -> *mut List[src]

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

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

pub fn head(&self) -> Option<*mut T>[src]

pub fn tail(&self) -> Option<*mut T>[src]

pub fn get_ptr(&self, i: usize) -> Option<*mut T>[src]

pub fn get_int(&self, i: usize) -> Option<i32>[src]

pub fn get_oid(&self, i: usize) -> Option<Oid>[src]

pub fn replace_ptr(&mut self, i: usize, with: *mut T)[src]

pub fn replace_int(&mut self, i: usize, with: i32)[src]

pub fn replace_oid(&mut self, i: usize, with: Oid)[src]

pub fn iter_ptr(&self) -> impl Iterator<Item = *mut T> + '_[src]

pub fn iter_oid(&self) -> impl Iterator<Item = Oid> + '_[src]

pub fn iter_int(&self) -> impl Iterator<Item = i32> + '_[src]

pub fn push(&mut self, ptr: *mut T)[src]

pub fn pop(&mut self) -> Option<*mut T>[src]

Trait Implementations

impl<T> Default for PgList<T>[src]

impl<T> Drop for PgList<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for PgList<T> where
    T: RefUnwindSafe
[src]

impl<T> !Send for PgList<T>[src]

impl<T> !Sync for PgList<T>[src]

impl<T> Unpin for PgList<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for PgList<T> where
    T: UnwindSafe
[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.