[][src]Struct pui_core::scoped::Scoped

pub struct Scoped<'a> { /* fields omitted */ }

A scoped Identifier

Implementations

impl<'scope> Scoped<'scope>[src]

pub fn with<R, F: FnOnce(Scoped<'_>) -> R>(f: F) -> R[src]

Call the given closure with a new Scoped

pub const fn token(&self) -> ScopedToken<'scope>[src]

Create a new scoped token

Trait Implementations

impl Debug for Scoped<'_>[src]

impl<'a> Eq for Scoped<'a>[src]

impl<'a> Hash for Scoped<'a>[src]

impl<'a> Identifier for Scoped<'a>[src]

type Token = ScopedToken<'a>

The tokens that this Identifier generates

impl OneShotIdentifier for Scoped<'_>[src]

impl<'a> Ord for Scoped<'a>[src]

impl<'a> PartialEq<Scoped<'a>> for Scoped<'a>[src]

impl<'a> PartialOrd<Scoped<'a>> for Scoped<'a>[src]

impl<'a> StructuralEq for Scoped<'a>[src]

impl<'a> StructuralPartialEq for Scoped<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Scoped<'a>[src]

impl<'a> Send for Scoped<'a>[src]

impl<'a> Sync for Scoped<'a>[src]

impl<'a> Unpin for Scoped<'a>[src]

impl<'a> UnwindSafe for Scoped<'a>[src]

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, 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.