[][src]Struct polyhorn_core::Manager

pub struct Manager<'a, P: ?Sized> where
    P: Platform
{ /* fields omitted */ }

Implementations

impl<'a, P: ?Sized> Manager<'a, P> where
    P: Platform
[src]

pub fn new(
    compositor: &'a P::Compositor,
    bus: &'a EventLoop,
    memory: &'a mut Memory,
    context: &'a ContextTree,
    children: Element<P>,
    instance: &'a Rc<Instance<P>>
) -> Manager<'a, P>
[src]

pub fn compositor(&self) -> &P::Compositor[src]

pub fn children(&mut self) -> Element<P>[src]

pub fn bind<F, I>(&self, closure: F) -> impl Fn(I) where
    F: Fn(&WeakLink<'_, P>, I), 
[src]

Trait Implementations

type Platform = P

impl<'a, P: ?Sized> UseAsync for Manager<'a, P> where
    P: Platform
[src]

impl<'a, P: ?Sized> UseContext for Manager<'a, P> where
    P: Platform
[src]

impl<'a, P: ?Sized> UseEffect<P> for Manager<'a, P> where
    P: Platform
[src]

impl<'a, P: ?Sized> UseLayoutEffect<P> for Manager<'a, P> where
    P: Platform
[src]

impl<'a, P: ?Sized> UseReference for Manager<'a, P> where
    P: Platform
[src]

impl<'a, P: ?Sized> UseState for Manager<'a, P> where
    P: Platform
[src]

Auto Trait Implementations

impl<'a, P> !RefUnwindSafe for Manager<'a, P>

impl<'a, P> !Send for Manager<'a, P>

impl<'a, P> !Sync for Manager<'a, P>

impl<'a, P: ?Sized> Unpin for Manager<'a, P> where
    <P as Platform>::Component: Unpin,
    <P as Platform>::ContainerID: Unpin

impl<'a, P> !UnwindSafe for Manager<'a, P>

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.