Struct shipyard::NonSync[][src]

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

Type used to access !Sync storages.

Trait Implementations

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<ViewBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<ViewMutBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<UniqueViewBorrower<T>>[src]

impl<'a, T: 'static + Send> AllStoragesBorrow<'a> for NonSync<UniqueViewMutBorrower<T>>[src]

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

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

impl<'a, T: 'static + Send> Borrow<'a> for NonSync<ViewBorrower<T>>[src]

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

impl<'a, T: 'static + Send> Borrow<'a> for NonSync<ViewMutBorrower<T>>[src]

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

impl<'a, T: 'static + Send> Borrow<'a> for NonSync<UniqueViewBorrower<T>>[src]

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

impl<'a, T: 'static + Send> Borrow<'a> for NonSync<UniqueViewMutBorrower<T>>[src]

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

impl<'a, T: 'static + Send> BorrowInfo for NonSync<View<'a, T>>[src]

impl<'a, T: 'static + Send> BorrowInfo for NonSync<ViewMut<'a, T>>[src]

impl<'a, T: 'static + Send> BorrowInfo for NonSync<UniqueView<'a, T>>[src]

impl<'a, T: 'static + Send> BorrowInfo for NonSync<UniqueViewMut<'a, T>>[src]

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

type Target = T

The resulting type after dereferencing.

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

impl<T: 'static + Send> IntoBorrow for NonSync<View<'_, T>>[src]

type Borrow = NonSync<ViewBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static + Send> IntoBorrow for NonSync<ViewMut<'_, T>>[src]

type Borrow = NonSync<ViewMutBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static + Send> IntoBorrow for NonSync<UniqueView<'_, T>>[src]

type Borrow = NonSync<UniqueViewBorrower<T>>

Helper type almost allowing GAT on stable.

impl<T: 'static + Send> IntoBorrow for NonSync<UniqueViewMut<'_, T>>[src]

type Borrow = NonSync<UniqueViewMutBorrower<T>>

Helper type almost allowing GAT on stable.

Auto Trait Implementations

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

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

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

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

impl<T: ?Sized> UnwindSafe for NonSync<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.