[−][src]Struct no_proto::buffer::NP_Item
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]
X: NP_Value<'item> + NP_Scalar<'item>,
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]
X: NP_Value<'item> + NP_Scalar<'item>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,