[][src]Struct next_gen::prelude::CellOption

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

Methods

impl<T> CellOption<T>[src]

pub const None: Self[src]

pub const fn Some(value: T) -> Self[src]

pub fn take(&self) -> Option<T>[src]

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

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

Auto Trait Implementations

impl<T> Send for CellOption<T> where
    T: Send

impl<T> !Sync for CellOption<T>

impl<T> Unpin for CellOption<T> where
    T: Unpin

impl<T> UnwindSafe for CellOption<T> where
    T: UnwindSafe

impl<T> !RefUnwindSafe for CellOption<T>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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