MCPcopy Create free account

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

Functions916 in github.com/Ved-s/cuprous

↓ 1 callersMethodcircuit_init
Called once on circuit placement or load<br> Called before all calls to `state_init`<br> `first_init`: `true` on placement, `false` on load
src/circuits/mod.rs:661
↓ 1 callersMethodcircuit_remove
Called once on circuit removal<br> Called after all calls to `remove_state`<br>
src/circuits/mod.rs:670
↓ 1 callersMethodclear_error
( &mut self, res: Result<T, E>, )
src/error.rs:81
↓ 1 callersMethodcollect_changes
( &mut self, pass: &CircuitDesign, changes: &mut std::collections::HashSet<SelectedDes
src/ui/designer.rs:108
↓ 1 callersMethodcollect_str
(&mut self, str: &mut &str)
src/string.rs:10
↓ 1 callersMethodcombine_with
(self, other: Vector2<I>, combiner: impl Fn(T, I) -> O)
src/vector.rs:105
↓ 1 callersMethodcomponents_ui
(&mut self, style: &Style, ui: &mut Ui, design: &mut CircuitDesign)
src/ui/designer.rs:801
↓ 1 callersMethodcomponents_ui
(&mut self, style: &Style, ui: &mut Ui)
src/ui/editor.rs:1384
↓ 1 callersMethodcondition
( self, condition: bool, on_true: impl FnOnce(Self) -> T, on_false: impl FnOnc
src/ext.rs:102
↓ 1 callersMethodcontrol_count
Return `None` if this circuit will never have controls, `Some(0)` means that this circuit doesn't have controls yet, but may have in the future
src/circuits/mod.rs:674
↓ 1 callersMethodcopy
(self: &Arc<Self>, pos: Vec2u, state: &State)
src/circuits/mod.rs:461
↓ 1 callersMethodcreate_circuit
TODO: cleanup
src/board.rs:98
↓ 1 callersFunctioncreate_format_params
returns None if format string doesn't contain any format arguments
src/string.rs:105
↓ 1 callersMethodcreate_impl
(&self)
src/circuits/pin.rs:708
↓ 1 callersMethodcreate_state
(&self, board: Arc<CircuitBoard>)
src/state.rs:397
↓ 1 callersFunctioncreate_thread_inner
()
src/debug.rs:97
↓ 1 callersMethodcreate_wire
(&self)
src/board.rs:127
↓ 1 callersMethodcreate_wire_intersection
(&mut self, pos: Vec2i)
src/board.rs:766
↓ 1 callersMethodcustom_config_ui
(&self, ui: &mut Ui)
src/ui/designer.rs:96
↓ 1 callersMethodcustom_pin_apply_state
( &self, ctx: &CircuitStateContext, pin: usize, state: &WireState, vis
src/circuits/pin.rs:449
↓ 1 callersMethodcustom_pin_mutate_state
( &self, ctx: &CircuitStateContext, pin: usize, state: &mut WireState,
src/circuits/pin.rs:408
↓ 1 callersMethodderef
(&self)
src/debug.rs:498
↓ 1 callersMethoddescription
(&self)
src/circuits/pin.rs:678
↓ 1 callersFunctiondiv_ceil_isize
(lhs: isize, rhs: isize)
src/containers.rs:692
↓ 1 callersMethoddraw
(&self, painter: &Painter, base_pos: Pos2, scale: f32, opacity: f32)
src/board.rs:1689
↓ 1 callersMethoddraw_circuit_node
( &self, bounds: TileDrawBounds, node: &CircuitNode, pos: Vec2i, ctx:
src/ui/editor.rs:1121
↓ 1 callersMethoddraw_decorations
(&self, painter: &Painter, rect: Rect, opacity: f32)
src/board.rs:1777
↓ 1 callersFunctiondraw_dynamic_grid
( screen: &Screen, style: &Style, cell_size: f32, highlight_lines: Vec2u, paint: &egui::Pa
src/ui/drawing.rs:14
↓ 1 callersMethoddraw_hovered_circuit_pin_names
(&self, ctx: &PaintContext)
src/ui/editor.rs:845
↓ 1 callersFunctiondraw_pin_name
( name: &str, dir: Option<Direction4>, circ_pos: Vec2isize, pin_pos: Vec2u,
src/ui/drawing.rs:172
↓ 1 callersMethoddraw_pin_points
Whether to automatically draw pins before call to `Self::draw`
src/circuits/mod.rs:694
↓ 1 callersMethoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _: bool)
src/circuits/pin.rs:689
↓ 1 callersMethoddraw_wire_node
( &self, bounds: TileDrawBounds, ctx: &PaintContext<'_>, node: &WireNode,
src/ui/editor.rs:879
↓ 1 callersMethoddraw_wire_node_debug
( &self, ctx: &PaintContext<'_>, node: &WireNode, pos: Vec2i, lookarou
src/ui/editor.rs:998
↓ 1 callersMethoderror_color
(&self)
src/wires.rs:72
↓ 1 callersMethodfind_index
(self, predicate: impl Fn(I::Item) -> bool)
src/ext.rs:48
↓ 1 callersMethodfirst_free_pos_filtered
Warning: will not return intil `f` returns true
src/containers.rs:232
↓ 1 callersMethodget_chunk_mut
( &mut self, pos: impl Into<Vec2isize>, )
src/containers.rs:488
↓ 1 callersMethodget_control_provider_data
(&self)
src/board.rs:1985
↓ 1 callersMethodget_designer_info
( &self, props: &CircuitPropertyStore, )
src/circuits/pin.rs:171
↓ 1 callersMethodget_internal
(&self)
src/state.rs:322
↓ 1 callersMethodget_internal_mut
(&mut self)
src/state.rs:328
↓ 1 callersMethodget_nth_existing_index
(&self, pos: usize)
src/containers.rs:85
↓ 1 callersMethodget_or_create
(&self, board: Arc<CircuitBoard>, id: usize)
src/state.rs:451
↓ 1 callersMethodget_or_create_chunk_mut
( &mut self, pos: impl Into<Vec2isize>, )
src/containers.rs:499
↓ 1 callersMethodget_or_create_main
Get or create state 0
src/state.rs:447
↓ 1 callersMethodget_pin_ids
(&self)
src/board.rs:1968
↓ 1 callersMethodget_prop
(&self, prop: RectProperty)
src/ui/mod.rs:1080
↓ 1 callersMethodget_storage
(&self)
src/board.rs:1964
↓ 1 callersMethodhas_formatting
(&self)
src/string.rs:183
↓ 1 callersMethodhash
(&self, state: &mut H)
src/main.rs:803
↓ 1 callersMethodid
(&self)
src/ui/selection.rs:275
↓ 1 callersMethodindex_mut
(&mut self, index: usize)
src/vector.rs:292
↓ 1 callersMethodinto_char
(self)
src/main.rs:616
↓ 1 callersMethodis_bidirectional
(self)
src/circuits/pin.rs:48
↓ 1 callersMethodis_cipo
(self)
src/circuits/pin.rs:40
↓ 1 callersMethodis_empty
(&self)
src/state.rs:1360
↓ 1 callersMethodis_zero
(&self)
src/vector.rs:247
↓ 1 callersMethodlength_squared
(self)
src/vector.rs:43
↓ 1 callersMethodload_copy
( &self, data: &CircuitCopyData, ctx: &Arc<SimulationContext>, errors: &mut Er
src/circuits/mod.rs:779
↓ 1 callersMethodload_copy_data
( &self, _imp: &serde_intermediate::Intermediate, _internal: &serde_intermediate::Inte
src/circuits/pin.rs:712
↓ 1 callersMethodload_state
(&mut self)
src/app.rs:767
↓ 1 callersMethodmodify_value
(&mut self, str: &mut String, pos: &mut usize)
src/string.rs:43
↓ 1 callersMethodneg
(self)
src/vector.rs:194
↓ 1 callersMethodnext_item
(&mut self)
src/containers.rs:754
↓ 1 callersMethodnode_neighboring_intersections
( &self, pos: Vec2i, wire: Option<usize>, )
src/board.rs:1148
↓ 1 callersFunctionparse_format_param
(str: &mut &'a str)
src/string.rs:92
↓ 1 callersMethodplace
(&self, board: &mut EditableCircuitBoard, pos: Vec2i, errors: &mut ErrorList)
src/main.rs:939
↓ 1 callersMethodplace_wire_multipart
(&mut self, part: &WirePart, wire: usize)
src/board.rs:567
↓ 1 callersMethodpop_front
(&mut self)
src/containers.rs:1018
↓ 1 callersMethodpost_draw_selection
( &mut self, pass: &Self::Pass, ctx: &PaintContext, mode: SelectionMode,
src/ui/selection.rs:37
↓ 1 callersMethodprop_changed
(&self, prop_id: &str, resize: &mut bool, recreate_pins: &mut bool)
src/circuits/pin.rs:489
↓ 1 callersMethodproperties_ui
(&mut self, ui: &mut Ui, design: &mut CircuitDesign)
src/ui/designer.rs:998
↓ 1 callersMethodproperties_ui
(&mut self, style: &Style, ui: &mut Ui)
src/ui/editor.rs:1616
↓ 1 callersMethodqueue_len
(&self)
src/state.rs:1208
↓ 1 callersFunctionrandom_u128
()
src/main.rs:1235
↓ 1 callersMethodread_imp
(&self, reader: impl FnOnce(&T) -> R)
src/circuits/mod.rs:507
↓ 1 callersFunctionrect_editor_logic
( rect: &mut Rect, sides: Sides, ui: &Ui, id: Id, grab: f32, )
src/ui/mod.rs:840
↓ 1 callersFunctionrect_editor_visuals
(rect: Rect, ui: &Ui, id: Id, sides: Sides, grab: f32)
src/ui/mod.rs:959
↓ 1 callersMethodremove_circuit
(&mut self, id: usize, affected_wires: &mut HashSet<usize>)
src/board.rs:1421
↓ 1 callersMethodremove_circuit_states
(self: &Arc<Self>)
src/state.rs:777
↓ 1 callersMethodremove_wire_part
( &mut self, pos: Vec2i, dir: Direction4, split: bool, update_states:
src/board.rs:928
↓ 1 callersMethodreset_circuit
(&self, circuit: &Arc<Circuit>)
src/state.rs:436
↓ 1 callersFunctionrun
()
web/index.js:26
↓ 1 callersMethodrun
(&mut self)
src/state.rs:1264
↓ 1 callersMethodsave
(&self, sim_lock: bool)
src/board.rs:229
↓ 1 callersMethodsave
(&mut self, storage: &mut dyn eframe::Storage)
src/app.rs:320
↓ 1 callersMethodselected_circuit_properties
(&mut self, ui: &mut Ui)
src/ui/editor.rs:1733
↓ 1 callersMethodserialize
(&self, serializer: S)
src/state.rs:286
↓ 1 callersMethodserialize
(&self, _: bool)
src/circuits/pin.rs:59
↓ 1 callersMethodset_in_chunk_start_pos
(&mut self)
src/containers.rs:789
↓ 1 callersMethodset_internal
(&mut self, value: Option<T>)
src/state.rs:337
↓ 1 callersMethodset_ordered
(&self, ordered: bool)
src/state.rs:482
↓ 1 callersMethodset_ordered_queue
(&self, ordered: bool, lock_sim: bool)
src/board.rs:354
↓ 1 callersMethodset_prop
(&mut self, prop: RectProperty, value: bool)
src/ui/mod.rs:1071
↓ 1 callersFunctionset_this_thread_debug_name
(name: impl Into<DynStaticStr>)
src/debug.rs:35
↓ 1 callersMethodshould_draw_wire_point
(&self, pos: Vec2i, shift: bool)
src/board.rs:1222
↓ 1 callersMethodshow_dyn
( self, ui: &mut Ui, tab_names: &[Arc<Galley>], tab_contents: Box<dyn FnOnce(u
src/ui/side_panel.rs:153
↓ 1 callersMethodsplit_wire
( &self, id: usize, points: &HashSet<Vec2i>, update_states: bool, )
src/board.rs:167
↓ 1 callersMethodstate_init
Load state
src/circuits/board.rs:655
← previousnext →301–400 of 916, ranked by callers