MCPcopy Create free account

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

Functions916 in github.com/Ved-s/cuprous

Methodprop_changed
(&self, prop_id: &str, resize: &mut bool, recreate_pins: &mut bool)
src/circuits/gates/gate.rs:366
Methodprop_changed
(&self, prop_id: &str, resize: &mut bool, recreate_pins: &mut bool)
src/circuits/gates/not.rs:129
Methodprops
(&self)
src/circuits/mod.rs:630
Methodpush_front
(&mut self, value: T)
src/containers.rs:992
Methodread_or_create_locked
( lock: &RwLock<Self>, pos: usize, creator: impl FnOnce() -> T, reader: impl F
src/containers.rs:296
Methodread_props
(props: &CircuitPropertyStore)
src/circuits/bundler.rs:378
Methodrect_properties
(mut iter: I, ui: &mut Ui, rect_ediror: bool)
src/ui/designer.rs:1122
Methodrecursive_process
(inputs: &[WireState], extra: bool)
src/circuits/gates/gate.rs:300
Methodreduce_sum
(&self)
src/vector.rs:362
Methodremove_intersection
(&mut self, pos: Vec2i, split: bool, update_states: bool)
src/board.rs:834
Methodreset
(self: &Arc<Self>)
src/state.rs:1170
Methodresolve
(&self, resolver: impl FnOnce(&I) -> T)
src/main.rs:1218
Methodsave
(&self)
src/state.rs:341
Methodsave
(&self)
src/wires.rs:200
Methodsave
(&self)
src/circuits/props.rs:79
Methodsave
(&self, circ: &Arc<Circuit>, _copy: bool)
src/circuits/board.rs:728
Methodsave
Serialize circuit parameters. NOT for circuit state<br> `copy`: `true` if data is saved for copying
src/circuits/mod.rs:700
Methodsave
(&self)
src/circuits/transistor.rs:253
Methodsave
(&self, circ: &Arc<Circuit>, copy: bool)
src/circuits/pin.rs:620
Methodschedule_next_update
(frequency: f32, pwm: f32, state: &mut ClockState)
src/circuits/clock.rs:48
Methodscreen_to_world_tile
(&self, v: Vec2f)
src/main.rs:323
Methodserialize
(&self, serializer: S)
src/main.rs:483
Methodserialize
(&self, serializer: S)
src/containers.rs:23
Methodserialize
(&self, serializer: S)
src/pool.rs:50
Methodserialize
(&self, serializer: S)
src/debug.rs:577
Methodserialize
(&self, copy: bool)
src/state.rs:309
Methodserialize
(&self, serializer: S)
src/vector.rs:302
Methodserialize
(&self, _: bool)
src/circuits/board.rs:43
Methodserialize
(&self, _: bool)
src/circuits/button.rs:300
Methodserialize
(&self, serializer: S)
src/circuits/transistor.rs:283
Methodserialize
(&self, _copy: bool)
src/circuits/clock.rs:23
Methodserialize
(&self, _: bool)
src/circuits/led.rs:296
Methodserialize
(&self, copy: bool)
src/circuits/relay.rs:42
Methodset_closed
(ctx: &CircuitStateContext, closed: bool)
src/circuits/relay.rs:343
Methodset_length
(&mut self, length: T)
src/vector.rs:57
Methodset_ordered
(&mut self, ordered: bool)
src/containers.rs:1124
Functionset_state_input
(name: String, data: String)
src/web.rs:13
Methodset_wire
( &mut self, states: &StateCollection, wire: Option<usize>, update_wire: bool,
src/circuits/mod.rs:158
Methodset_zero
(&mut self)
src/vector.rs:251
Methodsettings_tab
(&mut self, ui: &mut Ui)
src/app.rs:691
Methodsingle_value
(value: T)
src/vector.rs:36
Methodsize
(&self, circ: &Arc<Circuit>)
templates/directional_circuit_template.rs:53
Methodsize
(&self, circ: &Arc<Circuit>)
templates/circuit_template.rs:39
Methodsize
(&self, circ: &Arc<Circuit>)
src/circuits/button.rs:289
Methodsize
( preceding_pin: bool, remaining_pin: bool, bundle_side: BundlePinSide, io_cou
src/circuits/bundler.rs:336
Methodsize
(&self, circ: &Arc<Circuit>)
src/circuits/transistor.rs:121
Methodsize
(&self, _circ: &Arc<Circuit>)
src/circuits/clock.rs:307
Methodsize
(&self, circ: &Arc<Circuit>)
src/circuits/led.rs:284
Methodsize
(&self, circ: &Arc<Circuit>)
src/circuits/pullup.rs:69
Methodsize
(ty: Type, groups: usize)
src/circuits/relay.rs:154
Methodsize
inputs: 2..=3 -> 4, 3 inputs: 4..=5 -> 5, 5
src/circuits/gates/gate.rs:112
Methodsize
(&self, circ: &Arc<Circuit>)
src/circuits/gates/not.rs:125
Methodsize_directional
(size: Vec2u, dir: Direction4)
src/circuits/bundler.rs:356
Methodsize_hint
(&self)
src/containers.rs:1084
Methodsize_props
(props: &BundlerProperties)
src/circuits/bundler.rs:327
Methodsize_props
(props: &CircuitPropertyStore)
src/circuits/relay.rs:136
Methodsize_props
(props: &CircuitPropertyStore)
src/circuits/gates/gate.rs:101
Methodstate_init
Called once on circuit state creation or load<br> Called after `circuit_init`<br> Use `CircuitStateContext::set_update_interval` to set how often `Sel
src/circuits/mod.rs:656
Methodstate_init
(&self, ctx: &CircuitStateContext, first_init: bool)
src/circuits/clock.rs:293
Methodstate_remove
Called once on circuit removal for each active state<br> Called before `remove_circuit`<br> if `reset_state` will be true, internal state will be remo
src/circuits/mod.rs:666
Methodstate_to_f32
(state: &WireState)
src/circuits/gates/gate.rs:670
Methodstr_deserialize
(chars: &mut Peekable<Chars>)
src/state.rs:131
Methodsub
(self, rhs: Self)
src/time.rs:49
Methodswap_props
(props: &CircuitPropertyStore)
src/ui/editor.rs:1300
Functionsync_send
()
src/state.rs:1374
Functionsync_send_state
()
src/state.rs:1377
Methodtab_inner_margin
(self, tab_inner_margin: Margin)
src/ui/side_panel.rs:113
Methodtab_spacing
(self, tab_spacing: Vec2)
src/ui/side_panel.rs:106
Methodto_chunk_pos
(pos: Vec2isize)
src/containers.rs:449
Methodto_quarter_id_pos
(chunk_pos: Vec2isize)
src/containers.rs:457
Methodtransform_coord
(chunk: isize, in_chunk: usize)
src/containers.rs:750
Methodtype_name
(&self)
templates/directional_circuit_template.rs:72
Methodtype_name
(&self)
templates/circuit_template.rs:47
Methodtype_name
(&self)
src/circuits/board.rs:775
Methodtype_name
(&self)
src/circuits/button.rs:309
Methodtype_name
(&self)
src/circuits/bundler.rs:730
Methodtype_name
(&self)
src/circuits/transistor.rs:150
Methodtype_name
(&self)
src/circuits/freq_meter.rs:152
Methodtype_name
(&self)
src/circuits/clock.rs:359
Methodtype_name
(&self)
src/circuits/led.rs:305
Methodtype_name
(&self)
src/circuits/pullup.rs:78
Methodtype_name
(&self)
src/circuits/relay.rs:614
Methodtype_name
(&self)
src/circuits/gates/gate.rs:438
Methodtype_name
(&self)
src/circuits/gates/not.rs:145
Methodui
(&mut self, ui: &mut Ui, not_equal: bool)
src/circuits/props.rs:306
Methodui
(&mut self, ui: &mut Ui, not_equal: bool)
src/circuits/transistor.rs:222
Methodui
(&mut self, ui: &mut Ui, not_equal: bool)
src/circuits/pin.rs:740
Methodui_update
(&mut self, style: &Style, ui: &mut Ui)
src/ui/designer.rs:710
Methodupdate
(&mut self, ui: &egui::Ui, rect: Rect, allow_primary_button_drag: bool)
src/main.rs:237
Methodupdate
(&mut self, ctx: &eframe::egui::Context, _frame: &mut eframe::Frame)
src/app.rs:72
Methodupdate
(&self, ctx: &CircuitStateContext, interval: &mut Option<Duration>)
src/circuits/mod.rs:650
Methodupdate_control
( &self, id: usize, _: &Arc<Circuit>, state: Option<&CircuitStateContext>,
src/circuits/board.rs:301
Methodupdate_control
( &self, id: usize, _: &Arc<Circuit>, state: Option<&CircuitStateContext>,
src/circuits/button.rs:169
Methodupdate_control
( &self, id: usize, circ: &Arc<Circuit>, state: Option<&CircuitStateContext>,
src/circuits/mod.rs:682
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, changed_pin: Option<usize>)
templates/directional_circuit_template.rs:49
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, changed_pin: Option<usize>)
templates/circuit_template.rs:35
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, changed_pin: Option<usize>)
src/circuits/board.rs:444
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, _: Option<usize>)
src/circuits/button.rs:270
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, _changed_pin: Option<usize>)
src/circuits/bundler.rs:608
Methodupdate_signals
(&self, state_ctx: &CircuitStateContext, _: Option<usize>)
src/circuits/transistor.rs:103
← previousnext →801–900 of 916, ranked by callers