MCPcopy Create free account
hub / github.com/angular-rust/yew-components / update

Method update

src/top_app_bar.rs:67–74  ·  view source on GitHub ↗
(&mut self, msg: Self::Message)

Source from the content-addressed store, hash-verified

65 }
66
67 fn update(&mut self, msg: Self::Message) -> ShouldRender {
68 match msg {
69 Msg::Nav => {
70 self.props.onnavigation.emit(());
71 }
72 }
73 false
74 }
75
76 fn change(&mut self, props: Self::Properties) -> bool {
77 if self.props != props {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected