pub struct FrameHandle<FRAME> { /* private fields */ }Expand description
Handle to frame is returned when adding it to the view manager. Can be used to add listeners. (And potentially other manipulations of the frame are possible in the future)
Implementations§
Source§impl<STATE: 'static, FRAME: Frame<State = STATE>> FrameHandle<FRAME>
impl<STATE: 'static, FRAME: Frame<State = STATE>> FrameHandle<FRAME>
Source§impl<STATE: 'static, FRAME: Frame<State = STATE>> FrameHandle<FRAME>
impl<STATE: 'static, FRAME: Frame<State = STATE>> FrameHandle<FRAME>
pub fn register_receiver<F, MSG>(&self, f: F)
Trait Implementations§
Source§impl<FRAME: Clone> Clone for FrameHandle<FRAME>
impl<FRAME: Clone> Clone for FrameHandle<FRAME>
Source§fn clone(&self) -> FrameHandle<FRAME>
fn clone(&self) -> FrameHandle<FRAME>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<FRAME> Freeze for FrameHandle<FRAME>
impl<FRAME> RefUnwindSafe for FrameHandle<FRAME>where
FRAME: RefUnwindSafe,
impl<FRAME> Send for FrameHandle<FRAME>where
FRAME: Send,
impl<FRAME> Sync for FrameHandle<FRAME>where
FRAME: Sync,
impl<FRAME> Unpin for FrameHandle<FRAME>where
FRAME: Unpin,
impl<FRAME> UnwindSafe for FrameHandle<FRAME>where
FRAME: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more