pub struct RenderPropProps<T, R>{
pub data: T,
pub renderer: R,
}
Expand description
Props for render prop component
Fields§
§data: T
§renderer: R
Trait Implementations§
Auto Trait Implementations§
impl<T, R> Freeze for RenderPropProps<T, R>
impl<T, R> RefUnwindSafe for RenderPropProps<T, R>where
T: RefUnwindSafe,
R: RefUnwindSafe,
impl<T, R> Send for RenderPropProps<T, R>
impl<T, R> Sync for RenderPropProps<T, R>
impl<T, R> Unpin for RenderPropProps<T, R>
impl<T, R> UnwindSafe for RenderPropProps<T, R>where
T: UnwindSafe,
R: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting