Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ved-s/cuprous
/ functions
Functions
916 in github.com/Ved-s/cuprous
⨍
Functions
916
◇
Types & classes
245
↓ 171 callers
Method
iter
(self)
src/ui/mod.rs:1093
↓ 126 callers
Method
clone
(&self)
src/circuits/pin.rs:773
↓ 123 callers
Method
convert
(self, converter: impl Fn(T) -> I)
src/vector.rs:101
↓ 122 callers
Method
read
(&self, id: &str, f: F)
src/circuits/props.rs:39
↓ 121 callers
Method
read
(&self)
src/debug.rs:352
↓ 98 callers
Method
get
(&self)
src/circuits/props.rs:286
↓ 90 callers
Method
push
(&mut self, board: u128, item: VisitedItem)
src/state.rs:1329
↓ 87 callers
Method
clone
(&self)
src/main.rs:1043
↓ 86 callers
Method
as_ref
(&self)
src/vector.rs:258
↓ 83 callers
Method
read_clone
(&self, name: &str)
src/circuits/props.rs:35
↓ 69 callers
Method
get
(&self, id: usize)
src/board.rs:1588
↓ 68 callers
Method
write
(&self)
src/debug.rs:406
↓ 57 callers
Method
deref
(&self)
src/main.rs:825
↓ 52 callers
Method
len
(&self)
src/ext.rs:157
↓ 48 callers
Method
add
(self, rhs: Duration)
src/time.rs:33
↓ 40 callers
Method
write
Will not write if property doesn't exist
src/circuits/props.rs:59
↓ 39 callers
Method
show
( self, ui: &mut Ui, tab_count: usize, tab_name: impl Fn(usize) -> WidgetText,
src/ui/side_panel.rs:120
↓ 39 callers
Method
to_info
(&self)
src/circuits/mod.rs:882
↓ 35 callers
Method
size
(&self, circ: &Arc<Circuit>)
src/circuits/pin.rs:485
↓ 34 callers
Method
get_mut
(&mut self)
src/main.rs:1121
↓ 30 callers
Method
count
(&self)
src/circuits/gates/gate.rs:27
↓ 30 callers
Function
now
()
src/time.rs:11
↓ 28 callers
Method
get_state
(&self, state: &State)
src/circuits/mod.rs:110
↓ 28 callers
Method
len
(&self)
src/containers.rs:265
↓ 28 callers
Method
lock
(&self)
src/debug.rs:463
↓ 26 callers
Method
set_state
(&self, state_ctx: &CircuitStateContext, value: WireState)
src/circuits/mod.rs:241
↓ 26 callers
Method
update_wire
(&self, wire: usize, skip_state_ckeck: bool)
src/state.rs:411
↓ 25 callers
Method
create_path_shapes
( &mut self, fill: impl Into<Color32>, stroke: impl Into<Stroke>, bezier_strai
src/path.rs:16
↓ 25 callers
Method
enter_context
(&mut self, f: F)
src/error.rs:56
↓ 25 callers
Method
set
(&mut self, index: usize, value: WireState)
src/state.rs:68
↓ 23 callers
Method
id
(&self)
src/ui/mod.rs:475
↓ 23 callers
Method
is_empty
(&self)
src/circuits/props.rs:102
↓ 21 callers
Method
clear
(&mut self)
src/ui/selection.rs:248
↓ 21 callers
Method
connected_wire
(&self)
src/circuits/mod.rs:154
↓ 21 callers
Method
is_empty
(&self)
src/main.rs:1142
↓ 21 callers
Method
remove
(&mut self, pos: usize)
src/containers.rs:148
↓ 20 callers
Method
contains
(&self, board: u128, item: VisitedItem)
src/state.rs:1337
↓ 20 callers
Method
contains
(&self, obj: &I::Object)
src/ui/selection.rs:239
↓ 20 callers
Method
report_error
(self, list: &mut ErrorList)
src/error.rs:197
↓ 19 callers
Method
iter_mut
(&mut self)
src/containers.rs:248
↓ 17 callers
Method
world_to_screen
(&self, v: Vec2f)
src/main.rs:319
↓ 16 callers
Method
false_color
(&self)
src/wires.rs:69
↓ 16 callers
Method
with_rect
(&self, rect: Rect)
src/main.rs:146
↓ 15 callers
Method
clear
(&mut self)
src/state.rs:1322
↓ 14 callers
Method
get
(&self, index: usize)
src/state.rs:81
↓ 14 callers
Method
set
(&mut self, value: T)
src/circuits/props.rs:290
↓ 14 callers
Method
wire_or_self_color
(&self, state_ctx: &CircuitStateContext, style: &Style)
src/circuits/mod.rs:229
↓ 13 callers
Method
drain
(&mut self, range: impl RangeBounds<usize>)
src/containers.rs:269
↓ 13 callers
Method
get_str
(&self)
src/main.rs:1132
↓ 13 callers
Method
inverted
(self)
src/main.rs:539
↓ 13 callers
Method
read_circuit_internal_state
( &self, reader: impl FnOnce(&T) -> R, )
src/circuits/mod.rs:597
↓ 13 callers
Method
rotated_xy
(self, angle: T, origin: impl Into<Self>)
src/vector.rs:118
↓ 12 callers
Method
any
(self)
src/ui/mod.rs:773
↓ 12 callers
Method
as_mut
(&mut self)
src/vector.rs:264
↓ 12 callers
Method
get_arc
(&self)
src/main.rs:1098
↓ 12 callers
Function
get_cached_name
( k: &'static LocalKey<Mutex<FixedVec<Weak<str>>>>, index: usize, create: impl FnOnce(usize) -> Ar
src/circuits/relay.rs:709
↓ 12 callers
Method
get_dir
(&self, dir: Direction2)
src/wires.rs:238
↓ 12 callers
Method
imp
(&self)
src/circuits/props.rs:219
↓ 12 callers
Method
inverted_ud
(self)
src/main.rs:548
↓ 12 callers
Method
is_type_and
(&self, f: F)
src/circuits/props.rs:168
↓ 12 callers
Method
pop
(&mut self, board: u128)
src/state.rs:1344
↓ 12 callers
Method
ui
( mut self, ui: &mut eframe::egui::Ui, pass: &P, style: &Style, name_r
src/ui/mod.rs:170
↓ 11 callers
Function
ack_object
(ack: ObjectLockAck)
src/debug.rs:74
↓ 11 callers
Method
describe
(&self)
src/circuits/mod.rs:829
↓ 11 callers
Method
get
(&self, index: usize, default: Color32)
src/circuits/gates/gate.rs:34
↓ 11 callers
Method
to_dyn
(&self)
src/circuits/mod.rs:918
↓ 10 callers
Method
checked_duration_since
(self, before: Self)
src/time.rs:25
↓ 10 callers
Method
frame
(self, frame: Frame)
src/ui/side_panel.rs:70
↓ 10 callers
Method
get
(&self, pos: usize)
src/containers.rs:123
↓ 10 callers
Method
get_or_create_mut
(&mut self, pos: usize, creator: impl FnOnce() -> T)
src/containers.rs:138
↓ 10 callers
Method
world_to_screen_rect
(&self, r: Rect)
src/main.rs:338
↓ 10 callers
Method
write_circuit_internal_state
( &self, writer: impl FnOnce(&mut T) -> R, )
src/circuits/mod.rs:606
↓ 9 callers
Method
is_horizontal
(self)
src/main.rs:518
↓ 9 callers
Method
next
(&mut self)
src/ext.rs:74
↓ 9 callers
Method
remove
(self: &Arc<Self>)
src/circuits/mod.rs:541
↓ 9 callers
Method
screen_to_world
(&self, v: Vec2f)
src/main.rs:315
↓ 9 callers
Method
show_separator_line
(self, show_separator_line: bool)
src/ui/side_panel.rs:81
↓ 9 callers
Method
world_to_screen_tile
(&self, v: Vec2i)
src/main.rs:327
↓ 8 callers
Function
align_ui
( ui: &mut Ui, id: impl Into<Id>, align: Vec2, ignore_cursor: bool, allocate_space: bool,
src/ui/mod.rs:1203
↓ 8 callers
Method
angle_to_right
(self)
src/main.rs:644
↓ 8 callers
Function
calc_size_from_inputs
(inputs: u32)
src/circuits/gates/gate.rs:780
↓ 8 callers
Method
find_wire_node_from_node
( &self, node: &WireNode, pos: Vec2i, dir: Direction4, )
src/board.rs:1130
↓ 8 callers
Method
get_parent
(&self)
src/state.rs:1219
↓ 8 callers
Method
id
(&self)
src/ui/editor.rs:136
↓ 8 callers
Method
imp_mut
(&mut self)
src/circuits/props.rs:223
↓ 8 callers
Method
move_vector
(self, vec: Vec2i, distance: i32)
src/main.rs:507
↓ 8 callers
Method
resizable
(self, resizable: bool)
src/ui/side_panel.rs:77
↓ 8 callers
Method
set_wire
(&self, id: usize, state: WireState)
src/state.rs:557
↓ 8 callers
Method
show_ui
(&self, ui: &mut Ui)
src/error.rs:117
↓ 8 callers
Method
size
(&self, _: &Arc<Circuit>)
src/circuits/board.rs:582
↓ 8 callers
Method
unit_vector
(self)
src/main.rs:497
↓ 7 callers
Method
current
(&self)
src/board.rs:1596
↓ 7 callers
Method
current_mut
(&mut self)
src/board.rs:1603
↓ 7 callers
Method
downcast_mut
(&mut self)
src/circuits/props.rs:160
↓ 7 callers
Function
draw_line_gradient
colors: \[(t, color)\], must be ordered ascending by t, t must be in 0.0..=1.0 range
src/ui/drawing.rs:268
↓ 7 callers
Method
get_dir_mut
(&mut self, dir: Direction2)
src/wires.rs:245
↓ 7 callers
Method
id
(&self)
src/board.rs:1752
↓ 7 callers
Method
is_right_bottom
(self)
src/main.rs:532
↓ 7 callers
Method
or
(&self, other: WireColors)
src/wires.rs:53
↓ 7 callers
Method
selection_border_color
(&self)
src/app.rs:54
next →
1–100 of 916, ranked by callers