[][src]Struct no_proto::pointer::option::NP_Option

pub struct NP_Option {
    pub value: Option<String>,
}

Holds Enum / Option type data.

Check out documentation here.

Fields

value: Option<String>

The value of this option type

Implementations

impl NP_Option[src]

pub fn new<S: AsRef<str>>(value: S) -> NP_Option[src]

Create a new option type with the given string

pub fn empty() -> NP_Option[src]

Create a new empty option type

pub fn set(&mut self, value: Option<String>)[src]

Set the value of this option type

Trait Implementations

impl Clone for NP_Option[src]

impl Debug for NP_Option[src]

impl Default for NP_Option[src]

impl Eq for NP_Option[src]

impl PartialEq<NP_Option> for NP_Option[src]

impl StructuralEq for NP_Option[src]

impl StructuralPartialEq for NP_Option[src]

Auto Trait Implementations

impl Send for NP_Option

impl Sync for NP_Option

impl Unpin for NP_Option

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.