pub struct Component<State, Update, View, Effect> {
pub init: State,
pub update: Update,
pub view: View,
pub effect: Effect,
}Fields§
§init: State§update: Update§view: View§effect: EffectAuto Trait Implementations§
impl<State, Update, View, Effect> Freeze for Component<State, Update, View, Effect>
impl<State, Update, View, Effect> RefUnwindSafe for Component<State, Update, View, Effect>
impl<State, Update, View, Effect> Send for Component<State, Update, View, Effect>
impl<State, Update, View, Effect> Sync for Component<State, Update, View, Effect>
impl<State, Update, View, Effect> Unpin for Component<State, Update, View, Effect>
impl<State, Update, View, Effect> UnwindSafe for Component<State, Update, View, Effect>
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