Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kethku/Pando
/ functions
Functions
323 in github.com/Kethku/Pando
⨍
Functions
323
◇
Types & classes
56
Method
draw_mouse_regions
(&self, scene: &mut Scene)
aspen/src/mouse_region.rs:467
Function
editor_inserts_text_at_end
()
aspen/src/components/editor.rs:760
Method
element_transform
(&self)
aspen/src/context_stack/draw_context.rs:244
Method
extend_selection_to_byte
Move the selection focus point to a byte index. No-op if index is not a char boundary.
aspen/src/components/editor.rs:456
Method
focus
(&mut self)
aspen/src/context_stack/event_context.rs:137
Method
font_collection
(&mut self)
aspen/src/shaper.rs:94
Method
from
(element: E)
aspen/src/element.rs:162
Method
icon_rect
(cx: &mut DrawContext)
aspen/src/components/window_buttons.rs:63
Method
insert_state
(self, state: State, cx: &Context)
aspen/src/element.rs:125
Method
is_minimized
(&self)
aspen/src/context_stack/attached_context.rs:64
Method
layout
( &mut self, text: &str, default_styles: &Vec<StyleProperty<'static, Brush>>, )
aspen/src/shaper.rs:19
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/element.rs:27
Method
layout
(&self)
aspen/src/test_runner.rs:59
Method
layout
(&mut self, _min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/components/board.rs:121
Method
layout
(&mut self, _min: Size, _max: Size, _cx: &mut LayoutContext)
aspen/src/components/button.rs:66
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/components/resize_handles.rs:29
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/components/border.rs:66
Method
layout
(&mut self, _min: Size, max: Size, cx: &mut LayoutContext)
aspen/src/components/window_buttons.rs:122
Method
layout
(&self, text: &str)
aspen/src/context_stack/context.rs:55
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
src/todo.rs:33
Method
layout
(&mut self, min: Size, max: Size, cx: &mut LayoutContext)
src/pando.rs:42
Method
layout_with
( &'a mut self, text: &'a str, default_styles: &Vec<StyleProperty<'static, Brush>>,
aspen/src/shaper.rs:42
Method
layout_within
( &mut self, text: &str, max_advance: f32, default_styles: &Vec<StyleProperty<
aspen/src/shaper.rs:30
Method
layout_within_with
( &'a mut self, text: &'a str, max_advance: f32, default_styles: &Vec<StylePro
aspen/src/shaper.rs:59
Function
main
()
src/main.rs:62
Method
mix
(&self, other: &Self, factor: f64)
aspen/src/util.rs:10
Method
mouse_delta
(&self)
aspen/src/context_stack/event_context.rs:101
Method
mouse_delta_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/event_context.rs:111
Method
mouse_delta_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/draw_context.rs:333
Method
mouse_held
(&self)
aspen/src/context_stack/event_state.rs:88
Method
mouse_position_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/event_context.rs:64
Method
mouse_position_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/draw_context.rs:290
Method
move_to_byte
Move the cursor to a byte index. No-op if index is not a char boundary.
aspen/src/components/editor.rs:270
Method
move_to_hard_line_end
Move the cursor to just before the next hard line break (such as `\n`).
aspen/src/components/editor.rs:297
Method
move_to_hard_line_start
Move the cursor to just after the previous hard line break (such as `\n`).
aspen/src/components/editor.rs:282
Method
new
()
aspen/src/shaper.rs:12
Method
new
(root_constructor: F)
aspen/src/application.rs:31
Method
new
Creating some of the wgpu types requires async code
aspen/src/winit_renderer.rs:22
Method
new
( token: RegionToken, element_children: Vec<Token>, shape: impl Shape, transfo
aspen/src/mouse_region.rs:44
Method
new
(element: E)
aspen/src/element.rs:46
Method
new
(window_size: Size, root_constructor: F)
aspen/src/test_runner.rs:21
Method
new
(root_constructor: F)
aspen/src/winit_runner.rs:26
Method
new
()
aspen/src/token.rs:12
Method
new
( transform: Affine, draw_background: impl Fn(Rect, &mut DrawContext) + 'static, cx: &
aspen/src/components/board.rs:31
Method
new
( size: Size, idle_background: Color, hover_background: Color, draw_contents:
aspen/src/components/button.rs:33
Method
new
()
aspen/src/components/resize_handles.rs:20
Method
new
( child: ElementPointer<Child>, padding: f64, stroke: Brush, fill: Brush,
aspen/src/components/border.rs:24
Method
new
( text: String, size: f32, text_stroke: Brush, selection_fill: Brush,
aspen/src/components/editor.rs:39
Method
new
( title_background: Color, close_hover: Color, other_hover: Color, foreground:
aspen/src/components/window_buttons.rs:29
Method
new
( context: AttachedContext<'a>, mouse_region_manager: &'a mut MouseRegionManager, redr
aspen/src/context_stack/update_context.rs:31
Method
new
( context: AttachedContext<'a>, redraw_requested: &'a mut bool, regions: &'a HashMap<T
aspen/src/context_stack/event_context.rs:40
Method
new
()
aspen/src/context_stack/event_state.rs:20
Method
new
(context: AttachedContext<'a>, mouse_region_manager: &'a mut MouseRegionManager, child_lookup: &'a HashMap<Tok
aspen/src/context_stack/draw_context.rs:50
Method
new
( context: Context<'a>, window: &'a dyn ContextWindow, event_loop: &'a dyn ContextEven
aspen/src/context_stack/attached_context.rs:36
Method
new
( context: AttachedContext<'a>, regions: &'a mut HashMap<Token, (Affine, Size)>, child
aspen/src/context_stack/layout_context.rs:34
Method
new
( event_state: &'a EventState, shaper: &'a RefCell<Shaper>, states: &'a RefCell<HashMa
aspen/src/context_stack/context.rs:28
Method
new
(cx: &mut Context<'a>)
src/todo.rs:10
Method
new
(cx: &mut Context)
src/pando.rs:12
Method
new_dotgrid
( transform: Affine, background: Color, dots: Color, cx: &Context<'a>, )
aspen/src/components/board.rs:43
Method
new_sized
( center: Point, size: Size, child: ElementPointer<Child>, cx: &Context, )
aspen/src/components/board.rs:204
Function
ngs_ngs
()
src/ngs.rs:73
Method
on_right_click
(&mut self, f: F)
aspen/src/mouse_region.rs:122
Method
on_right_down
(&mut self, f: F)
aspen/src/mouse_region.rs:102
Method
on_right_up
(&mut self, f: F)
aspen/src/mouse_region.rs:112
Method
on_up
(&mut self, f: F)
aspen/src/mouse_region.rs:107
Method
previous_mouse_position_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/event_context.rs:85
Method
previous_mouse_position_relative_to
( &self, other: &ElementPointer<Other>, )
aspen/src/context_stack/draw_context.rs:311
Method
process_mouse_regions
(&self)
aspen/src/test_runner.rs:51
Method
refresh_tokens
(&mut self)
aspen/src/test_runner.rs:47
Method
region_of
(&self, other: &ElementPointer<Other>)
aspen/src/context_stack/draw_context.rs:387
Method
request_redraw
(&mut self)
aspen/src/context_stack/update_context.rs:47
Method
request_redraw
(&self)
aspen/src/context_stack/attached_context.rs:82
Method
resumed
(&mut self)
aspen/src/winit_renderer.rs:75
Method
resumed
(&mut self, event_loop: &ActiveEventLoop)
aspen/src/winit_runner.rs:133
Method
right_mouse_held
(&self)
aspen/src/context_stack/event_state.rs:92
Method
rotate
(&mut self, radians: f64)
aspen/src/context_stack/draw_context.rs:257
Method
rotate_about
(&mut self, radians: f64, center: Point)
aspen/src/context_stack/draw_context.rs:261
Method
scale
(&mut self, scale: f64)
aspen/src/context_stack/draw_context.rs:265
Method
scale_about
(&mut self, scale: f64, center: Point)
aspen/src/context_stack/draw_context.rs:273
Method
scale_non_uniform
(&mut self, scale_x: f64, scale_y: f64)
aspen/src/context_stack/draw_context.rs:269
Method
select_byte_range
Select a range of byte indices. No-op if either index is not a char boundary.
aspen/src/components/editor.rs:465
Method
select_hard_line_at_point
Select the "logical" line at the point. The logical line is defined by line break characters, such as `\n`, rather than due to soft-wrapping.
aspen/src/components/editor.rs:430
Method
select_line_at_point
Select the physical line at the point. Note that this metehod determines line breaks for any reason, including due to word wrapping. To select the te
aspen/src/components/editor.rs:422
Method
select_to_hard_line_end
Move the selection focus point to just before the next hard line break (such as `\n`).
aspen/src/components/editor.rs:373
Method
select_to_hard_line_start
Move the selection focus point to just after the previous hard line break (such as `\n`).
aspen/src/components/editor.rs:358
Method
select_word_at_point
Select the word at the point.
aspen/src/components/editor.rs:413
Method
selection_geometry
Get rectangles, and their corresponding line indices, representing the selected portions of text.
aspen/src/components/editor.rs:483
Method
shift_click_extension
Move the selection focus point to the cluster boundary closest to point.
aspen/src/components/editor.rs:449
Method
sized
(mut this: ElementPointer<Self>, size: Size)
aspen/src/components/board.rs:217
Function
todo_example
()
src/ngs.rs:110
Method
token
(&self)
aspen/src/application.rs:62
Method
token
(&self)
aspen/src/element.rs:60
Method
transform_of
(&self, other: &ElementPointer<Other>)
aspen/src/context_stack/draw_context.rs:399
Method
translate
(&mut self, offset: Vec2)
aspen/src/context_stack/draw_context.rs:277
Method
update
(&mut self, _cx: &mut UpdateContext)
aspen/src/element.rs:14
Method
update
(&mut self, cx: &mut UpdateContext)
aspen/src/element.rs:23
Method
update
(&self)
aspen/src/test_runner.rs:55
Method
update
(&mut self, cx: &mut UpdateContext)
aspen/src/components/board.rs:115
Method
update
(&mut self, cx: &mut UpdateContext)
aspen/src/components/button.rs:57
Method
update
(&mut self, cx: &mut UpdateContext)
aspen/src/components/border.rs:62
← previous
next →
201–300 of 323, ranked by callers