[][src]Struct no_proto::buffer::NP_Item

pub struct NP_Item<'item> {
    pub index: usize,
    pub key: &'item str,
    pub col: &'item str,
    // some fields omitted
}

NP Item

Fields

index: usize

index of this value

key: &'item str

Key at this index

col: &'item str

Column at this index

Implementations

impl<'item> NP_Item<'item>[src]

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

If this item has a value

pub fn get<X>(&'item self) -> Result<Option<X>, NP_Error> where
    X: NP_Value<'item> + NP_Scalar<'item>, 
[src]

Get value at this pointer

pub fn set<X>(&'item mut self, value: X) -> Result<(), NP_Error> where
    X: NP_Value<'item> + NP_Scalar<'item>, 
[src]

Set value at this pointer

pub fn del(&'item mut self) -> bool[src]

Clear the value at this pointer

Auto Trait Implementations

impl<'item> !Send for NP_Item<'item>[src]

impl<'item> !Sync for NP_Item<'item>[src]

impl<'item> Unpin for NP_Item<'item>[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, 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.