Update the documentation after the changes to ComponentHandle

This commit is contained in:
Olivier Goffart 2020-11-09 15:08:08 +01:00
parent 55f9641b84
commit 503567d84c
2 changed files with 3 additions and 23 deletions

View file

@ -98,8 +98,6 @@ This documentation contains a documented generated component: [`docs::generated_
The following associated function are added to the component:
- [`fn new() -> Pin<Rc<Self>>`](docs::generated_code::SampleComponent::new): to instantiate the component.
- [`fn run(self: Pin<Rc<Self>>)`](docs::generated_code::SampleComponent::run): to show and start the event loop.
- [`fn as_weak(self: Pin<Rc<Self>>)`](docs::generated_code::SampleComponent::as_weak): Convenience to create a weak reference pointer.
For each top-level property
- A setter [`fn set_<property_name>(&self, value: <PropertyType>)`](docs::generated_code::SampleComponent::set_counter)