[−][src]Struct me_cell::MeCell
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]
&'b self,
source: &'b MeRef<'a, U>
) -> MeRef<'b, T>
pub fn borrow_mut_with<'a: 'b, 'b, U>(
&'b self,
source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'b, T>
[src]
&'b self,
source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'b, T>
pub unsafe fn borrow_mut_unsafe_with<'a: 'b, 'b, 'c, U>(
&'c self,
source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'c, T>
[src]
&'c self,
source: &'b mut MeRefMut<'a, U>
) -> MeRefMut<'c, T>
pub fn borrow_with_handle<'a: 'b, 'b>(
&'b self,
source: &'b MeRefHandle<'a>
) -> MeRef<'b, T>
[src]
&'b self,
source: &'b MeRefHandle<'a>
) -> MeRef<'b, T>
pub fn borrow_mut_with_handle<'a: 'b, 'b>(
&'b self,
source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'b, T>
[src]
&'b self,
source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'b, T>
pub unsafe fn borrow_mut_unsafe_with_handle<'a: 'b, 'b, 'c>(
&'c self,
source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'c, T>
[src]
&'c self,
source: &'b mut MeRefMutHandle<'a>
) -> MeRefMut<'c, T>
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,
T: Unpin,
impl<T> !UnwindSafe for MeCell<T>
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,
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.
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>,