[][src]Struct mtots::Opaque

pub struct Opaque { /* fields omitted */ }

Implementations

impl Opaque[src]

pub fn new<T>(t: T) -> Opaque where
    T: 'static, 
[src]

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

pub fn type_name(&self) -> &'static str[src]

pub fn borrow<T>(&'a self) -> Option<Ref<'a, T>> where
    T: 'static, 
[src]

pub fn borrow_mut<T>(&'a self) -> Option<RefMut<'a, T>> where
    T: 'static, 
[src]

pub fn move_<T>(&self) -> Option<T> where
    T: 'static, 
[src]

Trait Implementations

impl Debug for Opaque[src]

impl From<Opaque> for Value[src]

Auto Trait Implementations

impl !RefUnwindSafe for Opaque

impl !Send for Opaque

impl !Sync for Opaque

impl Unpin for Opaque

impl !UnwindSafe for Opaque

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.