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
Method
draw
(state: Option<&CircuitStateContext>, dir: Direction4, ctx: &PaintContext, semi_transparent: bool)
templates/directional_circuit_template.rs:20
Method
draw
(state: Option<&CircuitStateContext>, ctx: &PaintContext, semi_transparent: bool)
templates/circuit_template.rs:12
Method
draw
(&self, editor: &CircuitBoardEditor, pos: Vec2i, ctx: &PaintContext)
src/main.rs:903
Method
draw
( board: Option<&Arc<CircuitBoard>>, design: Option<&Arc<CircuitDesign>>, state: Optio
src/circuits/board.rs:76
Method
draw
(&self, _: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/button.rs:136
Method
draw
(&self, ctx: &PaintContext, in_world: bool)
src/circuits/mod.rs:810
Method
draw
(vis: BundlerVisuals, ctx: &PaintContext)
src/circuits/bundler.rs:127
Method
draw
(&self, state_ctx: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/transistor.rs:66
Method
draw
(&self, state_ctx: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/pin.rs:205
Method
draw
(ctx: &PaintContext, state: Option<&CircuitStateContext>, semi_transparent: bool)
src/circuits/freq_meter.rs:34
Method
draw
(pwm: f32, enabled: bool, ctx: &PaintContext, semi_transparent: bool)
src/circuits/clock.rs:81
Method
draw
(&self, _: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/led.rs:123
Method
draw
(ctx: &PaintContext, _: bool)
src/circuits/pullup.rs:19
Method
draw
( pins: &mut dyn ExactSizeIterator<Item = Color32>, groups: usize, coil: (bool, Color3
src/circuits/relay.rs:76
Method
draw
(&self, state: &CircuitStateContext, paint_ctx: &PaintContext)
src/circuits/gates/gate.rs:212
Method
draw
( wires: GateWireColors, angle: f32, in_world_preview: bool, parity: bool,
src/circuits/gates/xnor.rs:33
Method
draw
( wires: GateWireColors, angle: f32, in_world_preview: bool, parity: bool,
src/circuits/gates/xor.rs:33
Method
draw
(ctx: &PaintContext, angle: f32, semi_transparent: bool)
src/circuits/gates/not.rs:34
Method
draw
(wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool, ctx: &crate::PaintContext)
src/circuits/gates/nor.rs:23
Method
draw
(wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool, ctx: &crate::PaintContext)
src/circuits/gates/or.rs:23
Method
draw
( wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool,
src/circuits/gates/nand.rs:23
Method
draw
( wires: GateWireColors, angle: f32, in_world_preview: bool, _: bool,
src/circuits/gates/and.rs:23
Method
draw
(&self, _pass: &P, ctx: &PaintContext)
src/ui/selection.rs:279
Method
draw_base
(ctx: &PaintContext, semi_transparent: bool)
src/circuits/button.rs:46
Method
draw_base
(ctx: &PaintContext, semi_transparent: bool)
src/circuits/led.rs:44
Method
draw_button
( state: Option<&CircuitStateContext>, text: &str, visuals: &ButtonVisuals, ct
src/circuits/button.rs:55
Method
draw_led
(visuals: &LedVisuals, ctx: &PaintContext, on: bool, semi_transparent: bool)
src/circuits/led.rs:53
Method
draw_object_selection
( &mut self, pass: &EditableCircuitBoard, object: &SelectedBoardObject, ctx: &
src/board.rs:1801
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
templates/directional_circuit_template.rs:84
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
templates/circuit_template.rs:59
Method
draw_preview
TODO: draw controls
src/circuits/board.rs:792
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/button.rs:326
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _in_world: bool)
src/circuits/bundler.rs:742
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _: bool)
src/circuits/transistor.rs:169
Method
draw_preview
(&self, _: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/freq_meter.rs:164
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/clock.rs:374
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/led.rs:323
Method
draw_preview
(&self, _: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/pullup.rs:94
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, _in_world: bool)
src/circuits/relay.rs:632
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/gates/gate.rs:423
Method
draw_preview
(&self, props: &CircuitPropertyStore, ctx: &PaintContext, in_world: bool)
src/circuits/gates/not.rs:161
Method
draw_wire
( bounds: TileDrawBounds, info: WireDrawInfo, this: &CircuitBoardEditor,
src/ui/editor.rs:896
Method
draw_wire_point
(ctx: &PaintContext, pos: Vec2i, color: Color32, pin_debug: bool)
src/ui/editor.rs:832
Method
drop
(&mut self)
src/containers.rs:330
Method
drop
(&mut self)
src/pool.rs:80
Method
drop
(&mut self)
src/debug.rs:532
Method
drop
(&mut self)
src/state.rs:1237
Method
drop
(&mut self)
src/error.rs:35
Method
empty_handler
(_: &mut EditableCircuitBoard, _: usize)
src/ui/editor.rs:772
Method
eq
(&self, other: &str)
src/main.rs:811
Method
equals
(&self, other: &dyn CircuitPropertyImpl)
src/circuits/props.rs:302
Method
equals
(&self, other: &dyn CircuitPropertyImpl)
src/circuits/transistor.rs:218
Method
expecting
(&self, formatter: &mut std::fmt::Formatter)
src/vector.rs:335
Method
extra_toggle_name
()
src/circuits/gates/gate.rs:55
Method
extra_toggle_name
()
src/circuits/gates/xnor.rs:21
Method
extra_toggle_name
()
src/circuits/gates/xor.rs:21
Method
f32_to_state
(value: f32)
src/circuits/gates/gate.rs:680
Method
fix_pointers
(this: &mut EditableCircuitBoard, pos: Vec2i, dist: u32, dir: Direction4)
src/board.rs:568
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/main.rs:775
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/debug.rs:52
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/vector.rs:156
Method
for_each_item
( &self, tl: Vec2isize, br: Vec2isize, pass: &P, f: impl Fn(Vec2isize,
src/containers.rs:630
Method
format_freq
(f: f32)
src/circuits/freq_meter.rs:51
Method
from
(value: Direction2)
src/main.rs:684
Method
from
(value: Vec<T>)
src/containers.rs:317
Method
from
(value: bool)
src/state.rs:59
Method
from
(value: T)
src/vector.rs:200
Method
from
(value: (T, &'a CircuitPropertyStore))
src/ui/mod.rs:513
Method
from_angle_length
(angle: T, length: T)
src/vector.rs:29
Method
from_array
(data: [T; 2])
src/vector.rs:342
Method
from_char
(char: char)
src/main.rs:625
Method
from_fixed_vec
(states: FixedVec<Arc<State>>)
src/state.rs:391
Method
from_impl
(imp: Box<dyn CircuitPreviewImpl>)
src/circuits/mod.rs:800
Method
from_option_vec
(vec: Vec<Option<T>>)
src/containers.rs:73
Method
from_vec
(mut vec: Vec<T>)
src/containers.rs:66
Method
gen_back_compat_id
(pos: Vec2i)
src/circuits/pin.rs:192
Method
gen_random_id
()
src/circuits/pin.rs:199
Method
general_tab
(&mut self, ui: &mut Ui)
src/app.rs:542
Method
get_closed
(ctx: &CircuitStateContext)
src/circuits/relay.rs:339
Method
get_group_icon_item_id
( group: &[Box<dyn InventoryItem<I, P>>], ui: &Ui, self_id: Id, )
src/ui/mod.rs:78
Method
get_nth_existing_index_filtered
( &self, pos: usize, f: impl Fn(&T) -> bool, )
src/containers.rs:102
Method
get_self_arc
(&self)
src/state.rs:1212
Method
get_wire_state
(&self, state_ctx: &CircuitStateContext)
src/circuits/mod.rs:234
Method
handle_pin
( this: &Board, inner_board: &CircuitBoard, inner_state: &Arc<State>,
src/circuits/board.rs:453
Method
has_custom_config
(&self)
src/board.rs:2027
Method
has_property
(&self, id: &str, ty: Option<TypeId>)
src/circuits/props.rs:94
Method
id_of
(prop: &CircuitProperty)
src/ui/mod.rs:492
Method
index
(&self, index: usize)
src/containers.rs:1055
Method
index
(&self, index: usize)
src/vector.rs:283
Method
initialize
(self: &Arc<Self>, first_init: bool)
src/circuits/mod.rs:532
Method
inner_ui
( this: &mut CircuitBoardEditor, style: &Style, ui: &mut Ui, )
src/ui/editor.rs:1568
Method
into_array
(self)
src/vector.rs:350
Method
into_type
(self)
src/vector.rs:94
Method
inverted_lr
(self)
src/main.rs:557
Method
is
(&self)
src/circuits/props.rs:144
Method
is_continious
(&self)
src/containers.rs:955
Method
is_empty
(&self)
src/wires.rs:45
Function
is_false
(v: &bool)
src/io.rs:194
Method
is_left_up
(self)
src/main.rs:525
Method
is_open_state
(ty: TransistorType, base: &WireState)
src/circuits/transistor.rs:57
← previous
next →
601–700 of 916, ranked by callers