#![cfg(doc)]
pub mod recipes {
#![doc = include_str!("docs/recipes/recipes.md")]
use crate as slint;
}
pub mod langref {
#![doc = include_str!("docs/langref.md")]
}
pub mod builtin_elements {
#![doc = include_str!("docs/builtin_elements.md")]
}
pub mod builtin_enums {
#![doc = include_str!("docs/builtin_enums.md")]
}
pub mod widgets {
#![doc = include_str!("docs/widgets.md")]
}
pub mod layouting {
#![doc = include_str!("docs/layouting.md")]
#![doc = ""]
}
pub mod generated_code {
use crate::ComponentHandle;
use crate::Global;
use crate::Weak;
use crate::Window;
#[derive(Clone)]
pub struct SampleComponent {}
impl SampleComponent {
pub fn new() -> Self {
unimplemented!()
}
pub fn get_counter(&self) -> i32 {
unimplemented!()
}
pub fn set_counter(&self, value: i32) {}
pub fn get_user_name(&self) -> crate::SharedString {
unimplemented!()
}
pub fn set_user_name(&self, value: crate::SharedString) {}
pub fn invoke_hello(&self) {}
pub fn on_hello(&self, f: impl Fn() + 'static) {}
}
impl ComponentHandle for SampleComponent {
#[doc(hidden)]
type Inner = SampleComponent;
fn as_weak(&self) -> Weak<Self> {
unimplemented!()
}
fn clone_strong(&self) -> Self {
unimplemented!();
}
#[doc(hidden)]
fn from_inner(
_: vtable::VRc<crate::private_unstable_api::re_exports::ComponentVTable, Self::Inner>,
) -> Self {
unimplemented!();
}
fn show(&self) {
unimplemented!();
}
fn hide(&self) {
unimplemented!();
}
fn window(&self) -> &Window {
unimplemented!()
}
fn run(&self) {
unimplemented!();
}
fn global<'a, T: Global<'a, Self>>(&'a self) -> T {
unimplemented!()
}
}
}
pub mod debugging_techniques {
#![doc = include_str!("docs/debugging_techniques.md")]
#![doc = ""]
}
pub mod mcu {
#![doc = include_str!("mcu.md")]
use crate::platform::software_renderer::*;
use crate::platform::*;
mod slint {
pub use crate::*;
}
}