[−][src]Struct pui_core::dynamic::Global
A global scalar allocator that's backed by a NonZeroU64.
This allows Option<DynamicToken<Global>> to be the same size
as DynamicToken<Global>
Implementations
impl Global[src]
pub fn oneshot() -> Dynamic<Self>[src]
Create a new Dynamic<Self> that implements OneShotIdentifier
pub fn with_pool<P: PoolMut<Self>>(pool: P) -> Dynamic<Self, P>[src]
Create a new Dynamic<Self> with the given pool
Trait Implementations
impl ScalarAllocator for Global[src]
type Scalar = NonZeroU64
The types in the sequence
type AutoTraits = ()
This type's autotraits restrictions that will
be applied to both Dynamic and DynamicToken Read more
pub fn alloc() -> Self::Scalar[src]
Auto Trait Implementations
impl RefUnwindSafe for Global[src]
impl Send for Global[src]
impl Sync for Global[src]
impl Unpin for Global[src]
impl UnwindSafe for Global[src]
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, 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>,