Struct guppy::Obs[][src]

pub struct Obs<'a, T>(_);

Represents an owned, borrowed or shared instance of T.

This represents any of T, &'a T or Arc<T>.

Trait Implementations

impl<'a, T: Clone> Clone for Obs<'a, T>[src]

impl<'a, T: Debug> Debug for Obs<'a, T>[src]

impl<'a, T> Deref for Obs<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T: Sync> From<&'a T> for Obs<'a, T>[src]

impl<'a, T: 'static + Send + Sync> From<Arc<T>> for Obs<'a, T>[src]

impl<'a, T: Send> From<T> for Obs<'a, T>[src]

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for Obs<'a, T>

impl<'a, T> Send for Obs<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for Obs<'a, T> where
    T: Sync

impl<'a, T> Unpin for Obs<'a, T> where
    T: Unpin

impl<'a, T> !UnwindSafe for Obs<'a, 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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

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

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,