MCPcopy Create free account

hub / github.com/Ved-s/cuprous / functions

Functions916 in github.com/Ved-s/cuprous

↓ 7 callersMethodset_input
( &self, state: &Arc<State>, value: &WireState, update_state: bool, vi
src/circuits/mod.rs:118
↓ 7 callersMethodto_active_info
(&self)
src/circuits/mod.rs:892
↓ 6 callersMethodclone
(&self)
src/circuits/props.rs:120
↓ 6 callersMethodcolor
(&self, style: &Style, colors_override: Option<&WireColors>)
src/state.rs:214
↓ 6 callersMethodcopy_into
(&self, other: &mut dyn CircuitPropertyImpl)
src/circuits/pin.rs:787
↓ 6 callersMethodget_control_info
( &self, provider: usize, id: usize, )
src/board.rs:2000
↓ 6 callersMethodload
( data: &crate::io::CircuitBoardData, ctx: &Arc<SimulationContext>, errors: &mut Error
src/board.rs:264
↓ 6 callersMethodname
(&self)
src/circuits/mod.rs:150
↓ 6 callersFunctionnew_object_id
()
src/debug.rs:22
↓ 6 callersMethodread_circuit
(&self, id: usize, reader: impl FnOnce(&CircuitState) -> R)
src/state.rs:580
↓ 6 callersMethodrotate_clockwise
(self)
src/main.rs:598
↓ 6 callersMethodselection_fill_color
(&self)
src/app.rs:46
↓ 6 callersMethodset_raw_state
Writes this state into pin's state, without triggering any updates
src/circuits/mod.rs:260
↓ 6 callersMethodtype_name
(&self)
src/circuits/pin.rs:670
↓ 5 callersMethodcircuit_property_changed
( &mut self, circuit: usize, property: &str, old_value: &dyn CircuitPropertyIm
src/board.rs:1534
↓ 5 callersMethoddefault_tab
(self, tab: Option<usize>)
src/ui/side_panel.rs:99
↓ 5 callersMethoddirection
(&self, state: &State)
src/circuits/mod.rs:97
↓ 5 callersFunctiondiv_floor_isize
literally just copied from generated std code
src/containers.rs:682
↓ 5 callersMethodfirst_free_pos
(&self)
src/containers.rs:225
↓ 5 callersMethodinto_dir2
Returns: (direction, forward)
src/main.rs:567
↓ 5 callersMethodis_ordered_queue
(&self)
src/board.rs:350
↓ 5 callersMethodload
( data: &crate::io::CircuitStateData, circ: &CircuitStateContext, errors: &mut ErrorLi
src/state.rs:353
↓ 5 callersMethodreport_none
( &mut self, opt: Option<T>, err: impl FnOnce() -> E, )
src/error.rs:94
↓ 5 callersMethodreset
(&self)
src/app.rs:31
↓ 5 callersMethodresolve_inner_to_outer
(&self, inner: usize)
src/circuits/board.rs:172
↓ 5 callersMethodset_frozen
(self: &Arc<Self>, frozen: bool)
src/state.rs:632
↓ 5 callersMethodset_wire_point
returns previous wire id
src/board.rs:672
↓ 5 callersMethodwrite_circuit
TODO: make conditional read/write
src/state.rs:588
↓ 5 callersMethodwrite_dyn
Will not write if property doesn't exist
src/circuits/props.rs:71
↓ 4 callersFunctionapply_margin_to_rect
(rect: Rect, margin: Margin)
src/ui/mod.rs:642
↓ 4 callersMethodapply_wire_state
( &self, ctx: &CircuitStateContext, state: &WireState, skip_state_ckeck: bool,
src/circuits/mod.rs:323
↓ 4 callersFunctioncalc_relay_width
( double_throw: bool, group_count: usize, alternate_double_throw: bool, )
src/circuits/relay.rs:693
↓ 4 callersMethodchoose_axis_component
(self, x: T, y: T)
src/main.rs:717
↓ 4 callersMethodchunks
(self)
src/ext.rs:57
↓ 4 callersMethodcompute_wire_state
( self: &Arc<Self>, wire: usize, state: &mut WireState, visited_items: &mut Vi
src/state.rs:920
↓ 4 callersMethoddefault_props
(&self)
src/circuits/pin.rs:722
↓ 4 callersMethoddraw
(&self, pass: &InventoryItemDrawData, ctx: &PaintContext)
src/ui/editor.rs:140
↓ 4 callersMethodget_chunk
(&self, pos: impl Into<Vec2isize>)
src/containers.rs:480
↓ 4 callersMethodget_direction
(&self, state_ctx: &CircuitStateContext)
src/circuits/mod.rs:266
↓ 4 callersMethodis_pico
(self)
src/circuits/pin.rs:36
↓ 4 callersMethoditer
(&self)
src/containers.rs:241
↓ 4 callersMethoditer
(&self)
src/ui/selection.rs:231
↓ 4 callersMethoditer_pos_along
if include_start { returns dist values } else { returns start pos + dist values }
src/main.rs:577
↓ 4 callersMethodpaint_control
(&self, provider: usize, id: usize, ctx: &PaintContext)
src/board.rs:2014
↓ 4 callersMethodredescribe
(&self)
src/circuits/mod.rs:825
↓ 4 callersMethodremove_useless_intersection
(&mut self, pos: Vec2i, update_states: bool)
src/board.rs:905
↓ 4 callersFunctionrotate_pos
(pos: [u32; 2], size: [u32; 2], dir: Direction4)
src/circuits/mod.rs:933
↓ 4 callersMethodscreen_to_world_rect
(&self, r: Rect)
src/main.rs:331
↓ 4 callersMethodset_circuit_nodes
(&mut self, size: Vec2u, pos: Vec2i, id: Option<usize>)
src/board.rs:1316
↓ 4 callersMethodupdate_circuit_signals
(&self, circuit: usize, pin: Option<usize>)
src/state.rs:417
↓ 4 callersMethodupdate_pin_input
(&self, circuit_id: usize, id: usize)
src/state.rs:405
↓ 4 callersMethodwake_thread
(self: &Arc<Self>, notify: bool)
src/state.rs:1106
↓ 4 callersMethodwires_at_node
(&self, pos: Vec2i, node: &WireNode)
src/board.rs:1082
↓ 3 callersMethodangle
0 -> 2PI cloclwise from +X axis (default for operations)
src/vector.rs:74
↓ 3 callersMethodangle_to_left
(self)
src/main.rs:653
↓ 3 callersMethodas_single
(&self)
src/state.rs:95
↓ 3 callersFunctionassume_init_slice_ref
(s: &[MaybeUninit<T>])
src/containers.rs:1167
↓ 3 callersMethodcan_place_circuit_at
( &self, size: Vec2u, pos: Vec2i, ignore_circuit: Option<usize>, )
src/board.rs:1334
↓ 3 callersMethodchange_selected_props
( &mut self, selected_item: &SelectedItem, id: &str, f: impl Fn(&mut T), )
src/ui/editor.rs:1258
↓ 3 callersMethodclear
(&mut self)
src/pool.rs:137
↓ 3 callersMethodclone
(&self)
src/pool.rs:42
↓ 3 callersMethodcombine
( &mut self, state: &WireState, combiner: &impl Fn(SingleWireState, SingleWireState) -
src/state.rs:171
↓ 3 callersMethodderef_mut
(&mut self)
src/pool.rs:74
↓ 3 callersMethoddraw
(&self, pass: &P, ctx: &PaintContext)
src/ui/mod.rs:479
↓ 3 callersMethoddraw_chunks
( &self, bounds: TileDrawBounds, chunks: &Chunks2D<CHUNK_SIZE, T>, pass: &P,
src/main.rs:154
↓ 3 callersFunctiondraw_pin_names
( pos: Vec2isize, pins: impl Iterator<Item = (Vec2u, &'a str, Option<Direction4>)>, directional_of
src/ui/drawing.rs:165
↓ 3 callersMethoddraw_wire_part
(&self, ctx: &PaintContext, part: &WirePart, color: Color32)
src/ui/editor.rs:801
↓ 3 callersMethodenqueue
(&mut self, value: T)
src/containers.rs:886
↓ 3 callersMethodexists
(&self, pos: usize)
src/containers.rs:185
↓ 3 callersMethodfind_wire_node
(&self, pos: Vec2i, dir: Direction4)
src/board.rs:1125
↓ 3 callersMethodget_clone
(&self, pos: usize)
src/containers.rs:127
↓ 3 callersMethodget_mut
(&mut self, pos: usize)
src/containers.rs:134
↓ 3 callersMethodget_wire
(&self, id: usize)
src/state.rs:549
↓ 3 callersMethodget_wire_color
(&self, id: usize, style: &Style)
src/state.rs:575
↓ 3 callersMethodinit_circuit_states
(self: &Arc<Self>, first_init: bool)
src/state.rs:907
↓ 3 callersMethodinitialize
(&self)
src/state.rs:472
↓ 3 callersMethodinner
(&self)
src/circuits/props.rs:106
↓ 3 callersMethodis_being_used
(self: &Arc<Self>)
src/state.rs:643
↓ 3 callersMethodis_frozen
(&self)
src/state.rs:639
↓ 3 callersMethodis_vertical
(self)
src/main.rs:511
↓ 3 callersMethoditer_pos
(&self, include_start: bool)
src/wires.rs:310
↓ 3 callersMethodload
(&mut self, _circ: &Arc<Circuit>, data: &serde_intermediate::Intermediate, _paste: bool, errors: &mut ErrorLis
src/circuits/board.rs:747
↓ 3 callersMethodload
Note: will be called with `()` (`Intermediate::Unit`) if no data was saved before
src/circuits/mod.rs:705
↓ 3 callersMethodmerge_wires
(&self, id: usize, with: usize, update_states: bool)
src/board.rs:139
↓ 3 callersMethodnone_color
(&self)
src/wires.rs:63
↓ 3 callersMethodpin_at
(&self, pos: Vec2i)
src/board.rs:1358
↓ 3 callersMethodpush_error
(&mut self, error: E)
src/error.rs:77
↓ 3 callersFunctionrect_editor
( rect: &mut Rect, sides: Sides, ui: &Ui, id: Id, constrain: impl FnOnce(Sides, &mut Rect)
src/ui/mod.rs:811
↓ 3 callersFunctionremaining_rect
(ui: &Ui)
src/ui/side_panel.rs:571
↓ 3 callersMethodremove_intersection_at_node
split param: if intersection was of 2 wires, split them
src/board.rs:841
↓ 3 callersMethodresolve
( board: Option<&CircuitBoard>, design: Option<&CircuitDesign>, inner: usi
src/circuits/board.rs:180
↓ 3 callersMethodresolve_outer_to_inner
(&self, outer: usize)
src/circuits/board.rs:208
↓ 3 callersMethodrotate_clockwise_by
Up - no rotation, Right - one, Down - two, etc
src/main.rs:663
↓ 3 callersMethodsave_boards
(&mut self)
src/app.rs:802
↓ 3 callersMethodschedule_update
(self: &Arc<Self>, task: UpdateTask)
src/state.rs:802
↓ 3 callersMethodselected_item
(&self)
src/ui/editor.rs:1364
↓ 3 callersMethodset
(&mut self, pos: usize, value: T)
src/containers.rs:189
↓ 3 callersMethodset_parent
(&self, new_parent: Option<StateParent>)
src/state.rs:1223
↓ 3 callersMethodset_point
( &mut self, pos: Vec2i, states: &StateCollection, point: Option<WirePoint>,
src/wires.rs:149
↓ 3 callersMethodset_update_interval
(&self, interval: Option<Duration>)
src/circuits/mod.rs:619
← previousnext →101–200 of 916, ranked by callers