[][src]Struct me_cell::MeCell

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

Methods

impl<T> MeCell<T>[src]

pub fn new_group(content: T) -> Self[src]

pub fn borrow(&self) -> MeRef<T>[src]

pub fn try_borrow(&self) -> Result<MeRef<T>, MeBorrowError>[src]

pub fn borrow_mut(&self) -> MeRefMut<T>[src]

pub fn try_borrow_mut(&self) -> Result<MeRefMut<T>, MeBorrowError>[src]

pub fn borrow_with<'a: 'b, 'b, U>(
    &'b self,
    source: &'b MeRef<'a, U>
) -> MeRef<'b, T>
[src]

pub fn borrow_mut_with<'a: 'b, 'b, U>(
    &'b self,
    source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'b, T>
[src]

pub unsafe fn borrow_mut_unsafe_with<'a: 'b, 'b, 'c, U>(
    &'c self,
    source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'c, T>
[src]

pub fn borrow_with_handle<'a: 'b, 'b>(
    &'b self,
    source: &'b MeRefHandle<'a>
) -> MeRef<'b, T>
[src]

pub fn borrow_mut_with_handle<'a: 'b, 'b>(
    &'b self,
    source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'b, T>
[src]

pub unsafe fn borrow_mut_unsafe_with_handle<'a: 'b, 'b, 'c>(
    &'c self,
    source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'c, T>
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for MeCell<T>

impl<T> !Send for MeCell<T>

impl<T> !Sync for MeCell<T>

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

impl<T> !UnwindSafe for MeCell<T>

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.