Struct shipyard::NonSendSync[][src]

pub struct NonSendSync<T: ?Sized>(_);
This is supported on crate feature thread_local only.

Type used to access !Send + !Sync storages.

Trait Implementations

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<ViewBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<ViewMutBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<UniqueViewBorrower<T>>[src]

impl<'a, T: 'static> AllStoragesBorrow<'a> for NonSendSync<UniqueViewMutBorrower<T>>[src]

impl<T: ?Sized> AsMut<T> for NonSendSync<T>[src]

impl<T: ?Sized> AsRef<T> for NonSendSync<T>[src]

impl<'a, T: 'static> Borrow<'a> for NonSendSync<ViewBorrower<T>>[src]

type View = NonSendSync<View<'a, T>>

impl<'a, T: 'static> Borrow<'a> for NonSendSync<ViewMutBorrower<T>>[src]

type View = NonSendSync<ViewMut<'a, T>>

impl<'a, T: 'static> Borrow<'a> for NonSendSync<UniqueViewBorrower<T>>[src]

type View = NonSendSync<UniqueView<'a, T>>

impl<'a, T: 'static> Borrow<'a> for NonSendSync<UniqueViewMutBorrower<T>>[src]

type View = NonSendSync<UniqueViewMut<'a, T>>

impl<'a, T: 'static> BorrowInfo for NonSendSync<View<'a, T>>[src]

impl<'a, T: 'static> BorrowInfo for NonSendSync<ViewMut<'a, T>>[src]

impl<'a, T: 'static> BorrowInfo for NonSendSync<UniqueView<'a, T>>[src]

impl<'a, T: 'static> BorrowInfo for NonSendSync<UniqueViewMut<'a, T>>[src]

impl<T: ?Sized> Deref for NonSendSync<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: ?Sized> DerefMut for NonSendSync<T>[src]

impl<T: 'static> IntoBorrow for NonSendSync<View<'_, T>>[src]

type Borrow = NonSendSync<ViewBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static> IntoBorrow for NonSendSync<ViewMut<'_, T>>[src]

type Borrow = NonSendSync<ViewMutBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static> IntoBorrow for NonSendSync<UniqueView<'_, T>>[src]

type Borrow = NonSendSync<UniqueViewBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static> IntoBorrow for NonSendSync<UniqueViewMut<'_, T>>[src]

type Borrow = NonSendSync<UniqueViewMutBorrower<T>>

Helper type almost allowing GAT on stable.

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for NonSendSync<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Send for NonSendSync<T> where
    T: Send

impl<T: ?Sized> Sync for NonSendSync<T> where
    T: Sync

impl<T: ?Sized> Unpin for NonSendSync<T> where
    T: Unpin

impl<T: ?Sized> UnwindSafe for NonSendSync<T> where
    T: UnwindSafe

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> Pointable for T

type Init = T

The type for initializers.

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.