MCPcopy Create free account

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

Functions916 in github.com/Ved-s/cuprous

Methoddraw
(state: Option<&CircuitStateContext>, dir: Direction4, ctx: &PaintContext, semi_transparent: bool)
templates/directional_circuit_template.rs:20
Methoddraw
(state: Option<&CircuitStateContext>, ctx: &PaintContext, semi_transparent: bool)
templates/circuit_template.rs:12
Methoddraw
(&self, editor: &CircuitBoardEditor, pos: Vec2i, ctx: &PaintContext)
src/main.rs:903
Methoddraw
( board: Option<&Arc<CircuitBoard>>, design: Option<&Arc<CircuitDesign>>, state: Optio
src/circuits/board.rs:76
Methoddraw
(&self, _: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/button.rs:136
Methoddraw
(&self, ctx: &PaintContext, in_world: bool)
src/circuits/mod.rs:810
Methoddraw
(vis: BundlerVisuals, ctx: &PaintContext)
src/circuits/bundler.rs:127
Methoddraw
(&self, state_ctx: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/transistor.rs:66
Methoddraw
(&self, state_ctx: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/pin.rs:205
Methoddraw
(ctx: &PaintContext, state: Option<&CircuitStateContext>, semi_transparent: bool)
src/circuits/freq_meter.rs:34
Methoddraw
(pwm: f32, enabled: bool, ctx: &PaintContext, semi_transparent: bool)
src/circuits/clock.rs:81
Methoddraw
(&self, _: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/led.rs:123
Methoddraw
(ctx: &PaintContext, _: bool)
src/circuits/pullup.rs:19
Methoddraw
( pins: &mut dyn ExactSizeIterator<Item = Color32>, groups: usize, coil: (bool, Color3
src/circuits/relay.rs:76
Methoddraw
(&self, state: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/gates/gate.rs:212
Methoddraw
( wires: GateWireColors, angle: f32, in_world_preview: bool, parity: bool,
src/circuits/gates/xnor.rs:33
Methoddraw
( wires: GateWireColors, angle: f32, in_world_preview: bool, parity: bool,
src/circuits/gates/xor.rs:33
Methoddraw
(ctx: &PaintContext, angle: f32, semi_transparent: bool)
src/circuits/gates/not.rs:34
Methoddraw
(wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool, ctx: &crate::PaintContext)
src/circuits/gates/nor.rs:23
Methoddraw
(wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool, ctx: &crate::PaintContext)
src/circuits/gates/or.rs:23
Methoddraw
( wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool,
src/circuits/gates/nand.rs:23
Methoddraw
( wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool,
src/circuits/gates/and.rs:23
Methoddraw
(&self, _pass: &P, ctx: &PaintContext)
src/ui/selection.rs:279
Methoddraw_base
(ctx: &PaintContext, semi_transparent: bool)
src/circuits/button.rs:46
Methoddraw_base
(ctx: &PaintContext, semi_transparent: bool)
src/circuits/led.rs:44
Methoddraw_button
( state: Option<&CircuitStateContext>, text: &str, visuals: &ButtonVisuals, ct
src/circuits/button.rs:55
Methoddraw_led
(visuals: &LedVisuals, ctx: &PaintContext, on: bool, semi_transparent: bool)
src/circuits/led.rs:53
Methoddraw_object_selection
( &mut self, pass: &EditableCircuitBoard, object: &SelectedBoardObject, ctx: &
src/board.rs:1801
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
templates/directional_circuit_template.rs:84
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
templates/circuit_template.rs:59
Methoddraw_preview
TODO: draw controls
src/circuits/board.rs:792
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/button.rs:326
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _in_world: bool)
src/circuits/bundler.rs:742
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _: bool)
src/circuits/transistor.rs:169
Methoddraw_preview
(&self, _: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/freq_meter.rs:164
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/clock.rs:374
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/led.rs:323
Methoddraw_preview
(&self, _: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/pullup.rs:94
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _in_world: bool)
src/circuits/relay.rs:632
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/gates/gate.rs:423
Methoddraw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/gates/not.rs:161
Methoddraw_wire
( bounds: TileDrawBounds, info: WireDrawInfo, this: &CircuitBoardEditor,
src/ui/editor.rs:896
Methoddraw_wire_point
(ctx: &PaintContext, pos: Vec2i, color: Color32, pin_debug: bool)
src/ui/editor.rs:832
Methoddrop
(&mut self)
src/containers.rs:330
Methoddrop
(&mut self)
src/pool.rs:80
Methoddrop
(&mut self)
src/debug.rs:532
Methoddrop
(&mut self)
src/state.rs:1237
Methoddrop
(&mut self)
src/error.rs:35
Methodempty_handler
(_: &mut EditableCircuitBoard, _: usize)
src/ui/editor.rs:772
Methodeq
(&self, other: &str)
src/main.rs:811
Methodequals
(&self, other: &dyn CircuitPropertyImpl)
src/circuits/props.rs:302
Methodequals
(&self, other: &dyn CircuitPropertyImpl)
src/circuits/transistor.rs:218
Methodexpecting
(&self, formatter: &mut std::fmt::Formatter)
src/vector.rs:335
Methodextra_toggle_name
()
src/circuits/gates/gate.rs:55
Methodextra_toggle_name
()
src/circuits/gates/xnor.rs:21
Methodextra_toggle_name
()
src/circuits/gates/xor.rs:21
Methodf32_to_state
(value: f32)
src/circuits/gates/gate.rs:680
Methodfix_pointers
(this: &mut EditableCircuitBoard, pos: Vec2i, dist: u32, dir: Direction4)
src/board.rs:568
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/main.rs:775
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/debug.rs:52
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/vector.rs:156
Methodfor_each_item
( &self, tl: Vec2isize, br: Vec2isize, pass: &P, f: impl Fn(Vec2isize,
src/containers.rs:630
Methodformat_freq
(f: f32)
src/circuits/freq_meter.rs:51
Methodfrom
(value: Direction2)
src/main.rs:684
Methodfrom
(value: Vec<T>)
src/containers.rs:317
Methodfrom
(value: bool)
src/state.rs:59
Methodfrom
(value: T)
src/vector.rs:200
Methodfrom
(value: (T, &'a CircuitPropertyStore))
src/ui/mod.rs:513
Methodfrom_angle_length
(angle: T, length: T)
src/vector.rs:29
Methodfrom_array
(data: [T; 2])
src/vector.rs:342
Methodfrom_char
(char: char)
src/main.rs:625
Methodfrom_fixed_vec
(states: FixedVec<Arc<State>>)
src/state.rs:391
Methodfrom_impl
(imp: Box<dyn CircuitPreviewImpl>)
src/circuits/mod.rs:800
Methodfrom_option_vec
(vec: Vec<Option<T>>)
src/containers.rs:73
Methodfrom_vec
(mut vec: Vec<T>)
src/containers.rs:66
Methodgen_back_compat_id
(pos: Vec2i)
src/circuits/pin.rs:192
Methodgen_random_id
()
src/circuits/pin.rs:199
Methodgeneral_tab
(&mut self, ui: &mut Ui)
src/app.rs:542
Methodget_closed
(ctx: &CircuitStateContext)
src/circuits/relay.rs:339
Methodget_group_icon_item_id
( group: &[Box<dyn InventoryItem<I, P>>], ui: &Ui, self_id: Id, )
src/ui/mod.rs:78
Methodget_nth_existing_index_filtered
( &self, pos: usize, f: impl Fn(&T) -> bool, )
src/containers.rs:102
Methodget_self_arc
(&self)
src/state.rs:1212
Methodget_wire_state
(&self, state_ctx: &CircuitStateContext)
src/circuits/mod.rs:234
Methodhandle_pin
( this: &Board, inner_board: &CircuitBoard, inner_state: &Arc<State>,
src/circuits/board.rs:453
Methodhas_custom_config
(&self)
src/board.rs:2027
Methodhas_property
(&self, id: &str, ty: Option<TypeId>)
src/circuits/props.rs:94
Methodid_of
(prop: &CircuitProperty)
src/ui/mod.rs:492
Methodindex
(&self, index: usize)
src/containers.rs:1055
Methodindex
(&self, index: usize)
src/vector.rs:283
Methodinitialize
(self: &Arc<Self>, first_init: bool)
src/circuits/mod.rs:532
Methodinner_ui
( this: &mut CircuitBoardEditor, style: &Style, ui: &mut Ui, )
src/ui/editor.rs:1568
Methodinto_array
(self)
src/vector.rs:350
Methodinto_type
(self)
src/vector.rs:94
Methodinverted_lr
(self)
src/main.rs:557
Methodis
(&self)
src/circuits/props.rs:144
Methodis_continious
(&self)
src/containers.rs:955
Methodis_empty
(&self)
src/wires.rs:45
Functionis_false
(v: &bool)
src/io.rs:194
Methodis_left_up
(self)
src/main.rs:525
Methodis_open_state
(ty: TransistorType, base: &WireState)
src/circuits/transistor.rs:57
← previousnext →601–700 of 916, ranked by callers