Struct shipyard::borrow::NonSend [−][src]
This is supported on crate feature
thread_local
only.Type used to access !Send
storages.
Trait Implementations
impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<ViewBorrower<T>>
[src]
fn all_borrow(all_storages: &'a AllStorages) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<ViewMutBorrower<T>>
[src]
fn all_borrow(all_storages: &'a AllStorages) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<UniqueViewBorrower<T>>
[src]
fn all_borrow(all_storages: &'a AllStorages) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> AllStoragesBorrow<'a> for NonSend<UniqueViewMutBorrower<T>>
[src]
fn all_borrow(all_storages: &'a AllStorages) -> Result<Self::View, GetStorage>
[src]
impl<T: ?Sized> AsMut<T> for NonSend<T>
[src]
impl<T: ?Sized> AsRef<T> for NonSend<T>
[src]
impl<'a, T: 'static + Sync> Borrow<'a> for NonSend<ViewBorrower<T>>
[src]
impl<'a, T: 'static + Sync> Borrow<'a> for NonSend<ViewMutBorrower<T>>
[src]
type View = NonSend<ViewMut<'a, T>>
fn borrow(world: &'a World) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> Borrow<'a> for NonSend<UniqueViewBorrower<T>>
[src]
type View = NonSend<UniqueView<'a, T>>
fn borrow(world: &'a World) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> Borrow<'a> for NonSend<UniqueViewMutBorrower<T>>
[src]
type View = NonSend<UniqueViewMut<'a, T>>
fn borrow(world: &'a World) -> Result<Self::View, GetStorage>
[src]
impl<'a, T: 'static + Sync> BorrowInfo for NonSend<View<'a, T>>
[src]
fn borrow_info(infos: &mut Vec<TypeInfo>)
[src]
impl<'a, T: 'static + Sync> BorrowInfo for NonSend<ViewMut<'a, T>>
[src]
fn borrow_info(infos: &mut Vec<TypeInfo>)
[src]
impl<'a, T: 'static + Sync> BorrowInfo for NonSend<UniqueView<'a, T>>
[src]
fn borrow_info(infos: &mut Vec<TypeInfo>)
[src]
impl<'a, T: 'static + Sync> BorrowInfo for NonSend<UniqueViewMut<'a, T>>
[src]
fn borrow_info(infos: &mut Vec<TypeInfo>)
[src]
impl<T: ?Sized> Deref for NonSend<T>
[src]
impl<T: ?Sized> DerefMut for NonSend<T>
[src]
impl<T: 'static + Sync> IntoBorrow for NonSend<View<'_, T>>
[src]
type Borrow = NonSend<ViewBorrower<T>>
Helper type almost allowing GAT on stable.
impl<T: 'static + Sync> IntoBorrow for NonSend<ViewMut<'_, T>>
[src]
type Borrow = NonSend<ViewMutBorrower<T>>
Helper type almost allowing GAT on stable.
impl<T: 'static + Sync> IntoBorrow for NonSend<UniqueView<'_, T>>
[src]
type Borrow = NonSend<UniqueViewBorrower<T>>
Helper type almost allowing GAT on stable.
impl<T: 'static + Sync> IntoBorrow for NonSend<UniqueViewMut<'_, T>>
[src]
type Borrow = NonSend<UniqueViewMutBorrower<T>>
Helper type almost allowing GAT on stable.
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for NonSend<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized> Send for NonSend<T> where
T: Send,
T: Send,
impl<T: ?Sized> Sync for NonSend<T> where
T: Sync,
T: Sync,
impl<T: ?Sized> Unpin for NonSend<T> where
T: Unpin,
T: Unpin,
impl<T: ?Sized> UnwindSafe for NonSend<T> where
T: UnwindSafe,
T: UnwindSafe,
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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub 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>,