SYMBOL INDEX (8492 symbols across 773 files) FILE: examples/01-app-demos/bluetooth-scanner/src/main.rs function main (line 3) | fn main() { function app (line 7) | fn app() -> Element { FILE: examples/01-app-demos/calculator.rs constant TITLE (line 15) | const TITLE: &str = "Calculator"; constant STYLE (line 16) | const STYLE: Asset = asset!("/examples/assets/calculator.css"); function main (line 18) | fn main() { function app (line 39) | fn app() -> Element { function calc_val (line 150) | fn calc_val(val: &str) -> f64 { FILE: examples/01-app-demos/calculator_mutable.rs function main (line 13) | fn main() { function app (line 35) | fn app() -> Element { function CalculatorKey (line 125) | fn CalculatorKey(name: String, onclick: EventHandler, childr... type Calculator (line 131) | struct Calculator { method new (line 147) | fn new() -> Self { method formatted_display (line 155) | fn formatted_display(&self) -> String { method clear_display (line 162) | fn clear_display(&mut self) { method input_digit (line 165) | fn input_digit(&mut self, digit: u8) { method input_dot (line 174) | fn input_dot(&mut self) { method perform_operation (line 179) | fn perform_operation(&mut self) { method toggle_sign (line 193) | fn toggle_sign(&mut self) { method toggle_percent (line 200) | fn toggle_percent(&mut self) { method backspace (line 203) | fn backspace(&mut self) { method set_operator (line 208) | fn set_operator(&mut self, operator: Operator) { method handle_keydown (line 213) | fn handle_keydown(&mut self, evt: KeyboardEvent) { type Operator (line 139) | enum Operator { FILE: examples/01-app-demos/counters.rs constant STYLE (line 5) | const STYLE: Asset = asset!("/examples/assets/counter.css"); function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/01-app-demos/crm.rs function main (line 14) | fn main() { type Client (line 38) | struct Client { type Route (line 46) | enum Route { function List (line 58) | fn List() -> Element { function New (line 73) | fn New() -> Element { function Settings (line 151) | fn Settings() -> Element { FILE: examples/01-app-demos/dog_app.rs function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { FILE: examples/01-app-demos/ecommerce-site/src/api.rs function fetch_product (line 6) | pub(crate) async fn fetch_product(product_id: usize) -> Result { function fetch_products (line 16) | pub(crate) async fn fetch_products(count: usize, sort: Sort) -> Result) -> std::fmt::Result { type Sort (line 60) | pub(crate) enum Sort { method fmt (line 66) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: examples/01-app-demos/ecommerce-site/src/components/error.rs function error_page (line 4) | pub fn error_page() -> Element { FILE: examples/01-app-demos/ecommerce-site/src/components/home.rs function Home (line 10) | pub(crate) fn Home() -> Element { FILE: examples/01-app-demos/ecommerce-site/src/components/loading.rs function ChildrenOrLoading (line 4) | pub(crate) fn ChildrenOrLoading(children: Element) -> Element { FILE: examples/01-app-demos/ecommerce-site/src/components/nav.rs function Nav (line 4) | pub fn Nav() -> Element { function cart_icon (line 164) | pub(super) fn cart_icon() -> Element { function icon_1 (line 190) | pub(super) fn icon_1() -> Element { function icon_2 (line 209) | pub(super) fn icon_2() -> Element { function icon_3 (line 235) | pub(super) fn icon_3() -> Element { function icon_4 (line 254) | pub(super) fn icon_4() -> Element { function icon_5 (line 270) | pub(super) fn icon_5() -> Element { function icon_6 (line 296) | pub(super) fn icon_6() -> Element { function icon_7 (line 322) | pub(super) fn icon_7() -> Element { function icon_8 (line 348) | pub(super) fn icon_8() -> Element { function icon_9 (line 367) | pub(super) fn icon_9() -> Element { FILE: examples/01-app-demos/ecommerce-site/src/components/product_item.rs function ProductItem (line 6) | pub(crate) fn ProductItem(product: Product) -> Element { FILE: examples/01-app-demos/ecommerce-site/src/components/product_page.rs function ProductPage (line 7) | pub fn ProductPage(product_id: ReadSignal) -> Element { type Size (line 187) | enum Size { method fmt (line 195) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 205) | type Err = (); method from_str (line 207) | fn from_str(s: &str) -> Result { function icon_0 (line 221) | pub(super) fn icon_0() -> Element { function icon_1 (line 239) | pub(super) fn icon_1() -> Element { function icon_2 (line 258) | pub(super) fn icon_2() -> Element { function icon_3 (line 287) | pub(super) fn icon_3() -> Element { FILE: examples/01-app-demos/ecommerce-site/src/main.rs function main (line 17) | fn main() { type Route (line 33) | enum Route { function Details (line 43) | fn Details(product_id: usize) -> Element { FILE: examples/01-app-demos/file-explorer/src/main.rs function main (line 13) | fn main() { function app (line 17) | fn app() -> Element { type Files (line 67) | struct Files { method new (line 74) | fn new() -> Self { method reload_path_list (line 86) | fn reload_path_list(&mut self) { method go_up (line 106) | fn go_up(&mut self) { method enter_dir (line 117) | fn enter_dir(&mut self, dir_id: usize) { method current (line 126) | fn current(&self) -> String { method clear_err (line 130) | fn clear_err(&mut self) { FILE: examples/01-app-demos/geolocation-native-plugin/src/main.rs function main (line 17) | fn main() { function App (line 22) | fn App() -> Element { function PermissionBadge (line 176) | fn PermissionBadge(label: String, state: PermissionState) -> Element { function CoordinateRow (line 194) | fn CoordinateRow(label: String, value: String) -> Element { function format_optional (line 203) | fn format_optional(value: Option) -> String { function LiveActivityCard (line 211) | fn LiveActivityCard( function LiveActivityCard (line 280) | fn LiveActivityCard(geolocation: Signal, error: Signal = std::result::Result; type Error (line 10) | pub enum Error { method from (line 39) | fn from(s: &str) -> Self { method from (line 45) | fn from(s: String) -> Self { method serialize (line 30) | fn serialize(&self, serializer: S) -> std::result::Result Self { method get_plugin (line 72) | fn get_plugin(&mut self) -> Result<&GeolocationPlugin> { method get_current_position (line 88) | pub fn get_current_position(&mut self, options: Option Result { method request_permissions (line 130) | pub fn request_permissions( method start_live_activity (line 154) | pub fn start_live_activity(&mut self) -> Result { method update_live_activity (line 175) | pub fn update_live_activity(&mut self) -> Result { method end_live_activity (line 193) | pub fn end_live_activity(&mut self) -> Result<()> { method default (line 210) | fn default() -> Self { function getCurrentPositionJson (line 225) | pub fn getCurrentPositionJson(this: &GeolocationPlugin, optionsJson: Str... function checkPermissionsJson (line 229) | pub fn checkPermissionsJson(this: &GeolocationPlugin) -> String; function requestPermissionsJson (line 233) | pub fn requestPermissionsJson(this: &GeolocationPlugin, permissionsJson:... function startLiveActivityJson (line 237) | pub fn startLiveActivityJson(this: &GeolocationPlugin) -> String; function updateLiveActivityJson (line 241) | pub fn updateLiveActivityJson(this: &GeolocationPlugin, statusJson: Stri... function endLiveActivityJson (line 245) | pub fn endLiveActivityJson(this: &GeolocationPlugin) -> String; function getCurrentPositionJson (line 258) | pub fn getCurrentPositionJson(this: &GeolocationPlugin, optionsJson: Str... function checkPermissionsJson (line 262) | pub fn checkPermissionsJson(this: &GeolocationPlugin) -> String; function requestPermissionsJson (line 266) | pub fn requestPermissionsJson(this: &GeolocationPlugin, permissionsJson:... type GeolocationPlugin (line 286) | pub struct GeolocationPlugin; method new (line 289) | pub fn new() -> Result { function getCurrentPositionJson (line 296) | pub fn getCurrentPositionJson(_: &GeolocationPlugin, _: String) -> Resul... function checkPermissionsJson (line 302) | pub fn checkPermissionsJson(_: &GeolocationPlugin) -> Result { function requestPermissionsJson (line 308) | pub fn requestPermissionsJson(_: &GeolocationPlugin, _: String) -> Resul... FILE: examples/01-app-demos/geolocation-native-plugin/src/plugin/models.rs type PermissionState (line 11) | pub enum PermissionState { type PermissionStatus (line 28) | pub struct PermissionStatus { type PositionOptions (line 48) | pub struct PositionOptions { type PermissionType (line 69) | pub enum PermissionType { type Coordinates (line 76) | pub struct Coordinates { type Position (line 96) | pub struct Position { type LiveActivityResult (line 112) | pub struct LiveActivityResult { type LiveActivityUpdate (line 127) | pub struct LiveActivityUpdate { FILE: examples/01-app-demos/hackernews/src/main.rs function main (line 13) | fn main() { type Route (line 27) | enum Route { function StoryPreview (line 33) | fn StoryPreview(story: ReadSignal>) -> Element { function Stories (line 55) | fn Stories() -> Element { function StoryListing (line 79) | fn StoryListing(story: ReadSignal) -> Element { function Preview (line 136) | fn Preview(story_id: ReadSignal) -> Element { function Comment (line 153) | fn Comment(comment: ReadSignal) -> Element { constant COMMENT_DEPTH (line 188) | const COMMENT_DEPTH: i64 = 1; type StoryPageData (line 191) | pub struct StoryPageData { type CommentData (line 199) | pub struct CommentData { type StoryItem (line 214) | pub struct StoryItem { function get_story (line 232) | pub async fn get_story(id: i64) -> Result { function ChildrenOrLoading (line 242) | fn ChildrenOrLoading(children: Element) -> Element { FILE: examples/01-app-demos/hello_world.rs function main (line 14) | fn main() { function app (line 18) | fn app() -> Element { FILE: examples/01-app-demos/hotdog/src/backend.rs function list_dogs (line 23) | pub async fn list_dogs() -> Result> { function remove_dog (line 33) | pub async fn remove_dog(id: usize) -> Result<()> { function save_dog (line 39) | pub async fn save_dog(image: String) -> Result<()> { FILE: examples/01-app-demos/hotdog/src/frontend.rs function Favorites (line 10) | pub fn Favorites() -> Element { function NavBar (line 32) | pub fn NavBar() -> Element { function DogView (line 44) | pub fn DogView() -> Element { FILE: examples/01-app-demos/hotdog/src/main.rs type Route (line 8) | enum Route { function main (line 17) | fn main() { function app (line 24) | fn app() -> Element { FILE: examples/01-app-demos/image_generator_openai.rs function main (line 3) | fn main() { function app (line 7) | fn app() -> Element { FILE: examples/01-app-demos/repo_readme.rs function main (line 10) | fn main() { function app (line 14) | fn app() -> Element { FILE: examples/01-app-demos/todomvc.rs constant STYLE (line 6) | const STYLE: Asset = asset!("/examples/assets/todomvc.css"); function main (line 8) | fn main() { type FilterState (line 13) | enum FilterState { type TodoItem (line 19) | struct TodoItem { function app (line 24) | fn app() -> Element { function TodoHeader (line 113) | fn TodoHeader(mut todos: WriteSignal>) -> Element { function TodoEntry (line 149) | fn TodoEntry(mut todos: WriteSignal>, id: u32) ->... function ListFooter (line 210) | fn ListFooter( FILE: examples/01-app-demos/todomvc_store.rs constant STYLE (line 9) | const STYLE: Asset = asset!("/examples/assets/todomvc.css"); type TodoState (line 18) | struct TodoState { function active_items (line 29) | fn active_items(&self) -> Vec { function incomplete_count (line 40) | fn incomplete_count(&self) -> usize { function toggle_all (line 47) | fn toggle_all(&mut self) { function has_todos (line 54) | fn has_todos(&self) -> bool { type FilterState (line 60) | enum FilterState { type TodoItem (line 67) | struct TodoItem { method new (line 73) | fn new(contents: impl ToString) -> Self { function complete (line 83) | fn complete(&self) -> bool { function incomplete (line 87) | fn incomplete(&self) -> bool { function active (line 91) | fn active(&self, filter: FilterState) -> bool { function main (line 100) | fn main() { function app (line 104) | fn app() -> Element { function TodoHeader (line 173) | fn TodoHeader(mut todos: Store) -> Element { function TodoEntry (line 205) | fn TodoEntry(mut todos: Store, id: u32) -> Element { function ListFooter (line 266) | fn ListFooter(mut todos: Store, active_todo_count: ReadSignal... FILE: examples/01-app-demos/weather_app.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { function CountryData (line 62) | fn CountryData(weather: WeatherResponse, country: WeatherLocation) -> El... function Forecast (line 89) | fn Forecast(weather: WeatherResponse) -> Element { function SearchBox (line 119) | fn SearchBox(mut country: WriteSignal) -> Element { function MapIcon (line 182) | fn MapIcon() -> Element { type WeatherLocation (line 207) | struct WeatherLocation { type WeatherLocations (line 215) | type WeatherLocations = Vec; type SearchResponse (line 218) | struct SearchResponse { function get_locations (line 223) | async fn get_locations(input: impl Display) -> Result { type WeatherResponse (line 235) | struct WeatherResponse { type HourlyWeather (line 241) | struct HourlyWeather { type DailyWeather (line 247) | struct DailyWeather { function get_weather (line 252) | async fn get_weather(location: WeatherLocation) -> reqwest::Result Element { type ClientEvent (line 80) | enum ClientEvent { type ServerEvent (line 86) | enum ServerEvent { type ChatMessage (line 92) | struct ChatMessage { function uppercase_ws (line 99) | async fn uppercase_ws( FILE: examples/02-building-ui/disabled.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/02-building-ui/nested_listeners.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { FILE: examples/02-building-ui/svg.rs function main (line 12) | fn main() { function Dice (line 24) | fn Dice() -> Element { FILE: examples/03-assets-styling/css_modules.rs function main (line 6) | fn main() { function app (line 10) | fn app() -> Element { FILE: examples/03-assets-styling/custom_assets.rs function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { FILE: examples/03-assets-styling/dynamic_assets.rs constant STYLE (line 10) | const STYLE: Asset = asset!("/examples/assets/custom_assets.css"); function main (line 12) | fn main() { function app (line 16) | fn app() -> Element { FILE: examples/03-assets-styling/meta.rs function main (line 5) | fn main() { function app (line 9) | fn app() -> Element { FILE: examples/03-assets-styling/meta_elements.rs function main (line 5) | fn main() { function app (line 9) | fn app() -> Element { FILE: examples/04-managing-state/context_api.rs constant STYLE (line 12) | const STYLE: Asset = asset!("/examples/assets/context_api.css"); function main (line 14) | fn main() { function app (line 19) | fn app() -> Element { type Theme (line 36) | enum Theme { method stylesheet (line 42) | fn stylesheet(&self) -> &'static str { function ThemeControls (line 51) | fn ThemeControls() -> Element { function ThemeDisplay (line 74) | fn ThemeDisplay() -> Element { function use_theme_context (line 86) | fn use_theme_context() -> Signal { FILE: examples/04-managing-state/error_handling.rs function main (line 13) | fn main() { function Simple (line 18) | fn Simple() -> Element { function ParseNumber (line 32) | fn ParseNumber() -> Element { function Show (line 50) | fn Show() -> Element { function ParseNumberWithShow (line 87) | fn ParseNumberWithShow() -> Element { function Panic (line 103) | fn Panic() -> Element { function ComponentPanic (line 117) | fn ComponentPanic() -> Element { type Route (line 122) | enum Route { function Home (line 133) | fn Home() -> Element { FILE: examples/04-managing-state/global.rs constant STYLE (line 10) | const STYLE: Asset = asset!("/examples/assets/counter.css"); function main (line 15) | fn main() { function app (line 19) | fn app() -> Element { function Increment (line 30) | fn Increment() -> Element { function Decrement (line 37) | fn Decrement() -> Element { function Display (line 44) | fn Display() -> Element { function Reset (line 52) | fn Reset() -> Element { FILE: examples/04-managing-state/memo_chain.rs function main (line 8) | fn main() { function app (line 12) | fn app() -> Element { function Child (line 31) | fn Child(state: Memo, items: Memo>, depth: ReadSignal<... FILE: examples/04-managing-state/reducer.rs constant STYLE (line 10) | const STYLE: Asset = asset!("/examples/assets/radio.css"); function main (line 12) | fn main() { function app (line 16) | fn app() -> Element { type PlayerAction (line 33) | enum PlayerAction { type PlayerState (line 39) | struct PlayerState { method reduce (line 44) | fn reduce(&mut self, action: PlayerAction) { method is_playing (line 50) | fn is_playing(&self) -> &'static str { FILE: examples/04-managing-state/signals.rs function main (line 12) | fn main() { function app (line 16) | fn app() -> Element { function Child (line 84) | fn Child(mut count: ReadSignal) -> Element { FILE: examples/05-using-async/backgrounded_futures.rs function main (line 13) | fn main() { function app (line 17) | fn app() -> Element { function Child (line 39) | fn Child(count: WriteSignal) -> Element { FILE: examples/05-using-async/clock.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/05-using-async/future.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { FILE: examples/05-using-async/streams.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { function some_stream (line 30) | fn some_stream() -> std::pin::Pin>> { FILE: examples/05-using-async/suspense.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { function Doggo (line 33) | fn Doggo() -> Element { FILE: examples/06-routing/flat_router.rs constant STYLE (line 12) | const STYLE: Asset = asset!("/examples/assets/flat_router.css"); function main (line 14) | fn main() { type Route (line 25) | enum Route { function Footer (line 41) | fn Footer() -> Element { function Home (line 56) | fn Home() -> Element { function Games (line 64) | fn Games() -> Element { function Play (line 73) | fn Play() -> Element { function Settings (line 81) | fn Settings() -> Element { FILE: examples/06-routing/hash_fragment_state.rs function main (line 21) | fn main() { type Route (line 31) | enum Route { type State (line 40) | struct State { method fmt (line 46) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type StateParseError (line 55) | enum StateParseError { method fmt (line 61) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 71) | type Err = StateParseError; method from_str (line 73) | fn from_str(s: &str) -> Result { function Home (line 84) | fn Home(url_hash: ReadSignal) -> Element { FILE: examples/06-routing/link.rs constant STYLE (line 11) | const STYLE: Asset = asset!("/examples/assets/links.css"); function main (line 13) | fn main() { function app (line 17) | fn app() -> Element { type Route (line 26) | enum Route { function Header (line 39) | fn Header() -> Element { function Home (line 52) | fn Home() -> Element { function Settings (line 57) | fn Settings() -> Element { function DefaultLinks (line 62) | fn DefaultLinks() -> Element { FILE: examples/06-routing/query_segment_search.rs function main (line 16) | fn main() { type Route (line 26) | enum Route { function Home (line 40) | fn Home() -> Element { function Search (line 68) | fn Search(query: ReadSignal, word_count: ReadSignal) -> E... FILE: examples/06-routing/router.rs constant STYLE (line 11) | const STYLE: Asset = asset!("/examples/assets/router.css"); function main (line 13) | fn main() { type Route (line 26) | enum Route { function NavBar (line 67) | fn NavBar() -> Element { function Home (line 78) | fn Home() -> Element { function Blog (line 83) | fn Blog() -> Element { function BlogList (line 91) | fn BlogList() -> Element { function BlogPost (line 108) | fn BlogPost(name: String) -> Element { function PageNotFound (line 122) | fn PageNotFound(route: Vec) -> Element { FILE: examples/06-routing/router_resource.rs type Route (line 10) | enum Route { function main (line 17) | fn main() { function App (line 22) | fn App() -> Element { function Blog (line 31) | fn Blog(id: ReadSignal) -> Element { function Home (line 55) | fn Home() -> Element { FILE: examples/06-routing/router_restore_scroll.rs type Route (line 7) | enum Route { function main (line 14) | fn main() { function App (line 19) | fn App() -> Element { function Blog (line 28) | fn Blog(id: i32) -> Element { type Scroll (line 35) | type Scroll = Option; function Home (line 38) | fn Home() -> Element { FILE: examples/06-routing/simple_router.rs function main (line 5) | fn main() { type Route (line 15) | enum Route { function Homepage (line 26) | fn Homepage() -> Element { function Blog (line 31) | fn Blog(id: String) -> Element { function Nav (line 42) | fn Nav() -> Element { FILE: examples/07-fullstack/auth/src/auth.rs type Session (line 11) | pub(crate) type Session = axum_session_auth::AuthSession) -> Result bool { method is_active (line 67) | fn is_active(&self) -> bool { method is_anonymous (line 71) | fn is_anonymous(&self) -> bool { method has (line 78) | async fn has(&self, perm: &str, _pool: &Option<&SqlitePool>) -> bool { type SqlPermissionTokens (line 24) | pub(crate) struct SqlPermissionTokens { FILE: examples/07-fullstack/auth/src/main.rs function main (line 20) | fn main() { function app (line 78) | fn app() -> Element { function login (line 118) | pub async fn login() -> Result<()> { function logout (line 125) | pub async fn logout() -> Result<()> { function get_user_name (line 135) | pub async fn get_user_name() -> Result { function get_permissions (line 142) | pub async fn get_permissions() -> Result> { FILE: examples/07-fullstack/custom_axum_serve.rs function main (line 24) | fn main() { function app (line 42) | fn app() -> Element { FILE: examples/07-fullstack/custom_error_page.rs function main (line 13) | fn main() { type Route (line 22) | enum Route { function Home (line 32) | fn Home() -> Element { function Blog (line 45) | fn Blog(id: u32) -> Element { function ErrorLayout (line 62) | fn ErrorLayout() -> Element { FILE: examples/07-fullstack/desktop/src/main.rs function main (line 4) | fn main() { function app (line 12) | pub fn app() -> Element { function post_server_data (line 35) | async fn post_server_data(data: String) -> ServerFnResult { function get_server_data (line 41) | async fn get_server_data() -> ServerFnResult { FILE: examples/07-fullstack/dog_app_self_hosted.rs function main (line 6) | fn main() { function app (line 10) | fn app() -> Element { function list_breeds (line 36) | async fn list_breeds() -> Result> { function get_random_breed_image (line 41) | async fn get_random_breed_image(breed: String) -> Result { FILE: examples/07-fullstack/full_request_access.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { function full_request (line 27) | async fn full_request() -> Result<()> { FILE: examples/07-fullstack/fullstack_hello_world.rs function main (line 9) | fn main() { function get_message (line 22) | async fn get_message(name: String, age: i32) -> Result { FILE: examples/07-fullstack/handling_errors.rs function main (line 29) | fn main() { function post_server_data (line 88) | async fn post_server_data(data: String) -> Result<(), StatusCode> { function get_ip_data (line 95) | async fn get_ip_data() -> Result { function get_dog_data (line 101) | async fn get_dog_data() -> Result { function get_dog_data_err (line 110) | async fn get_dog_data_err() -> Result { function get_custom_encoding (line 121) | async fn get_custom_encoding(takes: Json) -> Result Result<()> { function throws_http_error (line 137) | async fn throws_http_error() -> Result<()> { function throws_http_error_context (line 144) | async fn throws_http_error_context() -> Result { function get_throws_ok (line 151) | async fn get_throws_ok() -> Result<()> { type MyCustomError (line 156) | enum MyCustomError { method as_status_code (line 168) | fn as_status_code(&self) -> StatusCode { function get_throws_typed_error (line 181) | async fn get_throws_typed_error() -> Result<(), MyCustomError> { function get_throws_serverfn_error (line 189) | async fn get_throws_serverfn_error() -> Result<(), ServerFnError> { FILE: examples/07-fullstack/header_map.rs function main (line 14) | fn main() { function app (line 18) | fn app() -> Element { function get_headers (line 34) | async fn get_headers() -> Result { FILE: examples/07-fullstack/hello-world/src/main.rs function main (line 18) | fn main() { function app (line 22) | fn app() -> Element { function get_greeting (line 54) | async fn get_greeting(name: String, age: i32) -> Result { FILE: examples/07-fullstack/login_form.rs function main (line 21) | fn main() { function app (line 25) | fn app() -> Element { type LoginForm (line 65) | pub struct LoginForm { function login (line 83) | async fn login(form: Form) -> Result> { function sensitive (line 94) | async fn sensitive() -> Result { FILE: examples/07-fullstack/middleware.rs function main (line 12) | fn main() { function app (line 34) | fn app() -> Element { function per_route_middleware (line 52) | async fn per_route_middleware() -> Result { FILE: examples/07-fullstack/multipart_form.rs function main (line 8) | fn main() { function app (line 12) | fn app() -> Element { function upload (line 53) | async fn upload(mut form: MultipartFormData) -> Result<()> { FILE: examples/07-fullstack/query_params.rs function main (line 9) | fn main() { function get_message (line 34) | async fn get_message(age: i32) -> Result { function get_message_rebind (line 39) | async fn get_message_rebind(age_in_years: i32) -> Result { type Params (line 44) | struct Params { function get_message_all (line 50) | async fn get_message_all(query: Params) -> Result { FILE: examples/07-fullstack/redirect.rs function main (line 11) | fn main() { type Route (line 20) | enum Route { function Home (line 29) | fn Home() -> Element { function Blog (line 41) | fn Blog() -> Element { function redirect_to_blog (line 48) | async fn redirect_to_blog() -> Result { FILE: examples/07-fullstack/router/src/main.rs function main (line 9) | fn main() { function app (line 18) | fn app() -> Element { type Route (line 23) | enum Route { function Blog (line 32) | fn Blog(id: i32) -> Element { function Home (line 50) | fn Home() -> Element { function post_server_data (line 76) | async fn post_server_data(data: String) -> ServerFnResult { function get_server_data (line 83) | async fn get_server_data() -> ServerFnResult { FILE: examples/07-fullstack/server_functions.rs function main (line 136) | fn main() { function app (line 140) | fn app() -> Element { function echo (line 191) | async fn echo(body: String) -> Result { function chat (line 197) | async fn chat(user_id: u32, room_id: Option) -> Result { function get_data (line 218) | async fn get_data() -> Result { type DogData (line 226) | struct DogData { function get_custom_data (line 233) | async fn get_custom_data() -> Result { type CustomData (line 240) | struct CustomData { method into_response (line 244) | fn into_response(self) -> axum_core::response::Response { method from_response (line 253) | async fn from_response(res: dioxus_fullstack::ClientResponse) -> Result<... function get_custom_response (line 264) | async fn get_custom_response() -> Result { function anonymous (line 276) | async fn anonymous() -> Result { function custom_anonymous (line 288) | async fn custom_anonymous() -> Result { FILE: examples/07-fullstack/server_sent_events.rs function main (line 28) | fn main() { function app (line 32) | fn app() -> Element { type MyServerEvent (line 57) | enum MyServerEvent { function listen_for_changes (line 65) | async fn listen_for_changes() -> Result> { FILE: examples/07-fullstack/server_state.rs function add_message (line 31) | async fn add_message() -> Result<()> { function read_messages (line 37) | async fn read_messages() -> Result> { function get_users (line 64) | async fn get_users() -> Result> { type BroadcastExtension (line 83) | type BroadcastExtension = axum::Extension Result<()> { type MyAppState (line 110) | struct MyAppState { method from_ref (line 115) | fn from_ref(state: &FullstackContext) -> Self { type CustomExtractor (line 120) | struct CustomExtractor { type Rejection (line 130) | type Rejection = (); method from_request (line 132) | async fn from_request( function app_state (line 145) | async fn app_state() -> Result<()> { function main (line 152) | fn main() { function app (line 174) | fn app() -> Element { FILE: examples/07-fullstack/ssr-only/src/main.rs function main (line 13) | fn main() { type Route (line 18) | enum Route { function Home (line 27) | fn Home() -> Element { function Post (line 39) | fn Post(id: ReadSignal) -> Element { function get_post (line 53) | async fn get_post(id: u32) -> Result { FILE: examples/07-fullstack/streaming.rs function main (line 25) | fn main() { function app (line 29) | fn app() -> Element { function text_stream (line 77) | async fn text_stream(start: Option) -> Result { type Dog (line 97) | struct Dog { function json_stream (line 106) | async fn json_stream() -> Result> { function byte_stream (line 131) | async fn byte_stream() -> Result> { FILE: examples/07-fullstack/streaming_file_upload.rs function main (line 16) | fn main() { function app (line 20) | fn app() -> Element { function upload_file_as_filestream (line 115) | async fn upload_file_as_filestream(mut upload: FileStream) -> Result { function upload_as_bytestream (line 181) | async fn upload_as_bytestream(name: String, size: u64, mut stream: ByteS... function download_as_filestream (line 203) | async fn download_as_filestream() -> Result { FILE: examples/07-fullstack/through_reqwest.rs function main (line 10) | fn main() { function app (line 14) | fn app() -> Element { type User (line 36) | struct User { function get_user (line 42) | async fn get_user(id: i32) -> Result { FILE: examples/07-fullstack/websocket.rs function main (line 22) | fn main() { function app (line 26) | fn app() -> Element { type ClientEvent (line 71) | enum ClientEvent { type ServerEvent (line 76) | enum ServerEvent { function uppercase_ws (line 81) | async fn uppercase_ws( FILE: examples/08-apis/control_focus.rs constant STYLE (line 11) | const STYLE: Asset = asset!("/examples/assets/roulette.css"); function main (line 13) | fn main() { function app (line 17) | fn app() -> Element { FILE: examples/08-apis/custom_html.rs function main (line 6) | fn main() { function app (line 30) | fn app() -> Element { FILE: examples/08-apis/custom_menu.rs function main (line 7) | fn main() { function app (line 34) | fn app() -> Element { FILE: examples/08-apis/drag_and_drop.rs function main (line 13) | fn main() { type Item (line 17) | struct Item { function app (line 24) | fn app() -> Element { function initial_kanban_data (line 83) | fn initial_kanban_data() -> Vec { FILE: examples/08-apis/eval.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { FILE: examples/08-apis/file_upload.rs constant STYLE (line 10) | const STYLE: Asset = asset!("/examples/assets/file_upload.css"); function main (line 12) | fn main() { type UploadedFile (line 16) | struct UploadedFile { function app (line 21) | fn app() -> Element { FILE: examples/08-apis/form.rs function main (line 8) | fn main() { function app (line 12) | fn app() -> Element { FILE: examples/08-apis/logging.rs function main (line 17) | fn main() { function app (line 28) | fn app() -> Element { FILE: examples/08-apis/multiwindow.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { function popup (line 23) | fn popup() -> Element { FILE: examples/08-apis/multiwindow_with_tray_icon.rs function main (line 16) | fn main() { function app (line 20) | fn app() -> Element { function popup (line 41) | fn popup() -> Element { FILE: examples/08-apis/on_resize.rs function main (line 10) | fn main() { function app (line 14) | fn app() -> Element { FILE: examples/08-apis/on_visible.rs function main (line 5) | fn main() { function app (line 9) | fn app() -> Element { FILE: examples/08-apis/overlay.rs function main (line 13) | fn main() { function app (line 19) | fn app() -> Element { function make_config (line 50) | fn make_config() -> dioxus::desktop::Config { function make_window (line 54) | fn make_window() -> WindowBuilder { FILE: examples/08-apis/read_size.rs function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { FILE: examples/08-apis/scroll_to_offset.rs function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { function ScrollToCoordinates (line 23) | fn ScrollToCoordinates() -> Element { FILE: examples/08-apis/scroll_to_top.rs function main (line 10) | fn main() { function app (line 14) | fn app() -> Element { FILE: examples/08-apis/shortcut.rs function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { FILE: examples/08-apis/ssr.rs function main (line 10) | fn main() { function app (line 35) | fn app() -> Element { FILE: examples/08-apis/title.rs function main (line 5) | fn main() { function app (line 9) | fn app() -> Element { FILE: examples/08-apis/video_stream.rs constant VIDEO_PATH (line 13) | const VIDEO_PATH: &str = "./examples/assets/test_video.mp4"; function main (line 15) | fn main() { function app (line 22) | fn app() -> Element { function get_stream_response (line 51) | async fn get_stream_response( function ensure_video_is_loaded (line 181) | fn ensure_video_is_loaded() { FILE: examples/08-apis/wgpu_child_window.rs function main (line 15) | fn main() { function app (line 41) | fn app() -> Element { type GraphicsContext (line 85) | struct GraphicsContext { type GraphicsResources (line 92) | struct GraphicsResources<'a> { function new (line 101) | async fn new(window: Arc) -> Self { function render (line 205) | fn render(&self) { FILE: examples/08-apis/window_event.rs function main (line 15) | fn main() { function app (line 27) | fn app() -> Element { function Header (line 42) | fn Header() -> Element { function SetOnTop (line 87) | fn SetOnTop() -> Element { function SetDecorations (line 106) | fn SetDecorations() -> Element { function SetTitle (line 125) | fn SetTitle() -> Element { FILE: examples/08-apis/window_focus.rs function main (line 13) | fn main() { function app (line 17) | fn app() -> Element { FILE: examples/08-apis/window_popup.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { function popup (line 44) | fn popup(send: Rc) -> Element { FILE: examples/08-apis/window_zoom.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/09-reference/all_events.rs constant STYLE (line 9) | const STYLE: Asset = asset!("/examples/assets/events.css"); function main (line 11) | fn main() { function app (line 15) | fn app() -> Element { FILE: examples/09-reference/generic_component.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { type GenericChildProps (line 20) | struct GenericChildProps { function generic_child (line 24) | fn generic_child(props: GenericChildProp... FILE: examples/09-reference/optional_props.rs function main (line 8) | fn main() { function app (line 12) | fn app() -> Element { type ButtonProps (line 44) | struct ButtonProps { type SthElse (line 59) | type SthElse = Option; function Button (line 62) | fn Button(props: ButtonProps) -> Element { FILE: examples/09-reference/rsx_usage.rs function main (line 41) | fn main() { function app (line 51) | fn app() -> Element { function format_dollars (line 254) | fn format_dollars(dollars: u32, cents: u32) -> String { function helper (line 258) | fn helper(text: &str) -> Element { function lowercase_helper (line 268) | fn lowercase_helper() -> Element { function Baller (line 279) | pub fn Baller() -> Element { function lowercase_component (line 287) | pub fn lowercase_component() -> Element { function Taller (line 294) | pub fn Taller( type TypedInputProps (line 303) | pub struct TypedInputProps { function TypedInput (line 309) | pub fn TypedInput(props: TypedInputProps) -> Element function WithInline (line 322) | fn WithInline(text: String) -> Element { function Label (line 329) | fn Label(text: T) -> Element { FILE: examples/09-reference/shorthand.rs function main (line 5) | fn main() { function app (line 9) | fn app() -> Element { function Component (line 30) | fn Component( FILE: examples/09-reference/simple_list.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/09-reference/spread.rs function main (line 8) | fn main() { function app (line 15) | fn app() -> Element { type Props (line 29) | struct Props { function SpreadableComponent (line 39) | fn SpreadableComponent(props: Props) -> Element { FILE: examples/09-reference/web_component.rs function main (line 9) | fn main() { function app (line 13) | fn app() -> Element { function CoolWebComponent (line 24) | fn CoolWebComponent(my_prop: String) -> Element { FILE: examples/09-reference/xss_safety.rs function main (line 7) | fn main() { function app (line 11) | fn app() -> Element { FILE: examples/10-integrations/bevy/src/bevy_renderer.rs type UIData (line 20) | pub struct UIData { type BevyRenderer (line 24) | pub struct BevyRenderer { method new (line 33) | pub fn new(device_handle: &DeviceHandle) -> Self { method render (line 81) | pub fn render( method init_texture (line 102) | fn init_texture(&mut self, mut ctx: CustomPaintCtx<'_>, width: u32, he... FILE: examples/10-integrations/bevy/src/bevy_scene_plugin.rs type DynamicColoredCube (line 5) | pub struct DynamicColoredCube; type BevyScenePlugin (line 7) | pub struct BevyScenePlugin {} method build (line 10) | fn build(&self, app: &mut App) { function setup (line 17) | fn setup( function animate (line 57) | fn animate(time: Res