pub struct Bound<'b, S, F> { /* private fields */ }
Implementations§
source§impl<S, F> Bound<'_, S, F>
impl<S, F> Bound<'_, S, F>
pub fn into_listener<E, O>(self) -> impl Listener<E>where S: 'static, E: EventCast, F: Fn(&mut S, E) -> O + 'static, O: ShouldRender,
Trait Implementations§
impl<S, F> Copy for Bound<'_, S, F>where F: Copy,
Auto Trait Implementations§
impl<'b, S, F> !RefUnwindSafe for Bound<'b, S, F>
impl<'b, S, F> !Send for Bound<'b, S, F>
impl<'b, S, F> !Sync for Bound<'b, S, F>
impl<'b, S, F> Unpin for Bound<'b, S, F>where F: Unpin,
impl<'b, S, F> !UnwindSafe for Bound<'b, S, F>
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