Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/airstrike/iced_receipts
/ functions
Functions
38 in github.com/airstrike/iced_receipts
⨍
Functions
38
◇
Types & classes
16
↓ 11 callers
Method
map
Map the message of the `Action`'s [`Task`](iced::Task) to a different type.
src/action.rs:99
↓ 4 callers
Function
form_id
(field: &str, id: usize)
src/sale/edit.rs:228
↓ 2 callers
Method
calculate_subtotal
(&self)
src/sale.rs:76
↓ 2 callers
Method
map_instruction
Maps the `Instruction` of the `Action` to a different type.
src/action.rs:114
↓ 2 callers
Method
perform
(&mut self, instruction: Instruction)
src/main.rs:177
↓ 2 callers
Method
price
(&self)
src/sale.rs:42
↓ 2 callers
Method
quantity
(&self)
src/sale.rs:45
↓ 2 callers
Function
view
(sale: &Sale, mode: Mode)
src/sale.rs:219
↓ 1 callers
Method
calculate_service_charge
(&self)
src/sale.rs:92
↓ 1 callers
Method
calculate_tax
(&self)
src/sale.rs:83
↓ 1 callers
Method
calculate_total
(&self)
src/sale.rs:100
↓ 1 callers
Function
handle_hotkey
( _: &Sale, mode: Mode, hotkey: Hotkey, )
src/sale.rs:226
↓ 1 callers
Method
subscription
(&self)
src/main.rs:238
↓ 1 callers
Method
tax_rate
(&self)
src/tax.rs:17
↓ 1 callers
Method
theme
(&self)
src/main.rs:53
↓ 1 callers
Function
update
( sale: &mut Sale, message: Message, )
src/sale.rs:124
↓ 1 callers
Method
with_task
Sets the [`Task`](iced::Task) of an `Action`.
src/action.rs:135
Method
default
()
src/sale.rs:28
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/tax.rs:28
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/action.rs:144
Function
handle_event
( event: event::Event, _: event::Status, _: iced::window::Id, )
src/main.rs:249
Function
handle_hotkey
(hotkey: Hotkey)
src/sale/edit.rs:215
Function
handle_hotkey
(hotkey: Hotkey)
src/sale/show.rs:113
Method
instruction
Create a new `Action` with an `Instruction` to be handled by some ancestor component.
src/action.rs:83
Function
main
()
src/main.rs:17
Method
new
()
src/main.rs:89
Method
new
Create a new `Action` with an `Instruction` and a [`Task`](iced::Task).
src/action.rs:74
Method
none
Create a new `Action` with no `Instruction` or [`Task`](iced::Task).
src/action.rs:66
Method
price_string
(&self)
src/sale.rs:48
Method
quantity_string
(&self)
src/sale.rs:51
Method
task
Create a new `Action` with a [`Task`](iced::Task).
src/action.rs:91
Method
title
(&self)
src/main.rs:57
Method
update
(&mut self, message: Message)
src/main.rs:102
Function
view
(sales: &HashMap<usize, Sale>)
src/list.rs:15
Function
view
(sale: &Sale)
src/sale/edit.rs:34
Function
view
(sale: &Sale)
src/sale/show.rs:17
Method
view
(&self)
src/main.rs:163
Method
with_instruction
Sets the `Instruction` of an `Action`.
src/action.rs:129