Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TeXitoi/rusty-clock
/ functions
Functions
76 in github.com/TeXitoi/rusty-clock
⨍
Functions
76
◇
Types & classes
25
↓ 9 callers
Method
draw_rect
(&mut self, x1: i32, y1: i32, x2: i32, y2: i32)
portable/src/ui/seven_segments.rs:91
↓ 7 callers
Function
render
(title: &str, mut items: &[&str], mut selected: i32, display: &mut Display2in9)
portable/src/ui/menu.rs:15
↓ 7 callers
Method
set_hour
(&mut self, h: u8)
portable/src/alarm.rs:109
↓ 6 callers
Method
render
(&mut self, s: &str, x: i32, y: i32)
portable/src/ui/header.rs:41
↓ 6 callers
Function
render_str
(s: &str, x: i32, y: i32, display: &mut Display2in9)
portable/src/ui/menu.rs:50
↓ 6 callers
Method
set_min
(&mut self, m: u8)
portable/src/alarm.rs:116
↓ 5 callers
Method
poll
(&mut self)
src/sound.rs:62
↓ 4 callers
Method
digit
(&mut self, c: u8)
portable/src/ui/seven_segments.rs:47
↓ 4 callers
Method
next_ring
(&self, dt: &DateTime)
portable/src/alarm.rs:30
↓ 4 callers
Function
time
(hour: u8, min: u8)
portable/src/alarm.rs:208
↓ 4 callers
Method
to_epoch
(&self)
portable/src/datetime.rs:111
↓ 3 callers
Method
cancel
(&mut self)
portable/src/ui/state.rs:50
↓ 3 callers
Function
default_alarm_manager
()
portable/src/alarm.rs:216
↓ 3 callers
Function
is_leap
(year: u16)
portable/src/datetime.rs:10
↓ 3 callers
Method
next
(&mut self)
portable/src/ui/state.rs:34
↓ 3 callers
Method
prev
(&mut self)
portable/src/ui/state.rs:42
↓ 2 callers
Method
bottom_left
(&mut self, s: &str)
portable/src/ui/header.rs:30
↓ 2 callers
Method
colon_space
(&mut self)
portable/src/ui/seven_segments.rs:31
↓ 2 callers
Method
contains_dow
(self, dow: DayOfWeek)
portable/src/alarm.rs:81
↓ 2 callers
Function
days_in_month
(is_leap_year: bool)
portable/src/datetime.rs:3
↓ 2 callers
Method
digit_space
(&mut self)
portable/src/ui/seven_segments.rs:44
↓ 2 callers
Method
hour
(&self)
portable/src/alarm.rs:106
↓ 2 callers
Method
min
(&self)
portable/src/alarm.rs:113
↓ 2 callers
Method
next
(self)
portable/src/datetime.rs:44
↓ 2 callers
Method
ok
(&mut self)
portable/src/ui/state.rs:119
↓ 2 callers
Method
play
(&mut self, song: &'static songs::Score, nb_sec: u32)
src/sound.rs:46
↓ 2 callers
Method
stop
(&mut self)
src/sound.rs:57
↓ 1 callers
Method
as_edit_str
(&self)
portable/src/ui/state.rs:130
↓ 1 callers
Method
as_u32
(&self)
portable/src/alarm.rs:153
↓ 1 callers
Method
bottom_right
(&mut self, s: &str)
portable/src/ui/header.rs:37
↓ 1 callers
Method
colon
(&mut self)
portable/src/ui/seven_segments.rs:34
↓ 1 callers
Method
init
()
portable/src/ui/mod.rs:56
↓ 1 callers
Method
into_display
(self)
portable/src/ui/seven_segments.rs:28
↓ 1 callers
Method
is_button
(&self)
portable/src/ui/mod.rs:29
↓ 1 callers
Method
items
(self)
portable/src/ui/state.rs:53
↓ 1 callers
Method
must_ring
(&mut self, datetime: &DateTime)
portable/src/alarm.rs:23
↓ 1 callers
Method
next
(&mut self)
src/sound.rs:19
↓ 1 callers
Method
render
(&self, display: &mut Display2in9)
portable/src/ui/state.rs:174
↓ 1 callers
Method
render_clock
(&self, display: &mut Display2in9)
portable/src/ui/mod.rs:210
↓ 1 callers
Method
render_header
(&self, display: &mut Display2in9)
portable/src/ui/mod.rs:175
↓ 1 callers
Method
render_manage_alarms
(&self, i: usize, display: &mut Display2in9)
portable/src/ui/mod.rs:251
↓ 1 callers
Method
render_menu
(&self, elt: state::MenuElt, display: &mut Display2in9)
portable/src/ui/mod.rs:238
↓ 1 callers
Method
render_set_clock
(&self, dt: &state::EditDateTime, display: &mut Display2in9)
portable/src/ui/mod.rs:241
↓ 1 callers
Method
top_left
(&mut self, s: &str)
portable/src/ui/header.rs:19
↓ 1 callers
Method
top_right
(&mut self, s: &str)
portable/src/ui/header.rs:26
↓ 1 callers
Method
update
(&mut self, msg: Msg)
portable/src/ui/mod.rs:66
↓ 1 callers
Method
update_last_input
(&mut self)
portable/src/ui/mod.rs:170
↓ 1 callers
Method
view
(&self)
portable/src/ui/mod.rs:153
Method
_bottom_center
(&mut self, s: &str)
portable/src/ui/header.rs:33
Method
_top_center
(&mut self, s: &str)
portable/src/ui/header.rs:22
Function
centi
()
portable/src/ui/mod.rs:304
Method
default
()
portable/src/alarm.rs:10
Method
default
()
portable/src/ui/mod.rs:289
Method
fmt
(&self, f: &mut fmt::Formatter)
portable/src/alarm.rs:177
Method
fmt
(&self, f: &mut ::core::fmt::Formatter)
portable/src/datetime.rs:58
Method
fmt
(&self, f: &mut fmt::Formatter)
portable/src/ui/mod.rs:269
Method
from_days_since_epoch
(days: u32)
portable/src/datetime.rs:31
Function
init
(mut c: init::Context)
src/main.rs:67
Function
msg
(mut c: msg::Context, msg: ui::Msg)
src/main.rs:240
Method
new
(nb: usize, iter: I)
src/sound.rs:9
Method
new
(button: T)
portable/src/button.rs:17
Method
new
(epoch: u32)
portable/src/datetime.rs:74
Method
new
(display: &'a mut Display2in9)
portable/src/ui/header.rs:16
Method
new
(display: &'a mut Display2in9, x: i32, y: i32)
portable/src/ui/seven_segments.rs:17
Method
new
(datetime: datetime::DateTime)
portable/src/ui/state.rs:72
Method
poll
(&mut self)
portable/src/button.rs:23
Function
render
(mut c: render::Context)
src/main.rs:273
Function
rtc_task
(mut c: rtc_task::Context)
src/main.rs:214
Method
s
(s: u8)
portable/src/ui/seven_segments.rs:48
Function
test_alarm_from_u32
()
portable/src/alarm.rs:292
Function
test_epoch
()
portable/src/datetime.rs:170
Function
test_next_ring
()
portable/src/alarm.rs:230
Function
test_next_ring_never
()
portable/src/alarm.rs:270
Function
test_next_ring_one_time
()
portable/src/alarm.rs:248
Function
tick
(c: tick::Context)
src/main.rs:194
Method
try_from
(u: u32)
portable/src/alarm.rs:160