SYMBOL INDEX (5571 symbols across 312 files) FILE: crates/assets/src/native_assets.rs type Assets (line 9) | pub struct Assets; method new (line 13) | pub fn new(_endpoint: impl Into) -> Self { method load (line 19) | fn load(&self, path: &str) -> Result>> { method list (line 29) | fn list(&self, path: &str) -> Result> { FILE: crates/assets/src/wasm_assets.rs type Assets (line 9) | pub struct Assets { method new (line 16) | pub fn new(endpoint: impl Into) -> Self { method default (line 26) | fn default() -> Self { method load (line 32) | fn load(&self, path: &str) -> Result>> { method list (line 104) | fn list(&self, path: &str) -> Result> { FILE: crates/macros/src/derive_into_plot.rs function derive_into_plot (line 5) | pub fn derive_into_plot(input: TokenStream) -> TokenStream { FILE: crates/macros/src/lib.rs type IconNameInput (line 8) | struct IconNameInput { method parse (line 19) | fn parse(input: ParseStream) -> syn::Result { function derive_into_plot (line 45) | pub fn derive_into_plot(input: TokenStream) -> TokenStream { function pascal_case (line 61) | fn pascal_case(filename: &str) -> String { function icon_named (line 98) | pub fn icon_named(input: TokenStream) -> TokenStream { function test_pascal_case_basic (line 175) | fn test_pascal_case_basic() { FILE: crates/story-web/src/lib.rs function run (line 8) | pub fn run() -> Result<(), JsValue> { FILE: crates/story-web/www/src/main.js function init (line 1) | async function init() { FILE: crates/story-web/www/vite.config.js method configureServer (line 22) | configureServer(server) { FILE: crates/story/examples/brush.rs type BrushStory (line 15) | pub struct BrushStory { method new (line 35) | fn new(_: &mut Window, cx: &mut Context) -> Self { method handle_mouse_down (line 65) | fn handle_mouse_down( method handle_mouse_move (line 95) | fn handle_mouse_move( method handle_mouse_up (line 139) | fn handle_mouse_up(&mut self, _event: &MouseUpEvent, _: &mut Window, c... method clear_canvas (line 153) | fn clear_canvas(&mut self, cx: &mut Context) { method set_brush_color (line 160) | fn set_brush_color(&mut self, color: Hsla, cx: &mut Context) { method color_button (line 173) | fn color_button(&self, color: Hsla, _label: &str, cx: &Context) ... method render_canvas (line 196) | fn render_canvas(&mut self, cx: &Context) -> impl IntoElement { method build_stroke_path (line 286) | fn build_stroke_path(stroke: &Stroke, bounds: &Bounds) -> Opti... type Stroke (line 28) | struct Stroke { method focus_handle (line 167) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 309) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function section (line 416) | fn section(title: impl Into) -> GroupBox { type Example (line 429) | pub struct Example { method new (line 434) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method view (line 439) | fn view(window: &mut Window, cx: &mut App) -> Entity { method render (line 445) | fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> i... function main (line 450) | fn main() { FILE: crates/story/examples/dock.rs type AddPanel (line 22) | pub struct AddPanel(DockPlacement); type TogglePanelVisible (line 26) | pub struct TogglePanelVisible(SharedString); constant MAIN_DOCK_AREA (line 30) | const MAIN_DOCK_AREA: DockAreaTab = DockAreaTab { constant STATE_FILE (line 36) | const STATE_FILE: &str = "target/docks.json"; constant STATE_FILE (line 38) | const STATE_FILE: &str = "docks.json"; function init (line 40) | pub fn init(cx: &mut App) { type StoryWorkspace (line 52) | pub struct StoryWorkspace { method new (line 66) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method save_layout (line 178) | fn save_layout( method save_state (line 206) | fn save_state(state: &DockAreaState) -> Result<()> { method load_layout (line 213) | fn load_layout( method reset_default_layout (line 261) | fn reset_default_layout(dock_area: WeakEntity, window: &mut ... method init_default_layout (line 334) | fn init_default_layout( method new_local (line 372) | pub fn new_local(cx: &mut App) -> Task) -> imp... function main (line 523) | fn main() { FILE: crates/story/examples/editor.rs type Lang (line 34) | enum Lang { method name (line 40) | fn name(&self) -> &str { method from_str (line 47) | fn from_str(s: &str) -> Self { function init (line 55) | fn init() { type Example (line 69) | pub struct Example { method new (line 690) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method load_files (line 741) | fn load_files(state: Entity, path: PathBuf, cx: &mut App) { method go_to_line (line 752) | fn go_to_line(&mut self, _: &ClickEvent, window: &mut Window, cx: &mut... method lint_document (line 799) | fn lint_document(&mut self, cx: &mut Context) { method on_action_open (line 860) | fn on_action_open(&mut self, _: &Open, window: &mut Window, cx: &mut C... method open_file (line 879) | fn open_file( method render_file_tree (line 909) | fn render_file_tree(&self, _: &mut Window, cx: &mut Context) -> ... method render_line_number_button (line 959) | fn render_line_number_button( method render_soft_wrap_button (line 978) | fn render_soft_wrap_button(&self, _: &mut Window, cx: &mut Context... method render_go_to_line_button (line 1046) | fn render_go_to_line_button(&self, _: &mut Window, cx: &mut Context Self { method diagnostics (line 107) | fn diagnostics(&self) -> Vec { method update_diagnostics (line 112) | fn update_diagnostics(&self, diagnostics: Vec) { method code_actions (line 118) | fn code_actions(&self) -> Vec<(Range, CodeAction)> { method update_code_actions (line 123) | fn update_code_actions(&self, code_actions: Vec<(Range, CodeAct... method is_dirty (line 129) | fn is_dirty(&self) -> bool { function completion_item (line 135) | fn completion_item( method completions (line 156) | fn completions( method inline_completion (line 214) | fn inline_completion( method is_completion_trigger (line 253) | fn is_completion_trigger( method id (line 264) | fn id(&self) -> SharedString { method code_actions (line 268) | fn code_actions( method perform_code_action (line 287) | fn perform_code_action( method hover (line 319) | fn hover( constant RUST_DOC_URLS (line 353) | const RUST_DOC_URLS: &[(&str, &str)] = &[ method definitions (line 368) | fn definitions( type TextConvertor (line 430) | struct TextConvertor; method id (line 433) | fn id(&self) -> SharedString { method code_actions (line 437) | fn code_actions( method perform_code_action (line 591) | fn perform_code_action( method document_colors (line 623) | fn document_colors( function build_file_items (line 655) | fn build_file_items(ignorer: &Ignorer, root: &PathBuf, path: &PathBuf) -... method render (line 1064) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... function main (line 1129) | fn main() { FILE: crates/story/examples/fixtures/test.c type HelloWorld (line 23) | typedef struct { function HelloWorld (line 30) | HelloWorld* hello_world_create(const char* name) { function hello_world_destroy (line 43) | void hello_world_destroy(HelloWorld* hw) { function hello_world_greet (line 49) | void hello_world_greet(HelloWorld* hw, const char** names, int count) { function hello_world_configure (line 55) | void hello_world_configure(HelloWorld* hw, int timeout, int retries) { function main (line 78) | int main() { FILE: crates/story/examples/fixtures/test.go constant timeout (line 12) | timeout = 5 * time.Second type HelloWorld (line 26) | type HelloWorld struct method Greet (line 49) | func (h *HelloWorld) Greet(ctx context.Context, names ...string) error { method Configure (line 61) | func (h *HelloWorld) Configure(cfg Config) { method generateReport (line 67) | func (h *HelloWorld) generateReport() string { type Config (line 32) | type Config struct function NewHelloWorld (line 38) | func NewHelloWorld(name string) *HelloWorld { function main (line 78) | func main() { FILE: crates/story/examples/fixtures/test.js class HelloWorld (line 12) | class HelloWorld { method constructor (line 28) | constructor(name = "World", options = {}) { method getInstanceCount (line 35) | static getInstanceCount() { method name (line 39) | get name() { method name (line 43) | set name(value) { method greet (line 47) | async greet(...names) { method configure (line 58) | configure(options = {}) { method generateSequence (line 62) | *generateSequence(start = 0, end = 10) { method processNames (line 66) | processNames(names) { FILE: crates/story/examples/fixtures/test.php class HelloWorld (line 8) | final class HelloWorld method __construct (line 12) | public function __construct(private string $name = 'World') method greet (line 16) | public function greet(string ...$names): array method report (line 21) | public function report(): string function is_valid_email (line 27) | function is_valid_email(string $email): bool FILE: crates/story/examples/fixtures/test.py class Config (line 10) | class Config: class HelloWorld (line 28) | class HelloWorld: method __init__ (line 32) | def __init__(self, name: str = "World", options: Optional[Dict[str, An... method name (line 40) | def name(self) -> str: method name (line 44) | def name(self, value: str) -> None: method get_instance_count (line 50) | def get_instance_count(cls) -> int: method greet (line 53) | async def greet(self, *names: str) -> None: method process_names (line 61) | def process_names(self, names: List[str] = None) -> List[str]: method _generate_report (line 66) | def _generate_report(self) -> str: method __str__ (line 75) | def __str__(self) -> str: function main (line 78) | async def main(): FILE: crates/story/examples/fixtures/test.rb type Logging (line 5) | module Logging class HelloWorld (line 17) | class HelloWorld < Object method initialize (line 26) | def initialize(name: 'World', options: {}) method instance_count (line 34) | def self.instance_count(format: :short) method greet (line 41) | def greet(*names) method configure (line 47) | def configure(timeout: 5000, retries: 3) method configured? (line 51) | def configured? method process_names (line 55) | def process_names(names) method generate_report (line 61) | def generate_report FILE: crates/story/examples/fixtures/test.rs constant VERSION (line 7) | const VERSION: &str = "1.0.0"; type HelloWorld (line 18) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 26) | pub enum HelloError { type Result (line 35) | type Result = std::result::Result; type Configurable (line 66) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 82) | async fn main() -> Result<()> { constant VERSION (line 104) | const VERSION: &str = "1.0.0"; type HelloWorld (line 114) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 122) | pub enum HelloError { type Result (line 129) | type Result = std::result::Result; type Configurable (line 157) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 173) | async fn main() -> Result<()> { constant VERSION (line 195) | const VERSION: &str = "1.0.0"; type HelloWorld (line 205) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 213) | pub enum HelloError { type Result (line 220) | type Result = std::result::Result; type Configurable (line 248) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 264) | async fn main() -> Result<()> { constant VERSION (line 286) | const VERSION: &str = "1.0.0"; type HelloWorld (line 296) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 304) | pub enum HelloError { type Result (line 311) | type Result = std::result::Result; type Configurable (line 339) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 355) | async fn main() -> Result<()> { constant VERSION (line 377) | const VERSION: &str = "1.0.0"; type HelloWorld (line 387) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 395) | pub enum HelloError { type Result (line 402) | type Result = std::result::Result; type Configurable (line 430) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 446) | async fn main() -> Result<()> { constant VERSION (line 468) | const VERSION: &str = "1.0.0"; type HelloWorld (line 478) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 486) | pub enum HelloError { type Result (line 493) | type Result = std::result::Result; type Configurable (line 521) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 537) | async fn main() -> Result<()> { constant VERSION (line 559) | const VERSION: &str = "1.0.0"; type HelloWorld (line 569) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 577) | pub enum HelloError { type Result (line 584) | type Result = std::result::Result; type Configurable (line 612) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 628) | async fn main() -> Result<()> { constant VERSION (line 650) | const VERSION: &str = "1.0.0"; type HelloWorld (line 660) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 668) | pub enum HelloError { type Result (line 675) | type Result = std::result::Result; type Configurable (line 703) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 719) | async fn main() -> Result<()> { constant VERSION (line 741) | const VERSION: &str = "1.0.0"; type HelloWorld (line 751) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 759) | pub enum HelloError { type Result (line 766) | type Result = std::result::Result; type Configurable (line 794) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 810) | async fn main() -> Result<()> { constant VERSION (line 832) | const VERSION: &str = "1.0.0"; type HelloWorld (line 842) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 850) | pub enum HelloError { type Result (line 857) | type Result = std::result::Result; type Configurable (line 885) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 901) | async fn main() -> Result<()> { constant VERSION (line 923) | const VERSION: &str = "1.0.0"; type HelloWorld (line 933) | pub struct HelloWorld { method new (line 38) | pub fn new(name: impl Into) -> Self { method greet (line 50) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 58) | fn generate_report(&self) -> String { method new (line 132) | pub fn new(name: impl Into) -> Self { method greet (line 141) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 149) | fn generate_report(&self) -> String { method new (line 223) | pub fn new(name: impl Into) -> Self { method greet (line 232) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 240) | fn generate_report(&self) -> String { method new (line 314) | pub fn new(name: impl Into) -> Self { method greet (line 323) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 331) | fn generate_report(&self) -> String { method new (line 405) | pub fn new(name: impl Into) -> Self { method greet (line 414) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 422) | fn generate_report(&self) -> String { method new (line 496) | pub fn new(name: impl Into) -> Self { method greet (line 505) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 513) | fn generate_report(&self) -> String { method new (line 587) | pub fn new(name: impl Into) -> Self { method greet (line 596) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 604) | fn generate_report(&self) -> String { method new (line 678) | pub fn new(name: impl Into) -> Self { method greet (line 687) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 695) | fn generate_report(&self) -> String { method new (line 769) | pub fn new(name: impl Into) -> Self { method greet (line 778) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 786) | fn generate_report(&self) -> String { method new (line 860) | pub fn new(name: impl Into) -> Self { method greet (line 869) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 877) | fn generate_report(&self) -> String { method new (line 951) | pub fn new(name: impl Into) -> Self { method greet (line 960) | pub async fn greet>(&self, names: &[T]) -> Result<()> { method generate_report (line 968) | fn generate_report(&self) -> String { type HelloError (line 941) | pub enum HelloError { type Result (line 948) | type Result = std::result::Result; type Configurable (line 976) | trait Configurable { method configure (line 67) | fn configure(&mut self, options: HashMap); method is_configured (line 68) | fn is_configured(&self) -> bool; method configure (line 72) | fn configure(&mut self, options: HashMap) { method is_configured (line 76) | fn is_configured(&self) -> bool { method configure (line 158) | fn configure(&mut self, options: HashMap); method is_configured (line 159) | fn is_configured(&self) -> bool; method configure (line 163) | fn configure(&mut self, options: HashMap) { method is_configured (line 167) | fn is_configured(&self) -> bool { method configure (line 249) | fn configure(&mut self, options: HashMap); method is_configured (line 250) | fn is_configured(&self) -> bool; method configure (line 254) | fn configure(&mut self, options: HashMap) { method is_configured (line 258) | fn is_configured(&self) -> bool { method configure (line 340) | fn configure(&mut self, options: HashMap); method is_configured (line 341) | fn is_configured(&self) -> bool; method configure (line 345) | fn configure(&mut self, options: HashMap) { method is_configured (line 349) | fn is_configured(&self) -> bool { method configure (line 431) | fn configure(&mut self, options: HashMap); method is_configured (line 432) | fn is_configured(&self) -> bool; method configure (line 436) | fn configure(&mut self, options: HashMap) { method is_configured (line 440) | fn is_configured(&self) -> bool { method configure (line 522) | fn configure(&mut self, options: HashMap); method is_configured (line 523) | fn is_configured(&self) -> bool; method configure (line 527) | fn configure(&mut self, options: HashMap) { method is_configured (line 531) | fn is_configured(&self) -> bool { method configure (line 613) | fn configure(&mut self, options: HashMap); method is_configured (line 614) | fn is_configured(&self) -> bool; method configure (line 618) | fn configure(&mut self, options: HashMap) { method is_configured (line 622) | fn is_configured(&self) -> bool { method configure (line 704) | fn configure(&mut self, options: HashMap); method is_configured (line 705) | fn is_configured(&self) -> bool; method configure (line 709) | fn configure(&mut self, options: HashMap) { method is_configured (line 713) | fn is_configured(&self) -> bool { method configure (line 795) | fn configure(&mut self, options: HashMap); method is_configured (line 796) | fn is_configured(&self) -> bool; method configure (line 800) | fn configure(&mut self, options: HashMap) { method is_configured (line 804) | fn is_configured(&self) -> bool { method configure (line 886) | fn configure(&mut self, options: HashMap); method is_configured (line 887) | fn is_configured(&self) -> bool; method configure (line 891) | fn configure(&mut self, options: HashMap) { method is_configured (line 895) | fn is_configured(&self) -> bool { method configure (line 977) | fn configure(&mut self, options: HashMap); method is_configured (line 978) | fn is_configured(&self) -> bool; method configure (line 982) | fn configure(&mut self, options: HashMap) { method is_configured (line 986) | fn is_configured(&self) -> bool { function main (line 992) | async fn main() -> Result<()> { FILE: crates/story/examples/fixtures/test.ts constant VERSION (line 3) | const VERSION = "1.0.0"; class HelloWorld (line 5) | class HelloWorld { method constructor (line 10) | constructor(name: string) { method greet (line 16) | greet(names: string[]): void { method configure (line 22) | configure(cfg: { timeout: number; retries: number; debug: boolean }): ... method generateReport (line 28) | generateReport(): string { function main (line 41) | function main() { FILE: crates/story/examples/html.rs type Example (line 11) | pub struct Example { method new (line 19) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method view (line 44) | fn view(window: &mut Window, cx: &mut App) -> Entity { constant EXAMPLE (line 16) | const EXAMPLE: &str = include_str!("./fixtures/test.html"); method render (line 50) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 76) | fn main() { FILE: crates/story/examples/large-text.rs type Example (line 11) | pub struct Example { method new (line 19) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method view (line 40) | fn view(window: &mut Window, cx: &mut App) -> Entity { method go_to_line (line 44) | fn go_to_line(&mut self, _: &ClickEvent, window: &mut Window, cx: &mut... method toggle_soft_wrap (line 89) | fn toggle_soft_wrap(&mut self, _: &ClickEvent, window: &mut Window, cx... method render (line 99) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 139) | fn main() { FILE: crates/story/examples/markdown.rs type Example (line 15) | pub struct Example { method new (line 23) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method on_action_open (line 45) | fn on_action_open(&mut self, _: &Open, window: &mut Window, cx: &mut C... method view (line 72) | fn view(window: &mut Window, cx: &mut App) -> Entity { constant EXAMPLE (line 20) | const EXAMPLE: &str = include_str!("./fixtures/test.md"); method render (line 78) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 142) | fn main() { FILE: crates/story/examples/stream_markdown.rs type Example (line 10) | pub struct Example { method new (line 21) | pub fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 51) | fn view(window: &mut Window, cx: &mut App) -> Entity { method replay (line 58) | fn replay(&mut self, _window: &mut Window, cx: &mut Context) { constant EXAMPLE (line 18) | const EXAMPLE: &str = include_str!("./fixtures/test.md"); method render (line 79) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 110) | fn main() { FILE: crates/story/examples/tiles.rs constant TILES_DOCK_AREA (line 19) | const TILES_DOCK_AREA: DockAreaTab = DockAreaTab { type ContainerPanel (line 29) | struct ContainerPanel { method init (line 55) | fn init(cx: &mut App) { method new (line 80) | fn new(panel: Arc, window: &mut Window, cx: &mut App) -... type ContainerPanelState (line 35) | struct ContainerPanelState { method new (line 41) | fn new(child: PanelState) -> Self { method to_value (line 45) | fn to_value(&self) -> serde_json::Value { method from_value (line 49) | fn from_value(value: serde_json::Value) -> Result { method panel_name (line 93) | fn panel_name(&self) -> &'static str { method title (line 97) | fn title(&mut self, window: &mut Window, cx: &mut Context) -> impl... method title_suffix (line 101) | fn title_suffix(&mut self, _: &mut Window, cx: &mut Context) -> Op... method dump (line 115) | fn dump(&self, cx: &App) -> PanelState { method focus_handle (line 126) | fn focus_handle(&self, cx: &App) -> FocusHandle { method render (line 132) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... function init (line 139) | pub fn init(cx: &mut App) { type StoryTiles (line 146) | pub struct StoryTiles { method new (line 158) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method save_layout (line 210) | fn save_layout( method save_tiles (line 239) | fn save_tiles(state: &DockAreaState) -> Result<()> { method set_scrollbar_show (line 246) | fn set_scrollbar_show(dock_area: &mut DockArea, cx: &mut App) { method load_tiles (line 257) | fn load_tiles( method reset_default_layout (line 296) | fn reset_default_layout( method init_default_layout (line 311) | fn init_default_layout( method new_local (line 354) | pub fn new_local(cx: &mut App) -> Task) -> imp... function main (line 436) | fn main() { function quit (line 459) | fn quit(_: &Quit, cx: &mut App) { FILE: crates/story/src/app_menus.rs function init (line 11) | pub fn init(title: impl Into, cx: &mut App) -> Entity, app_menu_bar: Entity<... function build_menus (line 53) | fn build_menus(title: impl Into, cx: &App) -> Vec { function language_menu (line 113) | fn language_menu(_: &App) -> MenuItem { function theme_menu (line 124) | fn theme_menu(cx: &App) -> MenuItem { FILE: crates/story/src/embedded_themes.rs function embedded_themes (line 5) | pub fn embedded_themes() -> HashMap<&'static str, &'static str> { FILE: crates/story/src/gallery.rs type Gallery (line 12) | pub struct Gallery { method new (line 22) | pub fn new(init_story: Option<&str>, window: &mut Window, cx: &mut Con... method set_active_story (line 118) | fn set_active_story(&mut self, name: &str, window: &mut Window, cx: &m... method view (line 125) | pub fn view(init_story: Option<&str>, window: &mut Window, cx: &mut Ap... method render (line 131) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/lib.rs type SelectScrollbarShow (line 34) | pub struct SelectScrollbarShow(ScrollbarShow); type SelectLocale (line 38) | pub struct SelectLocale(SharedString); type SelectFont (line 42) | pub struct SelectFont(usize); type SelectRadius (line 46) | pub struct SelectRadius(usize); constant PANEL_NAME (line 63) | const PANEL_NAME: &str = "StoryContainer"; type AppState (line 65) | pub struct AppState { method init (line 69) | fn init(cx: &mut App) { method global (line 76) | pub fn global(cx: &App) -> &Self { method global_mut (line 80) | pub fn global_mut(cx: &mut App) -> &mut Self { function create_new_window (line 85) | pub fn create_new_window(title: &str, crate_view_fn: F, cx: &mut App) function create_new_window_with_size (line 93) | pub fn create_new_window_with_size( function init (line 154) | pub fn init(cx: &mut App) { type StorySection (line 277) | struct StorySection { method sub_title (line 285) | pub fn sub_title(mut self, sub_title: impl IntoElement) -> Self { method max_w_md (line 291) | fn max_w_md(mut self) -> Self { method max_w_lg (line 297) | fn max_w_lg(mut self) -> Self { method max_w_xl (line 303) | fn max_w_xl(mut self) -> Self { method max_w_2xl (line 309) | fn max_w_2xl(mut self) -> Self { method extend (line 316) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 322) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 328) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { function section (line 351) | pub(crate) fn section(title: impl Into) -> StorySection { type StoryContainer (line 365) | pub struct StoryContainer { method new (line 388) | pub fn new(_window: &mut Window, cx: &mut App) -> Self { method panel (line 407) | pub fn panel(window: &mut Window, cx: &mut App) -> Entity Self { method height (line 435) | pub fn height(mut self, height: gpui::Pixels) -> Self { method story (line 440) | pub fn story(mut self, story: AnyView, story_klass: impl Into serde_json::Value { method from_value (line 464) | fn from_value(value: serde_json::Value) -> Self { method to_story (line 468) | fn to_story( method panel_name (line 526) | fn panel_name(&self) -> &'static str { method title (line 530) | fn title(&mut self, _window: &mut Window, _cx: &mut Context) -> im... method title_style (line 534) | fn title_style(&self, cx: &App) -> Option { method closable (line 545) | fn closable(&self, _cx: &App) -> bool { method zoomable (line 549) | fn zoomable(&self, _cx: &App) -> Option { method visible (line 553) | fn visible(&self, cx: &App) -> bool { method set_zoomed (line 560) | fn set_zoomed(&mut self, zoomed: bool, _window: &mut Window, _cx: &mut C... method set_active (line 564) | fn set_active(&mut self, active: bool, _window: &mut Window, cx: &mut Co... method dropdown_menu (line 573) | fn dropdown_menu( method toolbar_buttons (line 582) | fn toolbar_buttons( method dump (line 601) | fn dump(&self, _cx: &App) -> PanelState { method focus_handle (line 613) | fn focus_handle(&self, _: &App) -> gpui::FocusHandle { method render (line 618) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type StoryRoot (line 630) | pub struct StoryRoot { method new (line 637) | pub fn new( method on_action_panel_info (line 651) | fn on_action_panel_info( method on_action_toggle_search (line 664) | fn on_action_toggle_search( method focus_handle (line 684) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 690) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/story/src/main.rs function main (line 4) | fn main() { FILE: crates/story/src/stories/accordion_story.rs type AccordionStory (line 17) | pub struct AccordionStory { method title (line 28) | fn title() -> &'static str { method description (line 32) | fn description() -> &'static str { method new_view (line 36) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 42) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 46) | fn new(_: &mut Window, cx: &mut Context) -> Self { method toggle_accordion (line 58) | fn toggle_accordion(&mut self, open_ixs: Vec, _: &mut Window, c... method set_size (line 63) | fn set_size(&mut self, size: Size, _: &mut Window, cx: &mut Context gpui::FocusHandle { method render (line 76) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/alert_dialog_story.rs type AlertDialogStory (line 18) | pub struct AlertDialogStory { method title (line 23) | fn title() -> &'static str { method description (line 27) | fn description() -> &'static str { method new_view (line 31) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 37) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 41) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 49) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 55) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/alert_story.rs type AlertStory (line 16) | pub struct AlertStory { method new (line 23) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 27) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method set_size (line 31) | fn set_size(&mut self, size: Size, _: &mut Window, cx: &mut Context &'static str { method description (line 42) | fn description() -> &'static str { method new_view (line 46) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 50) | fn zoomable() -> Option { method focus_handle (line 56) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 62) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/avatar_story.rs type AvatarStory (line 14) | pub struct AvatarStory { method new (line 19) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 25) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method title (line 31) | fn title() -> &'static str { method description (line 35) | fn description() -> &'static str { method new_view (line 39) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 43) | fn zoomable() -> Option { method focus_handle (line 49) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 55) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/badge_story.rs type BadgeStory (line 12) | pub struct BadgeStory { method new (line 17) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 23) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method title (line 29) | fn title() -> &'static str { method description (line 33) | fn description() -> &'static str { method new_view (line 37) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 41) | fn zoomable() -> Option { method focus_handle (line 47) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 53) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/breadcrumb_story.rs type BreadcrumbStory (line 13) | pub struct BreadcrumbStory { method new (line 19) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 26) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method title (line 32) | fn title() -> &'static str { method description (line 36) | fn description() -> &'static str { method new_view (line 40) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 46) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 52) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/button_story.rs type ButtonAction (line 20) | enum ButtonAction { type ButtonStory (line 27) | pub struct ButtonStory { method view (line 37) | pub fn view(_: &mut Window, cx: &mut App) -> Entity { method on_click (line 48) | fn on_click(ev: &ClickEvent, _: &mut Window, _: &mut App) { method on_hover (line 52) | fn on_hover(hovered: &bool, _: &mut Window, _: &mut App) { method title (line 58) | fn title() -> &'static str { method description (line 62) | fn description() -> &'static str { method closable (line 66) | fn closable() -> bool { method new_view (line 70) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 76) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 82) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/calendar_story.rs type CalendarStory (line 12) | pub struct CalendarStory { method title (line 20) | fn title() -> &'static str { method description (line 24) | fn description() -> &'static str { method new_view (line 28) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 34) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 38) | fn new(window: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 54) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 60) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/chart_story/chart_story.rs type MonthlyDevice (line 19) | struct MonthlyDevice { method color (line 26) | pub fn color(&self, color: Hsla) -> Hsla { type DailyDevice (line 32) | pub struct DailyDevice { type StockPrice (line 41) | pub struct StockPrice { type ChartStory (line 49) | pub struct ChartStory { method new (line 57) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 79) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method title (line 85) | fn title() -> &'static str { method description (line 89) | fn description() -> &'static str { method new_view (line 93) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 97) | fn zoomable() -> Option { method focus_handle (line 103) | fn focus_handle(&self, _: &App) -> FocusHandle { function chart_container (line 108) | fn chart_container( method render (line 152) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/chart_story/stacked_bar_chart.rs type StackedBarChart (line 16) | pub struct StackedBarChart { method new (line 22) | pub fn new(data: Vec) -> Self { method paint (line 41) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/story/src/stories/checkbox_story.rs type CheckboxStory (line 12) | pub struct CheckboxStory { method title (line 22) | fn title() -> &'static str { method description (line 26) | fn description() -> &'static str { method new_view (line 30) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 36) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 40) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 53) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 59) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/clipboard_story.rs type ClipboardStory (line 17) | pub struct ClipboardStory { method title (line 24) | fn title() -> &'static str { method description (line 28) | fn description() -> &'static str { method new_view (line 32) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 38) | pub(crate) fn new(window: &mut Window, cx: &mut App) -> Self { method view (line 49) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 54) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 59) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/collapsible_story.rs type CollapsibleStory (line 20) | pub struct CollapsibleStory { method title (line 27) | fn title() -> &'static str { method description (line 31) | fn description() -> &'static str { method new_view (line 35) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 41) | pub(crate) fn new(_: &mut Window, cx: &mut App) -> Self { method view (line 49) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 55) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 61) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/color_picker_story.rs type ColorPickerStory (line 13) | pub struct ColorPickerStory { method title (line 20) | fn title() -> &'static str { method description (line 24) | fn description() -> &'static str { method new_view (line 28) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 34) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 38) | fn new(window: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 57) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 63) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/data_table_story.rs type ChangeSize (line 30) | struct ChangeSize(Size); type OpenDetail (line 34) | struct OpenDetail(usize); type Counter (line 37) | struct Counter { method random (line 48) | fn random() -> Self { method symbol_code (line 54) | fn symbol_code(&self) -> SharedString { type Stock (line 60) | struct Stock { method random_update (line 107) | fn random_update(&mut self) { function random_stocks (line 127) | fn random_stocks(size: usize) -> Vec { type StockTableDelegate (line 185) | struct StockTableDelegate { method new (line 201) | fn new(size: usize) -> Self { method update_stocks (line 273) | fn update_stocks(&mut self, size: usize) { method render_percent (line 286) | fn render_percent(&self, col: &Column, val: f64, cx: &mut App) -> AnyE... method render_value_cell (line 306) | fn render_value_cell(&self, col: &Column, val: f64, cx: &mut App) -> A... method columns_count (line 326) | fn columns_count(&self, _: &App) -> usize { method rows_count (line 330) | fn rows_count(&self, _: &App) -> usize { method column (line 334) | fn column(&self, col_ix: usize, _cx: &App) -> Column { method render_th (line 338) | fn render_th( method context_menu (line 353) | fn context_menu( method render_tr (line 368) | fn render_tr( method render_td (line 390) | fn render_td( method move_column (line 462) | fn move_column( method perform_sort (line 473) | fn perform_sort( method loading (line 501) | fn loading(&self, _: &App) -> bool { method has_more (line 505) | fn has_more(&self, _: &App) -> bool { method load_more_threshold (line 516) | fn load_more_threshold(&self) -> usize { method load_more (line 520) | fn load_more(&mut self, _: &mut Window, cx: &mut Context String { type DataTableStory (line 618) | pub struct DataTableStory { method title (line 630) | fn title() -> &'static str { method description (line 634) | fn description() -> &'static str { method new_view (line 638) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method closable (line 642) | fn closable() -> bool { method view (line 654) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 658) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_num_stocks_input_change (line 715) | fn on_num_stocks_input_change( method toggle_loop_selection (line 741) | fn toggle_loop_selection(&mut self, checked: &bool, _: &mut Window, cx... method toggle_col_resize (line 748) | fn toggle_col_resize(&mut self, checked: &bool, _: &mut Window, cx: &m... method toggle_col_order (line 755) | fn toggle_col_order(&mut self, checked: &bool, _: &mut Window, cx: &mu... method toggle_col_sort (line 762) | fn toggle_col_sort(&mut self, checked: &bool, _: &mut Window, cx: &mut... method toggle_col_fixed (line 769) | fn toggle_col_fixed(&mut self, checked: &bool, _: &mut Window, cx: &mu... method toggle_col_selection (line 776) | fn toggle_col_selection(&mut self, checked: &bool, _: &mut Window, cx:... method toggle_row_selection (line 783) | fn toggle_row_selection(&mut self, checked: &bool, _: &mut Window, cx:... method toggle_cell_selection (line 790) | fn toggle_cell_selection(&mut self, checked: &bool, _: &mut Window, cx... method toggle_stripe (line 797) | fn toggle_stripe(&mut self, checked: &bool, _: &mut Window, cx: &mut C... method on_change_size (line 802) | fn on_change_size(&mut self, a: &ChangeSize, _: &mut Window, cx: &mut ... method toggle_refresh_data (line 807) | fn toggle_refresh_data(&mut self, checked: &bool, _: &mut Window, cx: ... method on_table_event (line 812) | fn on_table_event( method dump_csv (line 845) | fn dump_csv(&mut self, _: &ClickEvent, window: &mut Window, cx: &mut C... method write_csv (line 875) | fn write_csv(&mut self, cx: &mut Context) -> anyhow::Result gpui::FocusHandle { method render (line 899) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl gpu... FILE: crates/story/src/stories/date_picker_story.rs type DatePickerStory (line 14) | pub struct DatePickerStory { method title (line 27) | fn title() -> &'static str { method description (line 31) | fn description() -> &'static str { method new_view (line 35) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 41) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 45) | fn new(window: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 126) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 132) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/description_list_story.rs type ChangeSize (line 20) | struct ChangeSize(Size); type DescriptionListStory (line 22) | pub struct DescriptionListStory { method new (line 31) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 74) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method set_layout (line 78) | fn set_layout(&mut self, layout: Axis, cx: &mut Context) { method set_bordered (line 83) | fn set_bordered(&mut self, bordered: bool, cx: &mut Context) { method on_change_size (line 88) | fn on_change_size(&mut self, a: &ChangeSize, _: &mut Window, cx: &mut ... method title (line 95) | fn title() -> &'static str { method description (line 99) | fn description() -> &'static str { method new_view (line 103) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 107) | fn zoomable() -> Option { method focus_handle (line 113) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 119) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/dialog_story.rs type DialogStory (line 25) | pub struct DialogStory { method title (line 87) | fn title() -> &'static str { method description (line 91) | fn description() -> &'static str { method new_view (line 95) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 101) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 105) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_action_test_action (line 137) | fn on_action_test_action( method render_basic_dialog (line 146) | fn render_basic_dialog(&self, cx: &mut Context) -> impl IntoElem... method render_focus_back_test (line 241) | fn render_focus_back_test(&self, _cx: &mut Context) -> impl Into... method render_dialog_without_title (line 258) | fn render_dialog_without_title(&self, cx: &mut Context) -> impl ... method render_custom_buttons (line 276) | fn render_custom_buttons(&self, cx: &mut Context) -> impl IntoEl... method render_scrollable_dialog (line 334) | fn render_scrollable_dialog(&self, cx: &mut Context) -> impl Int... method render_table_in_dialog (line 368) | fn render_table_in_dialog(&self, cx: &mut Context) -> impl IntoE... method render_custom_paddings (line 398) | fn render_custom_paddings(&self, cx: &mut Context) -> impl IntoE... method render_custom_style (line 414) | fn render_custom_style(&self, cx: &mut Context) -> impl IntoElem... method render_dialog_with_content (line 431) | fn render_dialog_with_content(&self, cx: &mut Context) -> impl I... type MyTable (line 39) | struct MyTable { method new (line 43) | fn new(_: &mut App) -> Self { method columns_count (line 56) | fn columns_count(&self, _: &App) -> usize { method rows_count (line 60) | fn rows_count(&self, _: &App) -> usize { method column (line 64) | fn column(&self, col_ix: usize, _: &App) -> Column { method render_td (line 68) | fn render_td( method focus_handle (line 482) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 488) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/divider_story.rs constant DESCRIPTION (line 8) | const DESCRIPTION: &str = "GPUI Component is a Rust GUI components for b... type DividerStory (line 10) | pub struct DividerStory { method title (line 15) | fn title() -> &'static str { method description (line 19) | fn description() -> &'static str { method new_view (line 23) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 29) | pub fn view(_window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 37) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 43) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/dropdown_button_story.rs type ButtonAction (line 17) | enum ButtonAction { type DropdownButtonStory (line 24) | pub struct DropdownButtonStory { method view (line 33) | pub fn view(_: &mut Window, cx: &mut App) -> Entity { method title (line 45) | fn title() -> &'static str { method description (line 49) | fn description() -> &'static str { method closable (line 53) | fn closable() -> bool { method new_view (line 57) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 63) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 69) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/editor_story.rs constant EXAMPLE_CODE (line 5) | const EXAMPLE_CODE: &str = include_str!("./editor_story.rs"); type EditorStory (line 7) | pub struct EditorStory { method title (line 12) | fn title() -> &'static str { method description (line 16) | fn description() -> &'static str { method closable (line 20) | fn closable() -> bool { method new_view (line 24) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 30) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 34) | fn new(window: &mut Window, cx: &mut Context) -> Self { method render (line 51) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/form_story.rs type FormStory (line 20) | pub struct FormStory { method title (line 35) | fn title() -> &'static str { method description (line 39) | fn description() -> &'static str { method closable (line 43) | fn closable() -> bool { method new_view (line 47) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 53) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 57) | fn new(window: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 102) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 108) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/group_box_story.rs type GroupBoxStory (line 20) | pub struct GroupBoxStory { method title (line 25) | fn title() -> &'static str { method description (line 29) | fn description() -> &'static str { method new_view (line 34) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 40) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 44) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 52) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 58) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/hover_card_story.rs type HoverCardStory (line 13) | pub struct HoverCardStory {} method new (line 16) | fn new(_: &mut Window, _: &mut Context) -> Self { method view (line 20) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method render_basic_example (line 38) | fn render_basic_example(&self, cx: &mut Context) -> impl IntoEle... method render_user_profile_example (line 68) | fn render_user_profile_example(&self, cx: &mut Context) -> impl ... method render_custom_timing_example (line 109) | fn render_custom_timing_example(&self, _: &mut Context) -> impl ... method render_positioning_examples (line 131) | fn render_positioning_examples(&self, _: &mut Context) -> impl I... method render (line 26) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... method title (line 187) | fn title() -> &'static str { method description (line 191) | fn description() -> &'static str { method new_view (line 195) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { FILE: crates/story/src/stories/icon_story.rs type IconStory (line 13) | pub struct IconStory { method new (line 18) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 24) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method title (line 30) | fn title() -> &'static str { method description (line 34) | fn description() -> &'static str { method new_view (line 38) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 42) | fn zoomable() -> Option { method focus_handle (line 48) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 54) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/image_story.rs type ImageStory (line 8) | pub struct ImageStory { method title (line 13) | fn title() -> &'static str { method description (line 17) | fn description() -> &'static str { method new_view (line 21) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 25) | fn zoomable() -> Option { method new (line 31) | pub fn new(_: &mut Window, cx: &mut App) -> Self { method view (line 37) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 43) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 49) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/input_story.rs constant CODE_EXAMPLE (line 9) | const CODE_EXAMPLE: &str = r#"{"single_line":"code editor"}"#; function init (line 11) | pub fn init(_: &mut App) {} type InputStory (line 13) | pub struct InputStory { method title (line 36) | fn title() -> &'static str { method closable (line 40) | fn closable() -> bool { method new_view (line 44) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 50) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 54) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_input_event (line 150) | fn on_input_event( method on_click_reset (line 175) | fn on_click_reset(&mut self, _: &ClickEvent, window: &mut Window, cx: ... method render (line 183) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/story/src/stories/kbd_story.rs type KbdStory (line 10) | pub struct KbdStory { method title (line 15) | fn title() -> &'static str { method description (line 19) | fn description() -> &'static str { method new_view (line 23) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 29) | pub(crate) fn new(_: &mut Window, cx: &mut App) -> Self { method view (line 35) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 40) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 45) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/label_story.rs type LabelStory (line 18) | pub struct LabelStory { method title (line 28) | fn title() -> &'static str { method description (line 32) | fn description() -> &'static str { method new_view (line 36) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 42) | pub(crate) fn new(window: &mut Window, cx: &mut Context) -> Self { method view (line 69) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method on_click (line 74) | fn on_click(checked: &bool, window: &mut Window, cx: &mut App) { method highlights_text (line 78) | fn highlights_text(&self) -> HighlightsMatch { method focus_handle (line 87) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 92) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/list_story.rs type Company (line 23) | struct Company { method prepare (line 37) | fn prepare(mut self) -> Self { type CompanyListItem (line 47) | struct CompanyListItem { method new (line 54) | pub fn new(id: impl Into, company: Rc, selected: b... method selected (line 64) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 69) | fn is_selected(&self) -> bool { method render (line 75) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type CompanyListDelegate (line 137) | struct CompanyListDelegate { method prepare (line 150) | fn prepare(&mut self, query: impl Into) { method extend_more (line 173) | fn extend_more(&mut self, len: usize) { method selected_company (line 179) | fn selected_company(&self) -> Option> { type Item (line 192) | type Item = CompanyListItem; method sections_count (line 194) | fn sections_count(&self, _: &App) -> usize { method items_count (line 198) | fn items_count(&self, section: usize, _: &App) -> usize { method perform_search (line 207) | fn perform_search( method confirm (line 217) | fn confirm(&mut self, secondary: bool, window: &mut Window, cx: &mut Con... method set_selected_index (line 222) | fn set_selected_index( method set_right_clicked_index (line 232) | fn set_right_clicked_index( method render_section_header (line 241) | fn render_section_header( method render_section_footer (line 264) | fn render_section_footer( method render_item (line 288) | fn render_item( method loading (line 302) | fn loading(&self, _: &App) -> bool { method has_more (line 306) | fn has_more(&self, _: &App) -> bool { method load_more_threshold (line 314) | fn load_more_threshold(&self) -> usize { method load_more (line 318) | fn load_more(&mut self, window: &mut Window, cx: &mut Context &'static str { method description (line 355) | fn description() -> &'static str { method new_view (line 359) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 365) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 369) | fn new(window: &mut Window, cx: &mut Context) -> Self { method selected_company (line 432) | fn selected_company(&mut self, _: &SelectedCompany, _: &mut Window, cx... method toggle_selectable (line 439) | fn toggle_selectable(&mut self, selectable: bool, _: &mut Window, cx: ... method toggle_searchable (line 446) | fn toggle_searchable(&mut self, searchable: bool, _: &mut Window, cx: ... function random_company (line 454) | fn random_company() -> Company { method focus_handle (line 471) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 477) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/menu_story.rs type Info (line 18) | struct Info(usize); constant CONTEXT (line 22) | const CONTEXT: &str = "menu_story"; function init (line 23) | pub fn init(cx: &mut App) { type MenuStory (line 45) | pub struct MenuStory { method title (line 51) | fn title() -> &'static str { method description (line 55) | fn description() -> &'static str { method new_view (line 59) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 65) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 69) | fn new(_: &mut Window, _: &mut Context) -> Self { method on_copy (line 76) | fn on_copy(&mut self, _: &Copy, _: &mut Window, cx: &mut Context) { method on_cut (line 81) | fn on_cut(&mut self, _: &Cut, _: &mut Window, cx: &mut Context) { method on_paste (line 86) | fn on_paste(&mut self, _: &Paste, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/mod.rs function init (line 125) | pub(crate) fn init(cx: &mut App) { type Story (line 138) | pub trait Story: Render + Sized { method klass (line 139) | fn klass() -> &'static str { method title (line 143) | fn title() -> &'static str; method description (line 145) | fn description() -> &'static str { method closable (line 149) | fn closable() -> bool { method zoomable (line 153) | fn zoomable() -> Option { method title_bg (line 157) | fn title_bg() -> Option { method paddings (line 161) | fn paddings() -> Pixels { method new_view (line 165) | fn new_view(window: &mut Window, cx: &mut App) -> Entity; method on_active (line 167) | fn on_active(&mut self, active: bool, window: &mut Window, cx: &mut Ap... method on_active_any (line 173) | fn on_active_any(view: AnyView, active: bool, window: &mut Window, cx:... FILE: crates/story/src/stories/notification_story.rs constant NOTIFICATION_MARKDOWN (line 18) | const NOTIFICATION_MARKDOWN: &str = r#" type NotificationStory (line 25) | pub struct NotificationStory { method title (line 30) | fn title() -> &'static str { method description (line 34) | fn description() -> &'static str { method new_view (line 38) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 44) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 48) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 56) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 62) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/number_input_story.rs function init (line 15) | pub fn init(_: &mut App) {} type NumberInputStory (line 17) | pub struct NumberInputStory { method title (line 32) | fn title() -> &'static str { method description (line 36) | fn description() -> &'static str { method closable (line 40) | fn closable() -> bool { method new_view (line 44) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 50) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 54) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_input_event (line 119) | fn on_input_event( method on_number_input_event (line 152) | fn on_number_input_event( method focus_handle (line 213) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 219) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/otp_input_story.rs function init (line 15) | pub fn init(_: &mut App) {} type OtpInputStory (line 17) | pub struct OtpInputStory { method title (line 30) | fn title() -> &'static str { method description (line 34) | fn description() -> &'static str { method closable (line 38) | fn closable() -> bool { method new_view (line 42) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 48) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 52) | fn new(window: &mut Window, cx: &mut Context) -> Self { method toggle_opt_masked (line 94) | fn toggle_opt_masked(&mut self, _: &bool, window: &mut Window, cx: &mu... method focus_handle (line 115) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 121) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/pagination_story.rs type PaginationStory (line 14) | pub struct PaginationStory { method title (line 23) | fn title() -> &'static str { method description (line 27) | fn description() -> &'static str { method new_view (line 31) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 37) | pub fn view(_window: &mut Window, cx: &mut App) -> Entity { method set_size (line 47) | fn set_size(&mut self, size: Size, _: &mut Window, cx: &mut Context gpui::FocusHandle { method render (line 60) | fn render(&mut self, _window: &mut Window, cx: &mut Context) -> im... FILE: crates/story/src/stories/popover_story.rs type Info (line 22) | struct Info(usize); constant CONTEXT (line 25) | const CONTEXT: &str = "popover-story"; function init (line 26) | pub fn init(cx: &mut App) { type Form (line 47) | struct Form { method new (line 53) | fn new(parent: Entity, window: &mut Window, cx: &mut App... method focus_handle (line 62) | fn focus_handle(&self, cx: &App) -> FocusHandle { type DropdownListDelegate (line 67) | struct DropdownListDelegate { type Item (line 71) | type Item = ListItem; method items_count (line 73) | fn items_count(&self, _: usize, _: &App) -> usize { method render_item (line 77) | fn render_item( method set_selected_index (line 86) | fn set_selected_index( method confirm (line 94) | fn confirm(&mut self, _: bool, _: &mut Window, cx: &mut Context>) { method render (line 112) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... type PopoverStory (line 135) | pub struct PopoverStory { method title (line 146) | fn title() -> &'static str { method description (line 150) | fn description() -> &'static str { method new_view (line 154) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 160) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 164) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_copy (line 183) | fn on_copy(&mut self, _: &Copy, _: &mut Window, cx: &mut Context) { method on_cut (line 188) | fn on_cut(&mut self, _: &Cut, _: &mut Window, cx: &mut Context) { method on_paste (line 193) | fn on_paste(&mut self, _: &Paste, _: &mut Window, cx: &mut Context FocusHandle { method render (line 222) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/progress_story.rs type ProgressStory (line 16) | pub struct ProgressStory { method title (line 23) | fn title() -> &'static str { method description (line 27) | fn description() -> &'static str { method new_view (line 31) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 37) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 41) | fn new(_: &mut Window, cx: &mut Context) -> Self { method set_value (line 49) | pub fn set_value(&mut self, value: f32) { method start_animation (line 53) | fn start_animation(&mut self, cx: &mut Context) { method focus_handle (line 85) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 91) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/radio_story.rs type RadioStory (line 14) | pub struct RadioStory { method title (line 22) | fn title() -> &'static str { method description (line 26) | fn description() -> &'static str { method new_view (line 30) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 36) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 40) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 51) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 57) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/rating_story.rs type RatingStory (line 14) | pub struct RatingStory { method title (line 21) | fn title() -> &'static str { method description (line 25) | fn description() -> &'static str { method new_view (line 29) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 35) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 39) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 49) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { function init (line 54) | pub fn init(_cx: &mut App) { method render (line 59) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/resizable_story.rs type ResizableStory (line 11) | pub struct ResizableStory { method title (line 16) | fn title() -> &'static str { method description (line 20) | fn description() -> &'static str { method new_view (line 24) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 36) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 40) | fn new(_: &mut Window, cx: &mut App) -> Self { method focus_handle (line 30) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { function panel_box (line 47) | fn panel_box(content: impl Into, _: &App) -> AnyElement { method render (line 56) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/scrollbar_story.rs type ScrollbarStory (line 15) | pub struct ScrollbarStory { method new (line 27) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 45) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method change_test_cases (line 49) | pub fn change_test_cases(&mut self, n: usize, cx: &mut Context) { method render_buttons (line 74) | fn render_buttons(&mut self, cx: &mut Context) -> impl IntoEleme... method title (line 117) | fn title() -> &'static str { method description (line 121) | fn description() -> &'static str { method new_view (line 125) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { constant ITEM_HEIGHT (line 24) | const ITEM_HEIGHT: Pixels = px(50.); method focus_handle (line 131) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 137) | fn render( FILE: crates/story/src/stories/select_story.rs function init (line 8) | pub fn init(_: &mut App) {} type Country (line 11) | struct Country { method letter_prefix (line 17) | pub fn letter_prefix(&self) -> char { type Value (line 23) | type Value = SharedString; method title (line 25) | fn title(&self) -> SharedString { method display_title (line 29) | fn display_title(&self) -> Option { method value (line 33) | fn value(&self) -> &Self::Value { type SelectStory (line 38) | pub struct SelectStory { method title (line 51) | fn title() -> &'static str { method description (line 55) | fn description() -> &'static str { method new_view (line 59) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 71) | fn new(window: &mut Window, cx: &mut App) -> Entity { method view (line 158) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method on_select_event (line 162) | fn on_select_event( method toggle_disabled (line 174) | fn toggle_disabled(&mut self, disabled: bool, _: &mut Window, cx: &mut... method focus_handle (line 65) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 181) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/settings_story.rs type AppSettings (line 20) | struct AppSettings { method global (line 49) | fn global(cx: &App) -> &AppSettings { method global_mut (line 53) | pub fn global_mut(cx: &mut App) -> &mut AppSettings { method default (line 32) | fn default() -> Self { type SettingsStory (line 58) | pub struct SettingsStory { method title (line 93) | fn title() -> &'static str { method description (line 97) | fn description() -> &'static str { method new_view (line 101) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method paddings (line 105) | fn paddings() -> gpui::Pixels { method view (line 111) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 115) | fn new(_: &mut Window, cx: &mut Context) -> Self { method setting_pages (line 125) | fn setting_pages(&self, _: &mut Window, cx: &mut Context) -> Vec... type OpenURLSettingField (line 64) | struct OpenURLSettingField { method new (line 70) | fn new(label: impl Into, url: impl Into) -... type Element (line 79) | type Element = Button; method render_field (line 80) | fn render_field(&self, options: &RenderOptions, _: &mut Window, _: &mut ... method focus_handle (line 423) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 429) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/story/src/stories/sheet_story.rs type ListItemDeletegate (line 24) | pub struct ListItemDeletegate { type Item (line 33) | type Item = ListItem; method items_count (line 35) | fn items_count(&self, _: usize, _: &App) -> usize { method perform_search (line 39) | fn perform_search( method render_item (line 65) | fn render_item( method render_empty (line 97) | fn render_empty( method cancel (line 113) | fn cancel(&mut self, window: &mut Window, cx: &mut Context Entity { method new (line 175) | fn new(window: &mut Window, cx: &mut Context) -> Self { method open_sheet_at (line 259) | fn open_sheet_at(&mut self, placement: Placement, window: &mut Window,... method close_sheet (line 335) | fn close_sheet(&mut self, _: &mut Window, cx: &mut Context) { method on_action_test_action (line 340) | fn on_action_test_action( method title (line 157) | fn title() -> &'static str { method description (line 161) | fn description() -> &'static str { method new_view (line 165) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 351) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 357) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/sidebar_story.rs type SelectCompany (line 26) | pub struct SelectCompany(SharedString); type SidebarStory (line 28) | pub struct SidebarStory { method view (line 40) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 44) | fn new(_: &mut Window, cx: &mut Context) -> Self { method render_content (line 60) | fn render_content(&mut self, _: &mut Window, cx: &mut Context) -... method switch_checked_handler (line 85) | fn switch_checked_handler( method title (line 244) | fn title() -> &'static str { method description (line 248) | fn description() -> &'static str { method new_view (line 252) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { type Item (line 96) | enum Item { method label (line 125) | pub fn label(&self) -> &'static str { method is_disabled (line 137) | pub fn is_disabled(&self) -> bool { method icon (line 144) | pub fn icon(&self) -> IconName { method handler (line 156) | pub fn handler( method items (line 174) | pub fn items(&self) -> Vec { type SubItem (line 107) | enum SubItem { method label (line 196) | pub fn label(&self) -> &'static str { method is_disabled (line 215) | pub fn is_disabled(&self) -> bool { method handler (line 222) | pub fn handler( method focus_handle (line 258) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 264) | fn render( FILE: crates/story/src/stories/skeleton_story.rs type SkeletonStory (line 9) | pub struct SkeletonStory { method title (line 15) | fn title() -> &'static str { method description (line 19) | fn description() -> &'static str { method new_view (line 23) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 29) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 33) | fn new(_: &mut Window, cx: &mut Context) -> Self { method set_value (line 40) | pub fn set_value(&mut self, value: f32) { method focus_handle (line 46) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 52) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/slider_story.rs type SliderStory (line 16) | pub struct SliderStory { method title (line 32) | fn title() -> &'static str { method description (line 36) | fn description() -> &'static str { method new_view (line 40) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 46) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 50) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 178) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 184) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/spinner_story.rs type SpinnerStory (line 9) | pub struct SpinnerStory { method title (line 15) | fn title() -> &'static str { method description (line 19) | fn description() -> &'static str { method new_view (line 23) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 29) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 33) | fn new(_: &mut Window, cx: &mut Context) -> Self { method set_value (line 40) | pub fn set_value(&mut self, value: f32) { method focus_handle (line 46) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 52) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/stepper_story.rs type StepperStory (line 16) | pub struct StepperStory { method title (line 28) | fn title() -> &'static str { method description (line 32) | fn description() -> &'static str { method new_view (line 36) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 42) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 46) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 61) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 67) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/switch_story.rs type SwitchStory (line 12) | pub struct SwitchStory { method title (line 20) | fn title() -> &'static str { method description (line 24) | fn description() -> &'static str { method new_view (line 28) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 34) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 38) | fn new(_: &mut Window, cx: &mut Context) -> Self { method focus_handle (line 49) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 55) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/table_story.rs type TableStory (line 18) | pub struct TableStory { method new (line 24) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 31) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method set_size (line 35) | fn set_size(&mut self, size: Size, _: &mut Window, cx: &mut Context &'static str { method description (line 46) | fn description() -> &'static str { method new_view (line 50) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 56) | fn focus_handle(&self, _: &App) -> FocusHandle { function status_tag (line 61) | fn status_tag(status: &str) -> Tag { method render (line 72) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/tabs_story.rs type TabsStory (line 17) | pub struct TabsStory { method title (line 25) | fn title() -> &'static str { method description (line 29) | fn description() -> &'static str { method new_view (line 33) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 39) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 43) | fn new(_: &mut Window, cx: &mut Context) -> Self { method set_active_tab (line 52) | fn set_active_tab(&mut self, ix: usize, _: &mut Window, cx: &mut Conte... method set_size (line 57) | fn set_size(&mut self, size: Size, _: &mut Window, cx: &mut Context gpui::FocusHandle { method render (line 70) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/tag_story.rs type TagStory (line 10) | pub struct TagStory { method title (line 15) | fn title() -> &'static str { method description (line 19) | fn description() -> &'static str { method new_view (line 23) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method new (line 29) | pub(crate) fn new(_: &mut Window, cx: &mut App) -> Self { method view (line 35) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 40) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 45) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... FILE: crates/story/src/stories/textarea_story.rs function init (line 15) | pub fn init(_: &mut App) {} type TextareaStory (line 17) | pub struct TextareaStory { method title (line 25) | fn title() -> &'static str { method description (line 29) | fn description() -> &'static str { method closable (line 33) | fn closable() -> bool { method new_view (line 37) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 43) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 47) | fn new(window: &mut Window, cx: &mut Context) -> Self { method on_insert_text_to_textarea (line 119) | fn on_insert_text_to_textarea( method on_replace_text_to_textarea (line 130) | fn on_replace_text_to_textarea( method focus_handle (line 143) | fn focus_handle(&self, cx: &gpui::App) -> gpui::FocusHandle { method render (line 149) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/theme_story/checkerboard.rs type Checkerboard (line 5) | pub struct Checkerboard { method new (line 11) | pub fn new(is_dark: bool) -> Self { method extend (line 20) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 26) | fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/story/src/stories/theme_story/color_theme_story.rs type ColorEntry (line 21) | struct ColorEntry { type ColorCategory (line 29) | struct ColorCategory { type ThemeItem (line 35) | struct ThemeItem { method new (line 41) | fn new(name: impl Into, is_active: bool) -> Self { type Value (line 50) | type Value = SharedString; method title (line 52) | fn title(&self) -> SharedString { method value (line 56) | fn value(&self) -> &Self::Value { method render (line 60) | fn render(&self, _window: &mut Window, cx: &mut App) -> impl IntoElement { type ThemeColorsStory (line 81) | pub struct ThemeColorsStory { method title (line 94) | fn title() -> &'static str { method description (line 98) | fn description() -> &'static str { method new_view (line 104) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method view (line 110) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 114) | fn new(window: &mut Window, cx: &mut Context) -> Self { method get_theme_colors (line 172) | fn get_theme_colors(&self, cx: &Context) -> ThemeColor { method get_isolated_theme (line 195) | fn get_isolated_theme(&self, cx: &App) -> (ThemeColor, bool) { method compute_categories (line 227) | fn compute_categories(&mut self, cx: &Context) { method render_color_swatch (line 287) | fn render_color_swatch( method render_left_panel (line 372) | fn render_left_panel(&self, _: &mut Window, cx: &mut Context) ->... method render_right_panel (line 489) | fn render_right_panel(&self, window: &mut Window, cx: &mut Context String { function colors_equal_u8 (line 664) | fn colors_equal_u8(c1: Hsla, c2: Hsla) -> bool { function filter_categories (line 672) | fn filter_categories( method render (line 698) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/story/src/stories/theme_story/mapper.rs type ParsedKey (line 29) | pub struct ParsedKey { function parse_theme_key (line 36) | pub fn parse_theme_key(key: &str) -> ParsedKey { function to_title_case (line 199) | fn to_title_case(s: &str) -> String { function to_title_case_full (line 207) | fn to_title_case_full(s: &str) -> String { FILE: crates/story/src/stories/toggle_story.rs type ToggleStory (line 14) | pub struct ToggleStory { method view (line 21) | pub fn view(_: &mut Window, cx: &mut App) -> Entity { method title (line 31) | fn title() -> &'static str { method description (line 35) | fn description() -> &'static str { method closable (line 39) | fn closable() -> bool { method new_view (line 43) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method focus_handle (line 49) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 55) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/story/src/stories/tooltip_story.rs function init (line 22) | pub fn init(cx: &mut App) { type TooltipStory (line 26) | pub struct TooltipStory { method view (line 31) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 35) | fn new(_: &mut Window, cx: &mut Context) -> Self { method title (line 43) | fn title() -> &'static str { method new_view (line 47) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 51) | fn zoomable() -> Option { method focus_handle (line 57) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 63) | fn render( FILE: crates/story/src/stories/tree_story.rs constant CONTEXT (line 25) | const CONTEXT: &str = "TreeStory"; function init (line 26) | pub(crate) fn init(cx: &mut App) { type TreeStory (line 30) | pub struct TreeStory { method view (line 69) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method load_files (line 73) | fn load_files(state: Entity, path: PathBuf, cx: &mut Contex... method new (line 89) | fn new(_: &mut Window, cx: &mut Context) -> Self { method on_action_rename (line 100) | fn on_action_rename(&mut self, _: &Rename, _: &mut Window, cx: &mut gp... function build_file_items (line 35) | fn build_file_items(ignorer: &Ignorer, root: &PathBuf, path: &PathBuf) -... method title (line 110) | fn title() -> &'static str { method new_view (line 114) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 118) | fn zoomable() -> Option { method render (line 124) | fn render( FILE: crates/story/src/stories/virtual_list_story.rs type VirtualListStory (line 16) | pub struct VirtualListStory { method new (line 30) | fn new(_: &mut Window, cx: &mut Context) -> Self { method view (line 46) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method change_test_cases (line 50) | pub fn change_test_cases(&mut self, n: usize, cx: &mut Context) { method change_axis (line 72) | pub fn change_axis(&mut self, axis: ScrollbarAxis, cx: &mut Context) -> impl IntoEleme... method title (line 205) | fn title() -> &'static str { method description (line 209) | fn description() -> &'static str { method new_view (line 214) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { constant ITEM_SIZE (line 27) | const ITEM_SIZE: Size = size(px(100.), px(30.)); method focus_handle (line 220) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 226) | fn render( FILE: crates/story/src/stories/welcome_story.rs type WelcomeStory (line 9) | pub struct WelcomeStory { method view (line 14) | pub fn view(window: &mut Window, cx: &mut App) -> Entity { method new (line 18) | fn new(_: &mut Window, cx: &mut Context) -> Self { method title (line 26) | fn title() -> &'static str { method description (line 30) | fn description() -> &'static str { method new_view (line 34) | fn new_view(window: &mut Window, cx: &mut App) -> Entity { method zoomable (line 38) | fn zoomable() -> Option { method paddings (line 42) | fn paddings() -> gpui::Pixels { method focus_handle (line 48) | fn focus_handle(&self, _: &gpui::App) -> gpui::FocusHandle { method render (line 54) | fn render( FILE: crates/story/src/themes.rs constant STATE_FILE (line 11) | const STATE_FILE: &str = "target/state.json"; type State (line 14) | struct State { method default (line 20) | fn default() -> Self { function init (line 28) | pub fn init(cx: &mut App) { type SwitchTheme (line 101) | pub(crate) struct SwitchTheme(pub(crate) SharedString); type SwitchThemeMode (line 105) | pub(crate) struct SwitchThemeMode(pub(crate) ThemeMode); FILE: crates/story/src/title_bar.rs type AppTitleBar (line 19) | pub struct AppTitleBar { method new (line 27) | pub fn new( method child (line 43) | pub fn child(mut self, f: F) -> Self method render (line 54) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... type FontSizeSelector (line 99) | struct FontSizeSelector { method new (line 104) | pub fn new(_: &mut Window, cx: &mut Context) -> Self { method on_select_font (line 110) | fn on_select_font( method on_select_radius (line 120) | fn on_select_radius( method on_select_scrollbar_show (line 135) | fn on_select_scrollbar_show( method on_toggle_list_active_highlight (line 145) | fn on_toggle_list_active_highlight( method render (line 158) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/ui/build.rs function main (line 3) | fn main() { FILE: crates/ui/src/accordion.rs type Accordion (line 13) | pub struct Accordion { method new (line 25) | pub fn new(id: impl Into) -> Self { method multiple (line 38) | pub fn multiple(mut self, multiple: bool) -> Self { method bordered (line 44) | pub fn bordered(mut self, bordered: bool) -> Self { method disabled (line 50) | pub fn disabled(mut self, disabled: bool) -> Self { method item (line 56) | pub fn item(mut self, child: F) -> Self method on_toggle_click (line 68) | pub fn on_toggle_click( method with_size (line 78) | fn with_size(mut self, size: impl Into) -> Self { method render (line 85) | fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement { type AccordionItem (line 139) | pub struct AccordionItem { method new (line 153) | pub fn new() -> Self { method icon (line 168) | pub fn icon(mut self, icon: impl Into) -> Self { method title (line 174) | pub fn title(mut self, title: impl IntoElement) -> Self { method bordered (line 179) | pub fn bordered(mut self, bordered: bool) -> Self { method open (line 184) | pub fn open(mut self, open: bool) -> Self { method disabled (line 189) | pub fn disabled(mut self, disabled: bool) -> Self { method index (line 194) | fn index(mut self, index: usize) -> Self { method on_toggle_click (line 199) | fn on_toggle_click( method extend (line 209) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 215) | fn with_size(mut self, size: impl Into) -> Self { method render (line 222) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/actions.rs type Confirm (line 6) | pub struct Confirm { FILE: crates/ui/src/alert.rs type AlertVariant (line 16) | pub enum AlertVariant { method fg (line 26) | fn fg(&self, cx: &App) -> Hsla { method bg (line 36) | fn bg(&self, cx: &App) -> Hsla { method border_color (line 46) | fn border_color(&self, cx: &App) -> Hsla { type Alert (line 59) | pub struct Alert { method new (line 74) | pub fn new(id: impl Into, message: impl Into) -> Self { method info (line 90) | pub fn info(id: impl Into, message: impl Into) -> Self { method success (line 97) | pub fn success(id: impl Into, message: impl Into) -> ... method warning (line 104) | pub fn warning(id: impl Into, message: impl Into) -> ... method error (line 111) | pub fn error(id: impl Into, message: impl Into) -> Se... method with_variant (line 118) | pub fn with_variant(mut self, variant: AlertVariant) -> Self { method icon (line 124) | pub fn icon(mut self, icon: impl Into) -> Self { method title (line 130) | pub fn title(mut self, title: impl Into) -> Self { method banner (line 139) | pub fn banner(mut self) -> Self { method visible (line 145) | pub fn visible(mut self, visible: bool) -> Self { method on_close (line 151) | pub fn on_close( method with_size (line 161) | fn with_size(mut self, size: impl Into) -> Self { method style (line 168) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 174) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/anchored.rs type AnchoredState (line 13) | pub struct AnchoredState { type Anchored (line 19) | pub(crate) struct Anchored { method anchor (line 44) | pub fn anchor(mut self, anchor: Anchor) -> Self { method position (line 51) | pub fn position(mut self, anchor: Point) -> Self { method offset (line 58) | pub fn offset(mut self, offset: Point) -> Self { method position_mode (line 66) | pub fn position_mode(mut self, mode: AnchoredPositionMode) -> Self { method snap_to_window (line 72) | pub fn snap_to_window(mut self) -> Self { method snap_to_window_with_margin (line 78) | pub fn snap_to_window_with_margin(mut self, edges: impl Into Anchored { method extend (line 85) | fn extend(&mut self, elements: impl IntoIterator) { type RequestLayoutState (line 91) | type RequestLayoutState = AnchoredState; type PrepaintState (line 92) | type PrepaintState = (); method id (line 94) | fn id(&self) -> Option { method source_location (line 98) | fn source_location(&self) -> Option<&'static core::panic::Location<'stat... method request_layout (line 102) | fn request_layout( method prepaint (line 126) | fn prepaint( method paint (line 225) | fn paint( type Element (line 242) | type Element = Self; method into_element (line 244) | fn into_element(self) -> Self::Element { type AnchoredFitMode (line 252) | pub enum AnchoredFitMode { type AnchoredPositionMode (line 264) | pub enum AnchoredPositionMode { method get_position_and_bounds (line 272) | fn get_position_and_bounds( method from_corner_and_size (line 302) | fn from_corner_and_size( FILE: crates/ui/src/animation.rs function cubic_bezier (line 6) | pub fn cubic_bezier(x1: f32, y1: f32, x2: f32, y2: f32) -> impl Fn(f32) ... FILE: crates/ui/src/avatar/avatar.rs type Avatar (line 16) | pub struct Avatar { method new (line 27) | pub fn new() -> Self { method src (line 40) | pub fn src(mut self, source: impl Into) -> Self { method name (line 46) | pub fn name(mut self, name: impl Into) -> Self { method placeholder (line 56) | pub fn placeholder(mut self, icon: impl Into) -> Self { method with_size (line 63) | fn with_size(mut self, size: impl Into) -> Self { method style (line 70) | fn style(&mut self) -> &mut StyleRefinement { method interactivity (line 76) | fn interactivity(&mut self) -> &mut Interactivity { method render (line 82) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { function extract_text_initials (line 131) | fn extract_text_initials(text: &str) -> String { function test_avatar_text_initials (line 151) | fn test_avatar_text_initials() { function test_avatar_builder (line 158) | fn test_avatar_builder(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/avatar/avatar_group.rs type AvatarGroup (line 10) | pub struct AvatarGroup { method new (line 21) | pub fn new() -> Self { method child (line 33) | pub fn child(mut self, avatar: Avatar) -> Self { method children (line 39) | pub fn children(mut self, avatars: impl IntoIterator) -... method limit (line 45) | pub fn limit(mut self, limit: usize) -> Self { method ellipsis (line 51) | pub fn ellipsis(mut self) -> Self { method with_size (line 58) | fn with_size(mut self, size: impl Into) -> Self { method style (line 65) | fn style(&mut self) -> &mut StyleRefinement { method interactivity (line 71) | fn interactivity(&mut self) -> &mut Interactivity { method render (line 77) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl IntoEl... function test_avatar_group_builder (line 116) | fn test_avatar_group_builder(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/avatar/mod.rs function avatar_size (line 11) | pub(super) fn avatar_size(size: Size) -> Pixels { type AvatarSized (line 22) | pub(super) trait AvatarSized: IntoElement + Styled { method avatar_size (line 23) | fn avatar_size(self, size: Size) -> Self { method avatar_text_size (line 27) | fn avatar_text_size(self, size: Size) -> Self { FILE: crates/ui/src/badge.rs type BadgeVariant (line 9) | enum BadgeVariant { method is_icon (line 19) | fn is_icon(&self) -> bool { method is_number (line 24) | fn is_number(&self) -> bool { type Badge (line 31) | pub struct Badge { method new (line 43) | pub fn new() -> Self { method dot (line 56) | pub fn dot(mut self) -> Self { method count (line 64) | pub fn count(mut self, count: usize) -> Self { method icon (line 70) | pub fn icon(mut self, icon: impl Into) -> Self { method max (line 76) | pub fn max(mut self, max: usize) -> Self { method color (line 82) | pub fn color(mut self, color: impl Into) -> Self { method extend (line 89) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 95) | fn with_size(mut self, size: impl Into) -> Self { method render (line 102) | fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/breadcrumb.rs type Breadcrumb (line 13) | pub struct Breadcrumb { method new (line 114) | pub fn new() -> Self { method child (line 122) | pub fn child(mut self, item: impl Into) -> Self { method children (line 128) | pub fn children(mut self, items: impl IntoIterator) -> Self { method disabled (line 42) | pub fn disabled(mut self, disabled: bool) -> Self { method on_click (line 47) | pub fn on_click( method id (line 55) | fn id(mut self, id: impl Into) -> Self { method is_last (line 61) | fn is_last(mut self, is_last: bool) -> Self { method from (line 74) | fn from(value: &'static str) -> Self { method from (line 80) | fn from(value: String) -> Self { method from (line 86) | fn from(value: SharedString) -> Self { method style (line 68) | fn style(&mut self) -> &mut StyleRefinement { method render (line 92) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type BreadcrumbSeparator (line 135) | struct BreadcrumbSeparator; method render (line 137) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { method style (line 146) | fn style(&mut self) -> &mut StyleRefinement { method render (line 152) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/button/button.rs type ButtonRounded (line 15) | pub enum ButtonRounded { method from (line 25) | fn from(px: Pixels) -> Self { type ButtonCustomVariant (line 31) | pub struct ButtonCustomVariant { method new (line 94) | pub fn new(cx: &App) -> Self { method color (line 105) | pub fn color(mut self, color: Hsla) -> Self { method foreground (line 111) | pub fn foreground(mut self, color: Hsla) -> Self { method hover (line 117) | pub fn hover(mut self, color: Hsla) -> Self { method active (line 123) | pub fn active(mut self, color: Hsla) -> Self { method shadow (line 129) | pub fn shadow(mut self, shadow: bool) -> Self { type ButtonVariants (line 39) | pub trait ButtonVariants: Sized { method with_variant (line 40) | fn with_variant(self, variant: ButtonVariant) -> Self; method primary (line 43) | fn primary(self) -> Self { method secondary (line 48) | fn secondary(self) -> Self { method danger (line 53) | fn danger(self) -> Self { method warning (line 58) | fn warning(self) -> Self { method success (line 63) | fn success(self) -> Self { method info (line 68) | fn info(self) -> Self { method ghost (line 73) | fn ghost(self) -> Self { method link (line 78) | fn link(self) -> Self { method text (line 83) | fn text(self) -> Self { method custom (line 88) | fn custom(self, style: ButtonCustomVariant) -> Self { method with_variant (line 403) | fn with_variant(mut self, variant: ButtonVariant) -> Self { type ButtonVariant (line 137) | pub enum ButtonVariant { method is_link (line 154) | pub fn is_link(&self) -> bool { method is_text (line 159) | pub fn is_text(&self) -> bool { method is_ghost (line 164) | pub fn is_ghost(&self) -> bool { method no_padding (line 169) | fn no_padding(&self) -> bool { method is_default (line 174) | fn is_default(&self) -> bool { method bg_color (line 638) | fn bg_color(&self, outline: bool, cx: &mut App) -> Hsla { method text_color (line 656) | fn text_color(&self, outline: bool, cx: &mut App) -> Hsla { method border_color (line 677) | fn border_color(&self, _bg: Hsla, outline: bool, cx: &mut App) -> Hsla { method underline (line 721) | fn underline(&self, _: &App) -> bool { method shadow (line 728) | fn shadow(&self, outline: bool, _: &App) -> bool { method normal (line 737) | fn normal(&self, outline: bool, cx: &mut App) -> ButtonVariantStyle { method hovered (line 753) | fn hovered(&self, outline: bool, cx: &mut App) -> ButtonVariantStyle { method active (line 830) | fn active(&self, outline: bool, cx: &mut App) -> ButtonVariantStyle { method selected (line 876) | fn selected(&self, outline: bool, cx: &mut App) -> ButtonVariantStyle { method disabled (line 908) | fn disabled(&self, outline: bool, cx: &mut App) -> ButtonVariantStyle { type Button (line 181) | pub struct Button { method new (line 218) | pub fn new(id: impl Into) -> Self { method outline (line 251) | pub fn outline(mut self) -> Self { method rounded (line 257) | pub fn rounded(mut self, rounded: impl Into) -> Self { method border_corners (line 263) | pub(crate) fn border_corners(mut self, corners: impl Into>) ->... method label (line 275) | pub fn label(mut self, label: impl Into) -> Self { method icon (line 281) | pub fn icon(mut self, icon: impl Into) -> Self { method tooltip (line 287) | pub fn tooltip(mut self, tooltip: impl Into) -> Self { method tooltip_with_action (line 293) | pub fn tooltip_with_action( method loading (line 310) | pub fn loading(mut self, loading: bool) -> Self { method compact (line 316) | pub fn compact(mut self) -> Self { method on_click (line 322) | pub fn on_click( method on_hover (line 331) | pub fn on_hover(mut self, handler: impl Fn(&bool, &mut Window, &mut Ap... method loading_icon (line 339) | pub fn loading_icon(mut self, icon: impl Into) -> Self { method tab_index (line 347) | pub fn tab_index(mut self, tab_index: isize) -> Self { method tab_stop (line 355) | pub fn tab_stop(mut self, tab_stop: bool) -> Self { method dropdown_caret (line 361) | pub fn dropdown_caret(mut self, dropdown_caret: bool) -> Self { method clickable (line 367) | fn clickable(&self) -> bool { method hoverable (line 372) | fn hoverable(&self) -> bool { method from (line 212) | fn from(button: Button) -> Self { method disabled (line 378) | fn disabled(mut self, disabled: bool) -> Self { method selected (line 385) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 390) | fn is_selected(&self) -> bool { method with_size (line 396) | fn with_size(mut self, size: impl Into) -> Self { method style (line 410) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 416) | fn extend(&mut self, elements: impl IntoIterator) { method interactivity (line 422) | fn interactivity(&mut self) -> &mut Interactivity { method render (line 428) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type ButtonVariantStyle (line 629) | struct ButtonVariantStyle { function test_button_builder (line 952) | fn test_button_builder(_cx: &mut gpui::TestAppContext) { function test_button_clickable_logic (line 985) | fn test_button_clickable_logic(_cx: &mut gpui::TestAppContext) { function test_button_variant_methods (line 1000) | fn test_button_variant_methods(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/button/button_group.rs type ButtonGroup (line 15) | pub struct ButtonGroup { method new (line 41) | pub fn new(id: impl Into) -> Self { method child (line 58) | pub fn child(mut self, child: Button) -> Self { method children (line 64) | pub fn children(mut self, children: impl IntoIterator) ... method multiple (line 70) | pub fn multiple(mut self, multiple: bool) -> Self { method layout (line 76) | pub fn layout(mut self, layout: Axis) -> Self { method compact (line 84) | pub fn compact(mut self) -> Self { method outline (line 92) | pub fn outline(mut self) -> Self { method on_click (line 120) | pub fn on_click( method disabled (line 33) | fn disabled(mut self, disabled: bool) -> Self { method with_size (line 130) | fn with_size(mut self, size: impl Into) -> Self { method style (line 137) | fn style(&mut self) -> &mut gpui::StyleRefinement { method with_variant (line 143) | fn with_variant(mut self, variant: ButtonVariant) -> Self { method render (line 150) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { function test_button_group_builder (line 262) | fn test_button_group_builder(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/button/button_icon.rs type ButtonIcon (line 7) | pub struct ButtonIcon { method from (line 18) | fn from(icon: T) -> Self { method new (line 25) | pub fn new(icon: impl Into) -> Self { method loading_icon (line 34) | pub(crate) fn loading_icon(mut self, icon: Option) -> Self { method loading (line 39) | pub(crate) fn loading(mut self, loading: bool) -> Self { method with_size (line 46) | fn with_size(mut self, size: impl Into) -> Self { type ButtonIconVariant (line 55) | pub enum ButtonIconVariant { method from (line 65) | fn from(icon: T) -> Self { method from (line 71) | fn from(spinner: Spinner) -> Self { method from (line 77) | fn from(progress: ProgressCircle) -> Self { method is_spinner (line 85) | pub(crate) fn is_spinner(&self) -> bool { method is_progress (line 91) | pub(crate) fn is_progress(&self) -> bool { method with_size (line 97) | fn with_size(self, size: impl Into) -> Self { method render (line 107) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { method render (line 117) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { function test_button_icon_builder (line 139) | fn test_button_icon_builder(_cx: &mut gpui::TestAppContext) { function test_button_icon_variant_types (line 152) | fn test_button_icon_variant_types(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/button/dropdown_button.rs type DropdownButton (line 14) | pub struct DropdownButton { method new (line 34) | pub fn new(id: impl Into) -> Self { method button (line 53) | pub fn button(mut self, button: Button) -> Self { method dropdown_menu (line 59) | pub fn dropdown_menu( method dropdown_menu_with_anchor (line 68) | pub fn dropdown_menu_with_anchor( method rounded (line 79) | pub fn rounded(mut self, rounded: impl Into) -> Self { method compact (line 87) | pub fn compact(mut self) -> Self { method outline (line 95) | pub fn outline(mut self) -> Self { method loading (line 101) | pub fn loading(mut self, loading: bool) -> Self { method disabled (line 108) | fn disabled(mut self, disabled: bool) -> Self { method style (line 115) | fn style(&mut self) -> &mut gpui::StyleRefinement { method with_size (line 121) | fn with_size(mut self, size: impl Into) -> Self { method with_variant (line 128) | fn with_variant(mut self, variant: ButtonVariant) -> Self { method selected (line 135) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 140) | fn is_selected(&self) -> bool { method render (line 146) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { function test_dropdown_button_builder (line 213) | fn test_dropdown_button_builder(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/button/toggle.rs type ToggleVariant (line 13) | pub enum ToggleVariant { type ToggleVariants (line 19) | pub trait ToggleVariants: Sized { method with_variant (line 21) | fn with_variant(self, variant: ToggleVariant) -> Self; method ghost (line 23) | fn ghost(self) -> Self { method outline (line 27) | fn outline(self) -> Self { method with_variant (line 89) | fn with_variant(mut self, variant: ToggleVariant) -> Self { method with_variant (line 224) | fn with_variant(mut self, variant: ToggleVariant) -> Self { type Toggle (line 33) | pub struct Toggle { method new (line 46) | pub fn new(id: impl Into) -> Self { method label (line 60) | pub fn label(mut self, label: impl Into) -> Self { method icon (line 67) | pub fn icon(mut self, icon: impl Into) -> Self { method checked (line 74) | pub fn checked(mut self, checked: bool) -> Self { method on_click (line 82) | pub fn on_click(mut self, handler: impl Fn(&bool, &mut Window, &mut Ap... method extend (line 96) | fn extend(&mut self, elements: impl IntoIterator) { method disabled (line 102) | fn disabled(mut self, disabled: bool) -> Self { method with_size (line 109) | fn with_size(mut self, size: impl Into) -> Self { method style (line 116) | fn style(&mut self) -> &mut StyleRefinement { method render (line 122) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type ToggleGroup (line 168) | pub struct ToggleGroup { method new (line 180) | pub fn new(id: impl Into) -> Self { method child (line 193) | pub fn child(mut self, toggle: impl Into) -> Self { method children (line 199) | pub fn children(mut self, children: impl IntoIterator) -> Self { method disabled (line 231) | fn disabled(mut self, disabled: bool) -> Self { method style (line 238) | fn style(&mut self) -> &mut StyleRefinement { method render (line 244) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { function test_toggle_builder (line 288) | fn test_toggle_builder(_cx: &mut gpui::TestAppContext) { function test_toggle_group_builder (line 307) | fn test_toggle_group_builder(_cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/chart/area_chart.rs type AreaChart (line 19) | pub struct AreaChart function new (line 41) | pub fn new(data: I) -> Self function x (line 58) | pub fn x(mut self, x: impl Fn(&T) -> X + 'static) -> Self { function y (line 63) | pub fn y(mut self, y: impl Fn(&T) -> Y + 'static) -> Self { function stroke (line 68) | pub fn stroke(mut self, stroke: impl Into) -> Self { function fill (line 73) | pub fn fill(mut self, fill: impl Into) -> Self { function natural (line 78) | pub fn natural(mut self) -> Self { function linear (line 83) | pub fn linear(mut self) -> Self { function step_after (line 88) | pub fn step_after(mut self) -> Self { function tick_margin (line 93) | pub fn tick_margin(mut self, tick_margin: usize) -> Self { function x_axis (line 101) | pub fn x_axis(mut self, x_axis: bool) -> Self { function grid (line 106) | pub fn grid(mut self, grid: bool) -> Self { method paint (line 117) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/ui/src/chart/bar_chart.rs type BarChart (line 20) | pub struct BarChart function new (line 41) | pub fn new(data: I) -> Self function x (line 57) | pub fn x(mut self, x: impl Fn(&T) -> X + 'static) -> Self { function y (line 62) | pub fn y(mut self, y: impl Fn(&T) -> Y + 'static) -> Self { function fill (line 67) | pub fn fill(mut self, fill: impl Fn(&T) -> H + 'static) -> Self function tick_margin (line 75) | pub fn tick_margin(mut self, tick_margin: usize) -> Self { function label (line 80) | pub fn label(mut self, label: impl Fn(&T) -> S + 'static) -> Self function x_axis (line 91) | pub fn x_axis(mut self, x_axis: bool) -> Self { function grid (line 96) | pub fn grid(mut self, grid: bool) -> Self { method paint (line 107) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/ui/src/chart/candlestick_chart.rs type CandlestickChart (line 18) | pub struct CandlestickChart function new (line 41) | pub fn new(data: I) -> Self function x (line 59) | pub fn x(mut self, x: impl Fn(&T) -> X + 'static) -> Self { function open (line 64) | pub fn open(mut self, open: impl Fn(&T) -> Y + 'static) -> Self { function high (line 69) | pub fn high(mut self, high: impl Fn(&T) -> Y + 'static) -> Self { function low (line 74) | pub fn low(mut self, low: impl Fn(&T) -> Y + 'static) -> Self { function close (line 79) | pub fn close(mut self, close: impl Fn(&T) -> Y + 'static) -> Self { function tick_margin (line 84) | pub fn tick_margin(mut self, tick_margin: usize) -> Self { function body_width_ratio (line 89) | pub fn body_width_ratio(mut self, ratio: f32) -> Self { function x_axis (line 97) | pub fn x_axis(mut self, x_axis: bool) -> Self { function grid (line 102) | pub fn grid(mut self, grid: bool) -> Self { method paint (line 113) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/ui/src/chart/line_chart.rs type LineChart (line 19) | pub struct LineChart function new (line 41) | pub fn new(data: I) -> Self function x (line 58) | pub fn x(mut self, x: impl Fn(&T) -> X + 'static) -> Self { function y (line 63) | pub fn y(mut self, y: impl Fn(&T) -> Y + 'static) -> Self { function stroke (line 68) | pub fn stroke(mut self, stroke: impl Into) -> Self { function natural (line 73) | pub fn natural(mut self) -> Self { function linear (line 78) | pub fn linear(mut self) -> Self { function step_after (line 83) | pub fn step_after(mut self) -> Self { function dot (line 88) | pub fn dot(mut self) -> Self { function tick_margin (line 93) | pub fn tick_margin(mut self, tick_margin: usize) -> Self { function x_axis (line 101) | pub fn x_axis(mut self, x_axis: bool) -> Self { function grid (line 106) | pub fn grid(mut self, grid: bool) -> Self { method paint (line 117) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/ui/src/chart/mod.rs function build_point_x_labels (line 24) | pub(crate) fn build_point_x_labels( function build_band_x_labels (line 59) | pub(crate) fn build_band_x_labels( FILE: crates/ui/src/chart/pie_chart.rs type PieChart (line 16) | pub struct PieChart { function new (line 28) | pub fn new(data: I) -> Self function inner_radius (line 45) | pub fn inner_radius(mut self, inner_radius: f32) -> Self { function inner_radius_fn (line 51) | pub fn inner_radius_fn( function get_inner_radius (line 59) | fn get_inner_radius(&self, arc: &ArcData) -> f32 { function outer_radius (line 68) | pub fn outer_radius(mut self, outer_radius: f32) -> Self { function outer_radius_fn (line 74) | pub fn outer_radius_fn( function get_outer_radius (line 82) | fn get_outer_radius(&self, arc: &ArcData) -> f32 { function pad_angle (line 91) | pub fn pad_angle(mut self, pad_angle: f32) -> Self { function value (line 96) | pub fn value(mut self, value: impl Fn(&T) -> f32 + 'static) -> Self { function color (line 102) | pub fn color(mut self, color: impl Fn(&T) -> H + 'static) -> Self method paint (line 112) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &mu... FILE: crates/ui/src/checkbox.rs type Checkbox (line 15) | pub struct Checkbox { method new (line 31) | pub fn new(id: impl Into) -> Self { method label (line 48) | pub fn label(mut self, label: impl Into) -> Self { method checked (line 54) | pub fn checked(mut self, checked: bool) -> Self { method on_click (line 62) | pub fn on_click(mut self, handler: impl Fn(&bool, &mut Window, &mut Ap... method tab_stop (line 68) | pub fn tab_stop(mut self, tab_stop: bool) -> Self { method tab_index (line 74) | pub fn tab_index(mut self, tab_index: isize) -> Self { method handle_click (line 79) | fn handle_click( method interactivity (line 93) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method style (line 100) | fn style(&mut self) -> &mut gpui::StyleRefinement { method disabled (line 106) | fn disabled(mut self, disabled: bool) -> Self { method selected (line 113) | fn selected(self, selected: bool) -> Self { method is_selected (line 117) | fn is_selected(&self) -> bool { method extend (line 123) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 129) | fn with_size(mut self, size: impl Into) -> Self { function checkbox_check_icon (line 135) | pub(crate) fn checkbox_check_icon( method render (line 193) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/clipboard.rs type Clipboard (line 15) | pub struct Clipboard { method new (line 24) | pub fn new(id: impl Into) -> Self { method value (line 34) | pub fn value(mut self, value: impl Into) -> Self { method value_fn (line 42) | pub fn value_fn( method on_copied (line 51) | pub fn on_copied(mut self, handler: F) -> Self method render (line 61) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type ClipboardState (line 114) | struct ClipboardState { FILE: crates/ui/src/collapsible.rs type CollapsibleChild (line 7) | enum CollapsibleChild { method is_content (line 13) | fn is_content(&self) -> bool { type Collapsible (line 20) | pub struct Collapsible { method new (line 28) | pub fn new() -> Self { method open (line 37) | pub fn open(mut self, open: bool) -> Self { method content (line 45) | pub fn content(mut self, content: impl IntoElement) -> Self { method style (line 53) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 59) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 66) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/color_picker.rs constant CONTEXT (line 22) | const CONTEXT: &'static str = "ColorPicker"; function init (line 23) | pub(crate) fn init(cx: &mut App) { type ColorPickerEvent (line 33) | pub enum ColorPickerEvent { function color_palettes (line 37) | fn color_palettes() -> Vec> { type HslaSliders (line 66) | struct HslaSliders { method new (line 74) | fn new(cx: &mut App) -> Self { method read (line 107) | fn read(&self, cx: &App) -> Hsla { method update (line 116) | fn update(&self, new_color: Hsla, window: &mut Window, cx: &mut App) { type ColorPickerState (line 133) | pub struct ColorPickerState { method new (line 148) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method default_value (line 228) | pub fn default_value(mut self, value: impl Into) -> Self { method set_value (line 237) | pub fn set_value( method value (line 247) | pub fn value(&self) -> Option { method on_confirm (line 251) | fn on_confirm(&mut self, _: &Confirm, _: &mut Window, cx: &mut Context... method update_value (line 256) | fn update_value( method update_value_from_slider (line 279) | fn update_value_from_slider( method sync_sliders (line 295) | fn sync_sliders(&mut self, color: Option, window: &mut Window, c... method render (line 305) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... method focus_handle (line 311) | fn focus_handle(&self, _: &App) -> FocusHandle { type ColorPicker (line 318) | pub struct ColorPicker { method new (line 331) | pub fn new(state: &Entity) -> Self { method featured_colors (line 348) | pub fn featured_colors(mut self, colors: Vec) -> Self { method icon (line 357) | pub fn icon(mut self, icon: impl Into) -> Self { method label (line 365) | pub fn label(mut self, label: impl Into) -> Self { method anchor (line 373) | pub fn anchor(mut self, anchor: Corner) -> Self { method render_item (line 378) | fn render_item( method render_colors (line 418) | fn render_colors(&self, window: &mut Window, cx: &mut App) -> impl Int... method render_palette_panel (line 478) | fn render_palette_panel(&self, window: &mut Window, cx: &mut App) -> i... method render_slider_tab_panel (line 518) | fn render_slider_tab_panel(&self, slider_color: Hsla, cx: &mut App) ->... method render_slider_track (line 684) | fn render_slider_track(&self, colors: Vec, _: &App) -> impl Into... method render_slider_track_gradient (line 698) | fn render_slider_track_gradient(&self, start: Hsla, end: Hsla, _: &App... method with_size (line 714) | fn with_size(mut self, size: impl Into) -> Self { method focus_handle (line 721) | fn focus_handle(&self, cx: &App) -> FocusHandle { method style (line 727) | fn style(&mut self) -> &mut StyleRefinement { method render (line 733) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type ColorPickerButton (line 778) | struct ColorPickerButton { method selected (line 789) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 794) | fn is_selected(&self) -> bool { method with_size (line 800) | fn with_size(mut self, size: impl Into) -> Self { method render (line 807) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/description_list.rs type DescriptionList (line 10) | pub struct DescriptionList { method new (line 126) | pub fn new() -> Self { method vertical (line 138) | pub fn vertical() -> Self { method horizontal (line 143) | pub fn horizontal() -> Self { method label_width (line 150) | pub fn label_width(mut self, label_width: impl Into) -... method layout (line 156) | pub fn layout(mut self, layout: Axis) -> Self { method bordered (line 164) | pub fn bordered(mut self, bordered: bool) -> Self { method columns (line 172) | pub fn columns(mut self, columns: usize) -> Self { method item (line 178) | pub fn item( method child (line 193) | pub fn child(mut self, child: impl Into) -> Self { method children (line 199) | pub fn children( method divider (line 209) | pub fn divider(mut self) -> Self { method group_item_rows (line 214) | fn group_item_rows(items: Vec, columns: usize) -> Vec... type DescriptionItem (line 20) | pub enum DescriptionItem { method new (line 81) | pub fn new(label: impl Into) -> Self { method value (line 90) | pub fn value(mut self, value: impl Into) -> Self { method span (line 101) | pub fn span(mut self, span: usize) -> Self { method _label (line 109) | fn _label(&self) -> Option<&DescriptionText> { method _span (line 116) | fn _span(&self) -> Option { type DescriptionText (line 31) | pub enum DescriptionText { method from (line 38) | fn from(text: &str) -> Self { method from (line 44) | fn from(text: Text) -> Self { method from (line 50) | fn from(element: AnyElement) -> Self { method from (line 56) | fn from(text: SharedString) -> Self { method from (line 62) | fn from(text: String) -> Self { method render (line 68) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { method with_size (line 244) | fn with_size(mut self, size: impl Into) -> Self { method render (line 251) | fn render(self, _: &mut Window, cx: &mut gpui::App) -> impl gpui::IntoEl... function test_group_item_rows (line 366) | fn test_group_item_rows() { FILE: crates/ui/src/dialog/alert_dialog.rs type AlertDialog (line 63) | pub struct AlertDialog { method new (line 79) | pub fn new(cx: &mut App) -> Self { method confirm (line 94) | pub fn confirm(mut self) -> Self { method trigger (line 107) | pub fn trigger(mut self, trigger: impl IntoElement) -> Self { method content (line 130) | pub fn content(mut self, builder: F) -> Self method footer (line 144) | pub fn footer(mut self, footer: impl IntoElement) -> Self { method debug_assert_no_trigger (line 150) | fn debug_assert_no_trigger(&self) { method icon (line 159) | pub fn icon(mut self, icon: impl IntoElement) -> Self { method title (line 167) | pub fn title(mut self, title: impl IntoElement) -> Self { method description (line 175) | pub fn description(mut self, description: impl IntoElement) -> Self { method button_props (line 197) | pub fn button_props(mut self, button_props: DialogButtonProps) -> Self { method width (line 204) | pub fn width(mut self, width: impl Into) -> Self { method show_cancel (line 210) | pub fn show_cancel(mut self, show_cancel: bool) -> Self { method overlay_closable (line 218) | pub fn overlay_closable(mut self, overlay_closable: bool) -> Self { method close_button (line 224) | pub fn close_button(mut self, close_button: bool) -> Self { method keyboard (line 230) | pub fn keyboard(mut self, keyboard: bool) -> Self { method on_close (line 238) | pub fn on_close( method on_ok (line 249) | pub fn on_ok( method on_cancel (line 260) | pub fn on_cancel( method into_dialog (line 269) | pub(crate) fn into_dialog(self, window: &mut Window, cx: &mut App) -> ... method render_trigger (line 315) | fn render_trigger(self, trigger: AnyElement, _: &mut Window, _: &mut A... method style (line 303) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 309) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 346) | fn render(mut self, window: &mut Window, cx: &mut App) -> impl IntoEleme... FILE: crates/ui/src/dialog/content.rs type DialogContent (line 9) | pub struct DialogContent { method new (line 15) | pub fn new() -> Self { method extend (line 21) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 27) | fn style(&mut self) -> &mut StyleRefinement { method render (line 33) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/dialog/description.rs type DialogDescription (line 18) | pub struct DialogDescription { method new (line 24) | pub fn new() -> Self { method extend (line 30) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 36) | fn style(&mut self) -> &mut StyleRefinement { method render (line 42) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/dialog/dialog.rs constant CONTEXT (line 22) | const CONTEXT: &str = "Dialog"; function init (line 26) | pub(crate) fn init(cx: &mut App) { type DialogButtonProps (line 35) | pub struct DialogButtonProps { method ok_text (line 63) | pub fn ok_text(mut self, ok_text: impl Into) -> Self { method ok_variant (line 69) | pub fn ok_variant(mut self, ok_variant: ButtonVariant) -> Self { method cancel_text (line 75) | pub fn cancel_text(mut self, cancel_text: impl Into) -> ... method cancel_variant (line 81) | pub fn cancel_variant(mut self, cancel_variant: ButtonVariant) -> Self { method show_cancel (line 87) | pub fn show_cancel(mut self, show_cancel: bool) -> Self { method on_ok (line 95) | pub fn on_ok( method on_cancel (line 106) | pub fn on_cancel( method render_ok (line 114) | pub(crate) fn render_ok(&self, _: &mut Window, _: &mut App) -> AnyElem... method render_cancel (line 141) | pub(crate) fn render_cancel(&self, _: &mut Window, _: &mut App) -> Any... method default (line 47) | fn default() -> Self { type ContentBuilderFn (line 169) | type ContentBuilderFn = Rc Self { type Dialog (line 201) | pub struct Dialog { method new (line 228) | pub fn new(cx: &mut App) -> Self { method trigger (line 247) | pub fn trigger(mut self, trigger: impl IntoElement) -> Self { method content (line 253) | pub fn content(mut self, builder: F) -> Self method title (line 262) | pub fn title(mut self, title: impl IntoElement) -> Self { method header (line 270) | pub(crate) fn header(mut self, header: impl IntoElement) -> Self { method footer (line 278) | pub fn footer(mut self, footer: impl IntoElement) -> Self { method button_props (line 284) | pub fn button_props(mut self, button_props: DialogButtonProps) -> Self { method on_close (line 292) | pub fn on_close( method on_ok (line 303) | pub fn on_ok( method on_cancel (line 314) | pub fn on_cancel( method close_button (line 323) | pub fn close_button(mut self, close_button: bool) -> Self { method margin_top (line 329) | pub fn margin_top(mut self, margin_top: impl Into) -> Self { method w (line 337) | pub fn w(mut self, width: impl Into) -> Self { method width (line 343) | pub fn width(mut self, width: impl Into) -> Self { method max_w (line 349) | pub fn max_w(mut self, max_width: impl Into) -> Self { method overlay (line 355) | pub fn overlay(mut self, overlay: bool) -> Self { method overlay_closable (line 363) | pub fn overlay_closable(mut self, overlay_closable: bool) -> Self { method keyboard (line 369) | pub fn keyboard(mut self, keyboard: bool) -> Self { method has_overlay (line 374) | pub(crate) fn has_overlay(&self) -> bool { method with_props (line 378) | pub(crate) fn with_props(mut self, props: DialogProps) -> Self { method defer_close_dialog (line 383) | fn defer_close_dialog(window: &mut Window, cx: &mut App) { method render_trigger (line 403) | fn render_trigger(self, trigger: AnyElement, _: &mut Window, _: &mut A... function overlay_color (line 218) | pub(crate) fn overlay_color(overlay: bool, cx: &App) -> Hsla { method extend (line 391) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 397) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 439) | fn render(mut self, window: &mut Window, cx: &mut App) -> impl IntoEleme... FILE: crates/ui/src/dialog/footer.rs type DialogFooter (line 22) | pub struct DialogFooter { method new (line 28) | pub fn new() -> Self { method extend (line 34) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 40) | fn style(&mut self) -> &mut StyleRefinement { method render (line 46) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type DialogFooterButton (line 57) | pub trait DialogFooterButton { method is_cancel (line 58) | fn is_cancel(&self) -> bool { method is_action (line 62) | fn is_action(&self) -> bool { type DialogClose (line 68) | pub struct DialogClose { method new (line 73) | pub fn new() -> Self { method extend (line 79) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 85) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type DialogAction (line 95) | pub struct DialogAction { method new (line 100) | pub fn new() -> Self { method extend (line 106) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 112) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/dialog/header.rs type DialogHeader (line 17) | pub struct DialogHeader { method new (line 23) | pub fn new() -> Self { method extend (line 29) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 35) | fn style(&mut self) -> &mut StyleRefinement { method render (line 41) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/dialog/title.rs type DialogTitle (line 10) | pub struct DialogTitle { method new (line 16) | pub fn new() -> Self { method extend (line 25) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 31) | fn style(&mut self) -> &mut StyleRefinement { method render (line 37) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/divider.rs type DividerStyle (line 9) | pub enum DividerStyle { type Divider (line 17) | pub struct Divider { method vertical (line 28) | pub fn vertical() -> Self { method horizontal (line 40) | pub fn horizontal() -> Self { method vertical_dashed (line 52) | pub fn vertical_dashed() -> Self { method horizontal_dashed (line 57) | pub fn horizontal_dashed() -> Self { method label (line 62) | pub fn label(mut self, label: impl Into) -> Self { method color (line 68) | pub fn color(mut self, color: impl Into) -> Self { method dashed (line 74) | pub fn dashed(mut self) -> Self { method render_base (line 79) | fn render_base(axis: Axis) -> Div { method render_solid (line 86) | fn render_solid(axis: Axis, color: Hsla) -> impl IntoElement { method render_dashed (line 90) | fn render_dashed(axis: Axis, color: Hsla) -> impl IntoElement { method style (line 121) | fn style(&mut self) -> &mut StyleRefinement { method render (line 127) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/dock/dock.rs type ResizePanel (line 20) | struct ResizePanel; method render (line 23) | fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> i... type DockPlacement (line 29) | pub enum DockPlacement { method axis (line 41) | fn axis(&self) -> Axis { method is_left (line 49) | pub fn is_left(&self) -> bool { method is_bottom (line 53) | pub fn is_bottom(&self) -> bool { method is_right (line 57) | pub fn is_right(&self) -> bool { type Dock (line 65) | pub struct Dock { method new (line 81) | pub(crate) fn new( method left (line 113) | pub fn left( method bottom (line 121) | pub fn bottom( method right (line 129) | pub fn right( method set_collapsible (line 140) | pub fn set_collapsible(&mut self, collapsible: bool, _: &mut Window, c... method from_state (line 148) | pub(super) fn from_state( method subscribe_panel_events (line 186) | fn subscribe_panel_events( method set_panel (line 232) | pub fn set_panel(&mut self, panel: DockItem, _: &mut Window, cx: &mut ... method panel (line 237) | pub fn panel(&self) -> &DockItem { method is_open (line 241) | pub fn is_open(&self) -> bool { method toggle_open (line 245) | pub fn toggle_open(&mut self, window: &mut Window, cx: &mut Context Pixels { method set_size (line 257) | pub fn set_size(&mut self, size: Pixels, _: &mut Window, cx: &mut Cont... method set_open (line 263) | pub fn set_open(&mut self, open: bool, window: &mut Window, cx: &mut C... method add_panel (line 273) | pub fn add_panel( method remove_panel (line 285) | pub fn remove_panel( method render_resize_handle (line 295) | fn render_resize_handle(&mut self, _: &mut Window, cx: &mut Context, _: &mut Window, cx... method done_resizing (line 368) | fn done_resizing(&mut self, _window: &mut Window, _cx: &mut Context) -> imp... type DockElement (line 407) | struct DockElement { type Element (line 412) | type Element = Self; method into_element (line 414) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 420) | type RequestLayoutState = (); type PrepaintState (line 421) | type PrepaintState = (); method id (line 423) | fn id(&self) -> Option { method source_location (line 427) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 431) | fn request_layout( method prepaint (line 441) | fn prepaint( method paint (line 453) | fn paint( FILE: crates/ui/src/dock/invalid_panel.rs type InvalidPanel (line 10) | pub(crate) struct InvalidPanel { method new (line 17) | pub(crate) fn new(name: &str, state: PanelState, _: &mut Window, cx: &... method panel_name (line 26) | fn panel_name(&self) -> &'static str { method dump (line 30) | fn dump(&self, _cx: &App) -> super::PanelState { method focus_handle (line 36) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 41) | fn render( FILE: crates/ui/src/dock/mod.rs function init (line 26) | pub(crate) fn init(cx: &mut App) { type DockEvent (line 32) | pub enum DockEvent { type DockArea (line 44) | pub struct DockArea { method new (line 520) | pub fn new( method bounds (line 558) | pub fn bounds(&self) -> Bounds { method subscribe_tiles_item_drop (line 563) | fn subscribe_tiles_item_drop( method panel_style (line 577) | pub fn panel_style(mut self, style: PanelStyle) -> Self { method set_version (line 583) | pub fn set_version(&mut self, version: usize, _: &mut Window, cx: &mut... method center (line 589) | pub fn center(&self) -> &DockItem { method left_dock (line 594) | pub fn left_dock(&self) -> Option<&Entity> { method bottom_dock (line 599) | pub fn bottom_dock(&self) -> Option<&Entity> { method right_dock (line 604) | pub fn right_dock(&self) -> Option<&Entity> { method remove_left_dock (line 609) | pub fn remove_left_dock(&mut self, _: &mut Window, _: &mut Context bool { method has_dock (line 711) | pub fn has_dock(&self, placement: DockPlacement) -> bool { method is_dock_open (line 721) | pub fn is_dock_open(&self, placement: DockPlacement, cx: &App) -> bool { method set_dock_collapsible (line 745) | pub fn set_dock_collapsible( method is_dock_collapsible (line 771) | pub fn is_dock_collapsible(&self, placement: DockPlacement, cx: &App) ... method toggle_dock (line 793) | pub fn toggle_dock( method set_toggle_button_visible (line 814) | pub fn set_toggle_button_visible(&mut self, visible: bool, _: &mut Con... method add_panel (line 819) | pub fn add_panel( method remove_panel (line 876) | pub fn remove_panel( method remove_panel_from_all_docks (line 913) | pub fn remove_panel_from_all_docks( method load (line 928) | pub fn load( method dump (line 957) | pub fn dump(&self, cx: &App) -> DockAreaState { method subscribe_item (line 985) | fn subscribe_item(&mut self, item: &DockItem, window: &mut Window, cx:... method subscribe_panel (line 1022) | pub(crate) fn subscribe_panel( method id (line 1066) | pub fn id(&self) -> SharedString { method set_zoomed_in (line 1070) | pub fn set_zoomed_in( method set_zoomed_out (line 1080) | pub fn set_zoomed_out(&mut self, _: &mut Window, cx: &mut Context) ... method update_toggle_button_tab_panels (line 1094) | pub fn update_toggle_button_tab_panels(&mut self, _: &mut Window, cx: ... type DockItem (line 78) | pub enum DockItem { method fmt (line 113) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method get_size (line 138) | fn get_size(&self) -> Option { method size (line 148) | pub fn size(mut self, new_size: impl Into) -> Self { method active_index (line 160) | pub fn active_index(mut self, new_active_ix: usize, cx: &mut App) -> S... method split (line 181) | pub fn split( method v_split (line 193) | pub fn v_split( method h_split (line 203) | pub fn h_split( method split_with_sizes (line 216) | pub fn split_with_sizes( method panel (line 262) | pub fn panel(panel: Arc) -> Self { method tiles (line 272) | pub fn tiles( method tabs (line 326) | pub fn tabs( method tab (line 339) | pub fn tab( method new_tabs (line 348) | fn new_tabs( method view (line 374) | pub fn view(&self) -> Arc { method find_panel (line 384) | pub fn find_panel(&self, panel: Arc) -> Option, window: &mut Win... method set_collapsed (line 480) | pub fn set_collapsed(&self, collapsed: bool, window: &mut Window, cx: ... method left_top_tab_panel (line 499) | pub(crate) fn left_top_tab_panel(&self, cx: &App) -> Option Option) -> imp... FILE: crates/ui/src/dock/panel.rs type PanelEvent (line 11) | pub enum PanelEvent { type PanelStyle (line 18) | pub enum PanelStyle { type TitleStyle (line 27) | pub struct TitleStyle { type PanelControl (line 33) | pub enum PanelControl { method toolbar_visible (line 42) | pub fn toolbar_visible(&self) -> bool { method menu_visible (line 47) | pub fn menu_visible(&self) -> bool { type Panel (line 54) | pub trait Panel: EventEmitter + Render + Focusable { method panel_name (line 59) | fn panel_name(&self) -> &'static str; method tab_name (line 64) | fn tab_name(&self, cx: &App) -> Option { method title (line 69) | fn title(&mut self, window: &mut Window, cx: &mut Context) -> im... method title_style (line 74) | fn title_style(&self, cx: &App) -> Option { method title_suffix (line 81) | fn title_suffix( method closable (line 92) | fn closable(&self, cx: &App) -> bool { method zoomable (line 99) | fn zoomable(&self, cx: &App) -> Option { method visible (line 106) | fn visible(&self, cx: &App) -> bool { method set_active (line 115) | fn set_active(&mut self, active: bool, window: &mut Window, cx: &mut C... method set_zoomed (line 122) | fn set_zoomed(&mut self, zoomed: bool, window: &mut Window, cx: &mut C... method on_added_to (line 125) | fn on_added_to( method on_removed (line 134) | fn on_removed(&mut self, window: &mut Window, cx: &mut Context) {} method dropdown_menu (line 137) | fn dropdown_menu( method toolbar_buttons (line 147) | fn toolbar_buttons( method dump (line 156) | fn dump(&self, cx: &App) -> PanelState { method inner_padding (line 161) | fn inner_padding(&self, cx: &App) -> bool { type PanelView (line 168) | pub trait PanelView: 'static + Send + Sync { method panel_name (line 169) | fn panel_name(&self, cx: &App) -> &'static str; method panel_id (line 170) | fn panel_id(&self, cx: &App) -> EntityId; method tab_name (line 171) | fn tab_name(&self, cx: &App) -> Option; method title (line 172) | fn title(&self, window: &mut Window, cx: &mut App) -> AnyElement; method title_suffix (line 173) | fn title_suffix(&self, window: &mut Window, cx: &mut App) -> Option Option; method closable (line 175) | fn closable(&self, cx: &App) -> bool; method zoomable (line 176) | fn zoomable(&self, cx: &App) -> Option; method visible (line 177) | fn visible(&self, cx: &App) -> bool; method set_active (line 178) | fn set_active(&self, active: bool, window: &mut Window, cx: &mut App); method set_zoomed (line 179) | fn set_zoomed(&self, zoomed: bool, window: &mut Window, cx: &mut App); method on_added_to (line 180) | fn on_added_to(&self, tab_panel: WeakEntity, window: &mut Wi... method on_removed (line 181) | fn on_removed(&self, window: &mut Window, cx: &mut App); method dropdown_menu (line 182) | fn dropdown_menu(&self, menu: PopupMenu, window: &mut Window, cx: &mut... method toolbar_buttons (line 183) | fn toolbar_buttons(&self, window: &mut Window, cx: &mut App) -> Option... method view (line 184) | fn view(&self) -> AnyView; method focus_handle (line 185) | fn focus_handle(&self, cx: &App) -> FocusHandle; method dump (line 186) | fn dump(&self, cx: &App) -> PanelState; method inner_padding (line 187) | fn inner_padding(&self, cx: &App) -> bool; method panel_name (line 191) | fn panel_name(&self, cx: &App) -> &'static str { method panel_id (line 195) | fn panel_id(&self, _: &App) -> EntityId { method tab_name (line 199) | fn tab_name(&self, cx: &App) -> Option { method title (line 203) | fn title(&self, window: &mut Window, cx: &mut App) -> AnyElement { method title_suffix (line 207) | fn title_suffix(&self, window: &mut Window, cx: &mut App) -> Option Option { method closable (line 218) | fn closable(&self, cx: &App) -> bool { method zoomable (line 222) | fn zoomable(&self, cx: &App) -> Option { method visible (line 226) | fn visible(&self, cx: &App) -> bool { method set_active (line 230) | fn set_active(&self, active: bool, window: &mut Window, cx: &mut App) { method set_zoomed (line 236) | fn set_zoomed(&self, zoomed: bool, window: &mut Window, cx: &mut App) { method on_added_to (line 242) | fn on_added_to(&self, tab_panel: WeakEntity, window: &mut Wi... method on_removed (line 246) | fn on_removed(&self, window: &mut Window, cx: &mut App) { method dropdown_menu (line 250) | fn dropdown_menu(&self, menu: PopupMenu, window: &mut Window, cx: &mut... method toolbar_buttons (line 254) | fn toolbar_buttons(&self, window: &mut Window, cx: &mut App) -> Option... method view (line 258) | fn view(&self) -> AnyView { method focus_handle (line 262) | fn focus_handle(&self, cx: &App) -> FocusHandle { method dump (line 266) | fn dump(&self, cx: &App) -> PanelState { method inner_padding (line 270) | fn inner_padding(&self, cx: &App) -> bool { method from (line 276) | fn from(handle: &dyn PanelView) -> Self { function from (line 282) | fn from(value: &dyn PanelView) -> Self { method eq (line 288) | fn eq(&self, other: &Self) -> bool { type PanelRegistry (line 293) | pub struct PanelRegistry { method init (line 309) | pub(crate) fn init(cx: &mut App) { method new (line 315) | pub fn new() -> Self { method global (line 321) | pub fn global(cx: &App) -> &Self { method global_mut (line 325) | pub fn global_mut(cx: &mut App) -> &mut Self { method build_panel (line 332) | pub fn build_panel( function register_panel (line 356) | pub fn register_panel(cx: &mut App, panel_name: &str, deserialize: F) FILE: crates/ui/src/dock/stack_panel.rs type StackPanel (line 21) | pub struct StackPanel { method new (line 57) | pub fn new(axis: Axis, _: &mut Window, cx: &mut Context) -> Self { method is_root (line 78) | fn is_root(&self) -> bool { method is_last_panel (line 83) | pub(super) fn is_last_panel(&self, cx: &App) -> bool { method panels_len (line 97) | pub(super) fn panels_len(&self) -> usize { method index_of_panel (line 102) | pub(crate) fn index_of_panel(&self, panel: Arc) -> Opti... method assert_panel_is_valid (line 106) | fn assert_panel_is_valid(&self, panel: &Arc) { method add_panel (line 119) | pub fn add_panel( method add_panel_at (line 133) | pub fn add_panel_at( method insert_panel_at (line 157) | pub fn insert_panel_at( method insert_panel_before (line 180) | pub fn insert_panel_before( method insert_panel_after (line 195) | pub fn insert_panel_after( method insert_panel (line 207) | fn insert_panel( method remove_panel (line 274) | pub fn remove_panel( method replace_panel (line 294) | pub(super) fn replace_panel( method remove_self_if_empty (line 313) | pub(crate) fn remove_self_if_empty(&mut self, window: &mut Window, cx:... method left_top_tab_panel (line 334) | pub(super) fn left_top_tab_panel( method right_top_tab_panel (line 362) | pub(super) fn right_top_tab_panel( method remove_all_panels (line 395) | pub(super) fn remove_all_panels(&mut self, _: &mut Window, cx: &mut Co... method set_axis (line 404) | pub(super) fn set_axis(&mut self, axis: Axis, _: &mut Window, cx: &mut... method panel_name (line 31) | fn panel_name(&self) -> &'static str { method title (line 35) | fn title(&mut self, _window: &mut Window, _cx: &mut Context) -> im... method set_active (line 39) | fn set_active(&mut self, active: bool, window: &mut Window, cx: &mut Con... method dump (line 44) | fn dump(&self, cx: &App) -> PanelState { method focus_handle (line 411) | fn focus_handle(&self, _cx: &App) -> FocusHandle { method render (line 418) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/ui/src/dock/state.rs type DockAreaState (line 9) | pub struct DockAreaState { type DockState (line 26) | pub struct DockState { method new (line 34) | pub fn new(dock: Entity, cx: &App) -> Self { method to_dock (line 46) | pub fn to_dock( type PanelState (line 69) | pub struct PanelState { method new (line 163) | pub fn new(panel: &P) -> Self { method add_child (line 167) | pub fn add_child(&mut self, panel: PanelState) { method to_item (line 171) | pub fn to_item( type TileMeta (line 76) | pub struct TileMeta { method from (line 91) | fn from(bounds: Bounds) -> Self { method default (line 82) | fn default() -> Self { type PanelInfo (line 97) | pub enum PanelInfo { method stack (line 112) | pub fn stack(sizes: Vec, axis: Axis) -> Self { method tabs (line 116) | pub fn tabs(active_index: usize) -> Self { method panel (line 120) | pub fn panel(info: serde_json::Value) -> Self { method tiles (line 124) | pub fn tiles(metas: Vec) -> Self { method axis (line 128) | pub fn axis(&self) -> Option { method sizes (line 137) | pub fn sizes(&self) -> Option<&Vec> { method active_index (line 144) | pub fn active_index(&self) -> Option { method default (line 153) | fn default() -> Self { function test_deserialize_item_state (line 231) | fn test_deserialize_item_state() { FILE: crates/ui/src/dock/tab_panel.rs type TabState (line 27) | struct TabState { type DragPanel (line 36) | pub(crate) struct DragPanel { method new (line 42) | pub(crate) fn new(panel: Arc, tab_panel: Entity) -> imp... type TabPanel (line 67) | pub struct TabPanel { method new (line 162) | pub fn new( method set_in_tiles (line 184) | pub(super) fn set_in_tiles(&mut self, in_tiles: bool) { method set_parent (line 188) | pub(super) fn set_parent(&mut self, view: WeakEntity) { method active_panel (line 193) | pub fn active_panel(&self, cx: &App) -> Option> { method active_ix (line 208) | pub fn active_ix(&self) -> usize { method set_active_ix (line 212) | fn set_active_ix(&mut self, ix: usize, window: &mut Window, cx: &mut C... method add_panel (line 243) | pub fn add_panel( method add_panel_with_active (line 252) | fn add_panel_with_active( method add_panel_at (line 284) | pub fn add_panel_at( method insert_panel_at (line 307) | fn insert_panel_at( method remove_panel (line 330) | pub fn remove_panel( method detach_panel (line 342) | fn detach_panel( method remove_self_if_empty (line 357) | fn remove_self_if_empty(&self, window: &mut Window, cx: &mut Context bool { method is_last_panel (line 400) | fn is_last_panel(&self, cx: &App) -> bool { method visible_panels (line 413) | fn visible_panels<'a>(&'a self, cx: &'a App) -> impl Iterator bool { method droppable (line 433) | fn droppable(&self, cx: &App) -> bool { method render_toolbar (line 437) | fn render_toolbar( method render_dock_toggle_button (line 521) | fn render_dock_toggle_button( method render_title_bar (line 607) | fn render_title_bar( method render_active_panel (line 831) | fn render_active_panel( method on_panel_drag_move (line 897) | fn on_panel_drag_move( method on_drop (line 925) | fn on_drop( method split_panel (line 976) | fn split_panel( method focus_active_panel (line 1094) | fn focus_active_panel(&self, window: &mut Window, cx: &mut Context) -> Div { method panel_name (line 90) | fn panel_name(&self) -> &'static str { method title (line 94) | fn title(&mut self, window: &mut Window, cx: &mut Context) -> impl... method closable (line 100) | fn closable(&self, cx: &App) -> bool { method zoomable (line 116) | fn zoomable(&self, cx: &App) -> Option { method visible (line 120) | fn visible(&self, cx: &App) -> bool { method dropdown_menu (line 124) | fn dropdown_menu( method toolbar_buttons (line 137) | fn toolbar_buttons( method dump (line 146) | fn dump(&self, cx: &App) -> PanelState { method inner_padding (line 155) | fn inner_padding(&self, cx: &App) -> bool { method focus_handle (line 1168) | fn focus_handle(&self, cx: &App) -> gpui::FocusHandle { method render (line 1179) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/dock/tiles.rs constant MINIMUM_SIZE (line 27) | const MINIMUM_SIZE: Size = size(px(100.), px(100.)); constant DRAG_BAR_HEIGHT (line 28) | const DRAG_BAR_HEIGHT: Pixels = px(30.); constant HANDLE_SIZE (line 29) | const HANDLE_SIZE: Pixels = px(5.0); type TileChange (line 32) | struct TileChange { method version (line 42) | fn version(&self) -> usize { method set_version (line 46) | fn set_version(&mut self, version: usize) { type DragMoving (line 52) | pub struct DragMoving(EntityId); method render (line 54) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type ResizeSide (line 60) | enum ResizeSide { type DragResizing (line 69) | pub struct DragResizing(EntityId); method render (line 72) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type ResizeDrag (line 78) | struct ResizeDrag { type TileItem (line 86) | pub struct TileItem { method new (line 103) | pub fn new(panel: Arc, bounds: Bounds) -> Self { method z_index (line 112) | pub fn z_index(mut self, z_index: usize) -> Self { method fmt (line 94) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type AnyDrag (line 119) | pub struct AnyDrag { method new (line 124) | pub fn new(value: impl Any) -> Self { type Tiles (line 132) | pub struct Tiles { method new (line 185) | pub fn new(_: &mut Window, cx: &mut Context) -> Self { method set_scrollbar_show (line 202) | pub fn set_scrollbar_show( method panels (line 211) | pub fn panels(&self) -> &[TileItem] { method sorted_panels (line 215) | fn sorted_panels(&self) -> Vec { method index_of (line 223) | pub(crate) fn index_of(&self, id: &EntityId) -> Option { method panel (line 228) | pub(crate) fn panel(&self, id: &EntityId) -> Option<&TileItem> { method remove (line 233) | pub fn remove(&mut self, panel: Arc, _: &mut Window, cx... method calculate_magnetic_snap (line 242) | fn calculate_magnetic_snap( method apply_boundary_constraints (line 362) | fn apply_boundary_constraints(&self, mut origin: Point) -> Poi... method update_position (line 377) | fn update_position(&mut self, mouse_position: Point, cx: &mut ... method resize (line 433) | fn resize( method add_item (line 499) | pub fn add_item( method reset_current_index (line 534) | fn reset_current_index(&mut self) { method bring_to_front (line 540) | fn bring_to_front( method undo (line 570) | pub fn undo(&mut self, _: &mut Window, cx: &mut Context) { method redo (line 597) | pub fn redo(&mut self, _: &mut Window, cx: &mut Context) { method active_panel (line 624) | pub fn active_panel(&self, cx: &App) -> Option> { method render_resize_handles (line 637) | fn render_resize_handles( method on_resize_handle_mouse_down (line 954) | fn on_resize_handle_mouse_down( method render_drag_bar (line 978) | fn render_drag_bar( method render_panel (line 1026) | fn render_panel( method on_mouse_up (line 1070) | fn on_mouse_up(&mut self, _: &mut Window, cx: &mut Context<'_, Tiles>) { method panel_name (line 147) | fn panel_name(&self) -> &'static str { method title (line 151) | fn title(&mut self, _window: &mut Window, _cx: &mut Context) -> im... method dump (line 155) | fn dump(&self, cx: &App) -> PanelState { type DragDrop (line 180) | pub struct DragDrop(pub AnyDrag); function round_to_nearest_ten (line 1141) | fn round_to_nearest_ten(value: Pixels, cx: &App) -> Pixels { function round_point_to_nearest_ten (line 1146) | fn round_point_to_nearest_ten(point: Point, cx: &App) -> Point FocusHandle { method render (line 1161) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/element_ext.rs type ChildElementOptions (line 8) | struct ChildElementOptions { type ChildElement (line 14) | pub trait ChildElement: Sizable + IntoElement { method with_ix (line 15) | fn with_ix(mut self, ix: usize) -> Self; type AnyChildElement (line 19) | pub struct AnyChildElement(Box AnyEle... method new (line 22) | pub fn new(element: impl ChildElement + 'static) -> Self { method into_any (line 28) | pub fn into_any(self, ix: usize, size: Size) -> AnyElement { type ElementExt (line 34) | pub trait ElementExt: ParentElement + Sized { method on_prepaint (line 42) | fn on_prepaint(self, f: F) -> Self FILE: crates/ui/src/event.rs type InteractiveElementExt (line 3) | pub trait InteractiveElementExt: InteractiveElement { method on_double_click (line 5) | fn on_double_click( FILE: crates/ui/src/focus_trap.rs function init (line 9) | pub(crate) fn init(cx: &mut App) { type FocusTrapElement (line 14) | pub trait FocusTrapElement: InteractiveElement + Sized { method focus_trap (line 39) | fn focus_trap( type FocusTrapManager (line 53) | pub(crate) struct FocusTrapManager { method new (line 62) | fn new() -> Self { method global (line 68) | pub(crate) fn global(cx: &App) -> &Self { method global_mut (line 72) | fn global_mut(cx: &mut App) -> &mut Self { method register_trap (line 77) | fn register_trap(id: &GlobalElementId, container_handle: WeakFocusHand... method find_active_trap (line 84) | pub(crate) fn find_active_trap(window: &Window, cx: &App) -> Option Self { type FocusTrapContainer (line 113) | pub struct FocusTrapContainer, focus_handle: FocusHandle, c... type Element (line 132) | type Element = Self; method into_element (line 134) | fn into_element(self) -> Self::Element { method extend (line 141) | fn extend(&mut self, elements: impl IntoIterator) { method interactivity (line 148) | fn interactivity(&mut self) -> &mut Interactivity { method style (line 157) | fn style(&mut self) -> &mut StyleRefinement { type RequestLayoutState (line 165) | type RequestLayoutState = E::RequestLayoutState; type PrepaintState (line 166) | type PrepaintState = E::PrepaintState; method id (line 168) | fn id(&self) -> Option { method source_location (line 172) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 176) | fn request_layout( method prepaint (line 189) | fn prepaint( method paint (line 202) | fn paint( FILE: crates/ui/src/form/field.rs type FieldProps (line 12) | pub(super) struct FieldProps { method default (line 22) | fn default() -> Self { type FieldBuilder (line 33) | pub enum FieldBuilder { method from (line 46) | fn from(view: AnyView) -> Self { method from (line 62) | fn from(value: &'static str) -> Self { method from (line 68) | fn from(value: String) -> Self { method from (line 74) | fn from(value: SharedString) -> Self { method default (line 40) | fn default() -> Self { method render (line 52) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type Field (line 81) | pub struct Field { method new (line 100) | pub fn new() -> Self { method label (line 119) | pub fn label(mut self, label: impl Into) -> Self { method label_indent (line 129) | pub fn label_indent(mut self, indent: bool) -> Self { method label_fn (line 135) | pub fn label_fn(mut self, label: F) -> Self method description (line 147) | pub fn description(mut self, description: impl Into) -> ... method description_fn (line 153) | pub fn description_fn(mut self, description: F) -> Self method visible (line 165) | pub fn visible(mut self, visible: bool) -> Self { method required (line 171) | pub fn required(mut self, required: bool) -> Self { method props (line 179) | pub(super) fn props(mut self, ix: usize, props: FieldProps) -> Self { method items_start (line 186) | pub fn items_start(mut self) -> Self { method items_end (line 192) | pub fn items_end(mut self) -> Self { method items_center (line 198) | pub fn items_center(mut self) -> Self { method col_span (line 206) | pub fn col_span(mut self, col_span: u16) -> Self { method col_start (line 212) | pub fn col_start(mut self, col_start: i16) -> Self { method col_end (line 218) | pub fn col_end(mut self, col_end: i16) -> Self { method extend (line 225) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 231) | fn style(&mut self) -> &mut StyleRefinement { method render (line 237) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/form/form.rs type Form (line 14) | pub struct Form { method new (line 21) | fn new() -> Self { method horizontal (line 30) | pub fn horizontal() -> Self { method vertical (line 35) | pub fn vertical() -> Self { method layout (line 40) | pub fn layout(mut self, layout: Axis) -> Self { method label_width (line 46) | pub fn label_width(mut self, width: Pixels) -> Self { method label_text_size (line 52) | pub fn label_text_size(mut self, size: Rems) -> Self { method child (line 58) | pub fn child(mut self, field: impl Into) -> Self { method children (line 64) | pub fn children(mut self, fields: impl IntoIterator) -> ... method columns (line 72) | pub fn columns(mut self, columns: usize) -> Self { method style (line 79) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 85) | fn with_size(mut self, size: impl Into) -> Self { method render (line 92) | fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/form/mod.rs function v_form (line 8) | pub fn v_form() -> Form { function h_form (line 13) | pub fn h_form() -> Form { function field (line 18) | pub fn field() -> Field { FILE: crates/ui/src/geometry.rs type Placement (line 11) | pub enum Placement { method is_horizontal (line 35) | pub fn is_horizontal(&self) -> bool { method is_vertical (line 43) | pub fn is_vertical(&self) -> bool { method axis (line 51) | pub fn axis(&self) -> Axis { method fmt (line 23) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Anchor (line 61) | pub enum Anchor { method is_top (line 93) | pub fn is_top(&self) -> bool { method is_bottom (line 99) | pub fn is_bottom(&self) -> bool { method is_left (line 108) | pub fn is_left(&self) -> bool { method is_right (line 114) | pub fn is_right(&self) -> bool { method is_center (line 120) | pub fn is_center(&self) -> bool { method swap_vertical (line 125) | pub fn swap_vertical(&self) -> Self { method swap_horizontal (line 137) | pub fn swap_horizontal(&self) -> Self { method other_side_corner_along (line 148) | pub(crate) fn other_side_corner_along(&self, axis: Axis) -> Anchor { method from (line 171) | fn from(corner: Corner) -> Self { method fmt (line 78) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method from (line 182) | fn from(anchor: Anchor) -> Self { type Side (line 198) | pub enum Side { method is_left (line 208) | pub fn is_left(&self) -> bool { method is_right (line 214) | pub fn is_right(&self) -> bool { type AxisExt (line 220) | pub trait AxisExt { method is_horizontal (line 221) | fn is_horizontal(self) -> bool; method is_vertical (line 222) | fn is_vertical(self) -> bool; method is_horizontal (line 227) | fn is_horizontal(self) -> bool { method is_vertical (line 232) | fn is_vertical(self) -> bool { type LengthExt (line 238) | pub trait LengthExt { method to_pixels (line 242) | fn to_pixels(&self, base_size: AbsoluteLength, rem_size: Pixels) -> Op... method to_pixels (line 246) | fn to_pixels(&self, base_size: AbsoluteLength, rem_size: Pixels) -> Op... type Edges (line 259) | pub struct Edges { function all (line 275) | pub fn all(value: T) -> Self { function test_placement (line 291) | fn test_placement() { function test_side (line 345) | fn test_side() { function test_anchor (line 370) | fn test_anchor() { function test_anchor_swap_vertical (line 476) | fn test_anchor_swap_vertical() { function test_anchor_swap_horizontal (line 503) | fn test_anchor_swap_horizontal() { function test_anchor_from_corner (line 529) | fn test_anchor_from_corner() { function test_anchor_to_corner (line 548) | fn test_anchor_to_corner() { function test_edges_pixels (line 574) | fn test_edges_pixels() { FILE: crates/ui/src/global_state.rs function init (line 6) | pub(crate) fn init(cx: &mut App) { type GlobalState (line 12) | pub struct GlobalState { method new (line 23) | pub(crate) fn new() -> Self { method global (line 31) | pub fn global(cx: &App) -> &Self { method global_mut (line 35) | pub fn global_mut(cx: &mut App) -> &mut Self { method text_view_state (line 39) | pub(crate) fn text_view_state(&self) -> Option<&Entity> { method is_in_deferred_context (line 44) | pub(crate) fn is_in_deferred_context(&self) -> bool { method register_deferred_popover (line 49) | pub(crate) fn register_deferred_popover(&mut self, focus_handle: &Focu... method unregister_deferred_popover (line 55) | pub(crate) fn unregister_deferred_popover(&mut self, focus_handle: &Fo... method app_menus (line 61) | pub fn app_menus(&self) -> &[OwnedMenu] { method set_app_menus (line 66) | pub fn set_app_menus(&mut self, menus: Vec) { FILE: crates/ui/src/group_box.rs type GroupBoxVariant (line 11) | pub enum GroupBoxVariant { method from_str (line 41) | pub fn from_str(s: &str) -> Self { method as_str (line 50) | pub fn as_str(&self) -> &str { type GroupBoxVariants (line 19) | pub trait GroupBoxVariants: Sized { method with_variant (line 21) | fn with_variant(self, variant: GroupBoxVariant) -> Self; method normal (line 23) | fn normal(mut self) -> Self { method fill (line 28) | fn fill(mut self) -> Self { method outline (line 33) | fn outline(mut self) -> Self { method with_variant (line 124) | fn with_variant(mut self, variant: GroupBoxVariant) -> Self { type GroupBox (line 62) | pub struct GroupBox { method new (line 74) | pub fn new() -> Self { method id (line 87) | pub fn id(mut self, id: impl Into) -> Self { method title (line 93) | pub fn title(mut self, title: impl IntoElement) -> Self { method title_style (line 99) | pub fn title_style(mut self, style: StyleRefinement) -> Self { method content_style (line 105) | pub fn content_style(mut self, style: StyleRefinement) -> Self { method extend (line 112) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 118) | fn style(&mut self) -> &mut StyleRefinement { method render (line 131) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { function test_group_variant_from_str (line 173) | fn test_group_variant_from_str() { FILE: crates/ui/src/highlighter/diagnostics.rs type DiagnosticRelatedInformation (line 16) | pub type DiagnosticRelatedInformation = lsp_types::DiagnosticRelatedInfo... type CodeDescription (line 17) | pub type CodeDescription = lsp_types::CodeDescription; type RelatedInformation (line 18) | pub type RelatedInformation = lsp_types::DiagnosticRelatedInformation; type DiagnosticTag (line 19) | pub type DiagnosticTag = lsp_types::DiagnosticTag; type Diagnostic (line 22) | pub struct Diagnostic { method from (line 59) | fn from(value: lsp_types::Diagnostic) -> Self { method new (line 156) | pub fn new(range: Range>, message: impl Into... method with_code (line 169) | pub fn with_code(mut self, code: impl Into) -> Self { method with_source (line 174) | pub fn with_source(mut self, source: impl Into) -> Self { type DiagnosticSeverity (line 81) | pub enum DiagnosticSeverity { method from (line 90) | fn from(value: lsp_types::DiagnosticSeverity) -> Self { method bg (line 102) | pub(crate) fn bg(&self, cx: &App) -> Hsla { method fg (line 113) | pub(crate) fn fg(&self, cx: &App) -> Hsla { method border (line 124) | pub(crate) fn border(&self, cx: &App) -> Hsla { method highlight_style (line 134) | pub(crate) fn highlight_style(&self, cx: &App) -> HighlightStyle { type DiagnosticEntry (line 181) | pub(crate) struct DiagnosticEntry { type Summary (line 203) | type Summary = DiagnosticSummary; method summary (line 204) | fn summary(&self, _cx: &()) -> Self::Summary { type Target (line 188) | type Target = Diagnostic; method deref (line 190) | fn deref(&self) -> &Self::Target { type DiagnosticSummary (line 196) | pub struct DiagnosticSummary { type Context (line 214) | type Context<'a> = &'a (); method zero (line 215) | fn zero(_: Self::Context<'_>) -> Self { method add_summary (line 223) | fn add_summary(&mut self, other: &Self, _: Self::Context<'_>) { function cmp (line 232) | fn cmp(&self, other: &DiagnosticSummary, _: &()) -> Ordering { type DiagnosticSet (line 244) | pub struct DiagnosticSet { method new (line 250) | pub fn new(text: &Rope) -> Self { method reset (line 257) | pub fn reset(&mut self, text: &Rope) { method push (line 262) | pub fn push(&mut self, diagnostic: impl Into) { method extend (line 276) | pub fn extend(&mut self, diagnostics: D) method len (line 286) | pub fn len(&self) -> usize { method clear (line 290) | pub fn clear(&mut self) { method is_empty (line 294) | pub fn is_empty(&self) -> bool { method range (line 298) | pub(crate) fn range(&self, range: Range) -> impl Iterator Option<&DiagnosticEn... method styles_for_range (line 316) | pub(crate) fn styles_for_range( method iter (line 335) | pub(crate) fn iter(&self) -> impl Iterator { function test_diagnostic (line 345) | fn test_diagnostic() { FILE: crates/ui/src/highlighter/highlighter.rs constant LARGE_NODE_THRESHOLD (line 20) | const LARGE_NODE_THRESHOLD: usize = 8 * 1024; type SyntaxHighlighter (line 25) | pub struct SyntaxHighlighter { method new (line 204) | pub fn new(lang: &str) -> Self { method build_combined_injections_query (line 220) | fn build_combined_injections_query(lang: &str) -> Result { method is_empty (line 365) | pub fn is_empty(&self) -> bool { method tree (line 370) | pub fn tree(&self) -> Option<&Tree> { method language (line 375) | pub fn language(&self) -> &SharedString { method text (line 380) | pub fn text(&self) -> &Rope { method update (line 392) | pub fn update( method injection_parse_data (line 462) | pub(crate) fn injection_parse_data(&self) -> Option { method compute_injection_layers (line 478) | pub(crate) fn compute_injection_layers( method apply_background_tree (line 555) | pub(crate) fn apply_background_tree( method parse_combined_injections (line 574) | fn parse_combined_injections(&mut self, tree: &Tree) { method match_styles (line 582) | fn match_styles(&self, range: Range) -> Vec { method styles (line 697) | pub fn styles( type InjectionLayer (line 57) | pub(crate) struct InjectionLayer { type InjectionParseData (line 62) | pub(crate) struct InjectionParseData { type TextProvider (line 69) | struct TextProvider<'a>(&'a Rope); type ByteChunks (line 70) | struct ByteChunks<'a> { type I (line 77) | type I = ByteChunks<'a>; function text (line 79) | fn text(&mut self, node: tree_sitter::Node) -> Self::I { type Item (line 93) | type Item = &'a [u8]; method next (line 95) | fn next(&mut self) -> Option { type HighlightSummary (line 123) | struct HighlightSummary { type Context (line 163) | type Context<'a> = &'a (); method zero (line 164) | fn zero(_: Self::Context<'_>) -> Self { method add_summary (line 174) | fn add_summary(&mut self, other: &Self, _: Self::Context<'_>) { type HighlightItem (line 133) | struct HighlightItem { method new (line 141) | pub fn new(range: Range, name: impl Into) -> Self { type Summary (line 150) | type Summary = HighlightSummary; method summary (line 151) | fn summary(&self, _cx: &()) -> Self::Summary { function zero (line 184) | fn zero(_: &()) -> Self { function add_summary (line 188) | fn add_summary(&mut self, _: &'a HighlightSummary, _: &()) {} function zero (line 192) | fn zero(_: &()) -> Self { function add_summary (line 196) | fn add_summary(&mut self, summary: &'a HighlightSummary, _: &()) { function unique_styles (line 753) | pub(crate) fn unique_styles( function collect_query_nodes (line 837) | fn collect_query_nodes<'a>( function collect_query_nodes_inner (line 849) | fn collect_query_nodes_inner<'a>( function merge_highlight_style (line 885) | fn merge_highlight_style(style: &mut HighlightStyle, other: &HighlightSt... function color_style (line 916) | fn color_style(color: Hsla) -> HighlightStyle { function assert_unique_styles (line 923) | fn assert_unique_styles( function test_php_combined_injection_closing_tags (line 969) | fn test_php_combined_injection_closing_tags() { function test_unique_styles (line 1017) | fn test_unique_styles() { FILE: crates/ui/src/highlighter/languages.rs type Language (line 7) | pub enum Language { method all (line 61) | pub fn all() -> impl Iterator { method name (line 65) | pub fn name(&self) -> &'static str { method from_str (line 113) | pub fn from_str(s: &str) -> Self { method injection_languages (line 161) | pub(super) fn injection_languages(&self) -> Vec { method config (line 204) | pub(super) fn config(&self) -> LanguageConfig { type Language (line 13) | pub enum Language { method all (line 61) | pub fn all() -> impl Iterator { method name (line 65) | pub fn name(&self) -> &'static str { method from_str (line 113) | pub fn from_str(s: &str) -> Self { method injection_languages (line 161) | pub(super) fn injection_languages(&self) -> Vec { method config (line 204) | pub(super) fn config(&self) -> LanguageConfig { method from (line 55) | fn from(language: Language) -> Self { function test_language_name (line 434) | fn test_language_name() { FILE: crates/ui/src/highlighter/registry.rs constant HIGHLIGHT_NAMES (line 16) | pub(super) const HIGHLIGHT_NAMES: [&str; 40] = [ type LanguageConfig (line 60) | pub struct LanguageConfig { method new (line 70) | pub fn new( type SyntaxColors (line 93) | pub struct SyntaxColors { method style (line 219) | pub fn style(&self, name: &str) -> Option { method style_for_index (line 286) | pub fn style_for_index(&self, index: usize) -> Option { type FontStyle (line 154) | pub enum FontStyle { function from (line 161) | fn from(style: FontStyle) -> Self { type FontWeightContent (line 172) | pub enum FontWeightContent { method from (line 185) | fn from(value: FontWeightContent) -> Self { type ThemeStyle (line 201) | pub struct ThemeStyle { method from (line 208) | fn from(style: ThemeStyle) -> Self { type StatusColors (line 292) | pub struct StatusColors { method error (line 327) | pub fn error(&self, cx: &App) -> Hsla { method error_background (line 332) | pub fn error_background(&self, cx: &App) -> Hsla { method error_border (line 339) | pub fn error_border(&self, cx: &App) -> Hsla { method warning (line 344) | pub fn warning(&self, cx: &App) -> Hsla { method warning_background (line 349) | pub fn warning_background(&self, cx: &App) -> Hsla { method warning_border (line 356) | pub fn warning_border(&self, cx: &App) -> Hsla { method info (line 361) | pub fn info(&self, cx: &App) -> Hsla { method info_background (line 366) | pub fn info_background(&self, cx: &App) -> Hsla { method info_border (line 373) | pub fn info_border(&self, cx: &App) -> Hsla { method success (line 378) | pub fn success(&self, cx: &App) -> Hsla { method success_background (line 383) | pub fn success_background(&self, cx: &App) -> Hsla { method success_border (line 390) | pub fn success_border(&self, cx: &App) -> Hsla { method hint (line 395) | pub fn hint(&self, cx: &App) -> Hsla { method hint_background (line 400) | pub fn hint_background(&self, cx: &App) -> Hsla { method hint_border (line 407) | pub fn hint_border(&self, cx: &App) -> Hsla { type HighlightThemeStyle (line 413) | pub struct HighlightThemeStyle { type HighlightTheme (line 438) | pub struct HighlightTheme { method default_dark (line 454) | pub fn default_dark() -> Arc { method default_light (line 458) | pub fn default_light() -> Arc { type Target (line 446) | type Target = SyntaxColors; method deref (line 448) | fn deref(&self) -> &Self::Target { type LanguageRegistry (line 464) | pub struct LanguageRegistry { method singleton (line 470) | pub fn singleton() -> &'static LazyLock { method register (line 482) | pub fn register(&self, lang: &str, config: &LanguageConfig) { method languages (line 490) | pub fn languages(&self) -> Vec { method language (line 495) | pub fn language(&self, name: &str) -> Option { function test_registry (line 511) | fn test_registry() { FILE: crates/ui/src/highlighter/wasm_stub.rs type SyntaxHighlighter (line 11) | pub struct SyntaxHighlighter; method new (line 14) | pub fn new(_language: impl AsRef) -> Self { method highlight (line 18) | pub fn highlight(&self, _text: &ropey::Rope) -> Vec<(Range, Hig... method styles (line 22) | pub fn styles( method update (line 30) | pub fn update( method language (line 40) | pub fn language(&self) -> &SharedString { method text (line 45) | pub fn text(&self) -> &ropey::Rope { method tree (line 50) | pub fn tree(&self) -> Option<&crate::input::Tree> { type Language (line 57) | pub enum Language { method from_str (line 62) | pub fn from_str(_name: &str) -> Self { method name (line 66) | pub fn name(&self) -> &'static str { method config (line 70) | pub fn config(&self) -> LanguageConfig { method all (line 76) | pub fn all() -> impl Iterator { type LanguageConfig (line 83) | pub struct LanguageConfig { type FontStyle (line 98) | pub enum FontStyle { type FontWeightContent (line 106) | pub enum FontWeightContent { type ThemeStyle (line 119) | pub struct ThemeStyle { method from (line 126) | fn from(style: ThemeStyle) -> Self { type SyntaxColors (line 151) | pub struct SyntaxColors { method style (line 159) | pub fn style(&self, _name: &str) -> Option { method style_for_index (line 163) | pub fn style_for_index(&self, _index: usize) -> Option { type StatusColors (line 169) | pub struct StatusColors { method error (line 174) | pub fn error(&self, _cx: &gpui::App) -> gpui::Hsla { method error_background (line 178) | pub fn error_background(&self, _cx: &gpui::App) -> gpui::Hsla { method error_border (line 182) | pub fn error_border(&self, _cx: &gpui::App) -> gpui::Hsla { method warning (line 186) | pub fn warning(&self, _cx: &gpui::App) -> gpui::Hsla { method warning_background (line 190) | pub fn warning_background(&self, _cx: &gpui::App) -> gpui::Hsla { method warning_border (line 194) | pub fn warning_border(&self, _cx: &gpui::App) -> gpui::Hsla { method info (line 198) | pub fn info(&self, _cx: &gpui::App) -> gpui::Hsla { method info_background (line 202) | pub fn info_background(&self, _cx: &gpui::App) -> gpui::Hsla { method info_border (line 206) | pub fn info_border(&self, _cx: &gpui::App) -> gpui::Hsla { method success (line 210) | pub fn success(&self, _cx: &gpui::App) -> gpui::Hsla { method success_background (line 214) | pub fn success_background(&self, _cx: &gpui::App) -> gpui::Hsla { method success_border (line 218) | pub fn success_border(&self, _cx: &gpui::App) -> gpui::Hsla { method hint (line 222) | pub fn hint(&self, _cx: &gpui::App) -> gpui::Hsla { method hint_background (line 226) | pub fn hint_background(&self, _cx: &gpui::App) -> gpui::Hsla { method hint_border (line 230) | pub fn hint_border(&self, _cx: &gpui::App) -> gpui::Hsla { type HighlightThemeStyle (line 236) | pub struct HighlightThemeStyle { type HighlightTheme (line 250) | pub struct HighlightTheme { type Target (line 258) | type Target = SyntaxColors; method deref (line 260) | fn deref(&self) -> &Self::Target { method default_dark (line 266) | pub fn default_dark() -> std::sync::Arc { method default_light (line 271) | pub fn default_light() -> std::sync::Arc { type LanguageRegistry (line 278) | pub struct LanguageRegistry { method singleton (line 283) | pub fn singleton() -> &'static LazyLock { method register (line 290) | pub fn register(&self, lang: &str, config: &LanguageConfig) { method languages (line 297) | pub fn languages(&self) -> Vec { method language (line 301) | pub fn language(&self, name: &str) -> Option { FILE: crates/ui/src/history.rs type HistoryItem (line 6) | pub trait HistoryItem: Clone + PartialEq { method version (line 7) | fn version(&self) -> usize; method set_version (line 8) | fn set_version(&mut self, version: usize); method version (line 203) | fn version(&self) -> usize { method set_version (line 206) | fn set_version(&mut self, version: usize) { type History (line 22) | pub struct History { function new (line 38) | pub fn new() -> Self { function max_undos (line 53) | pub fn max_undos(mut self, max_undos: usize) -> Self { function unique (line 60) | pub fn unique(mut self) -> Self { function group_interval (line 66) | pub fn group_interval(mut self, group_interval: Duration) -> Self { function start_grouping (line 72) | pub fn start_grouping(&mut self) { function end_grouping (line 77) | pub fn end_grouping(&mut self) { function inc_version (line 82) | fn inc_version(&mut self) -> usize { function version (line 93) | pub fn version(&self) -> usize { function push (line 98) | pub fn push(&mut self, item: I) { function undos (line 116) | pub fn undos(&self) -> &Vec { function redos (line 121) | pub fn redos(&self) -> &Vec { function clear (line 126) | pub fn clear(&mut self) { function undo (line 132) | pub fn undo(&mut self) -> Option> { function redo (line 155) | pub fn redo(&mut self) -> Option> { type TabIndex (line 182) | struct TabIndex { method from (line 194) | fn from(value: usize) -> Self { method eq (line 188) | fn eq(&self, other: &Self) -> bool { function test_history (line 212) | fn test_history() { function test_unique_history (line 255) | fn test_unique_history() { FILE: crates/ui/src/hover_card.rs type HoverCard (line 16) | pub struct HoverCard { method new (line 36) | pub fn new(id: impl Into) -> Self { method anchor (line 52) | pub fn anchor(mut self, anchor: impl Into) -> Self { method trigger (line 58) | pub fn trigger(mut self, trigger: T) -> Self method content (line 69) | pub fn content(mut self, content: F) -> Self method open_delay (line 81) | pub fn open_delay(mut self, duration: Duration) -> Self { method close_delay (line 87) | pub fn close_delay(mut self, duration: Duration) -> Self { method appearance (line 93) | pub fn appearance(mut self, appearance: bool) -> Self { method on_open_change (line 99) | pub fn on_open_change(mut self, callback: F) -> Self method style (line 109) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 115) | fn extend(&mut self, elements: impl IntoIterator) { type HoverCardState (line 121) | pub struct HoverCardState { method new (line 141) | fn new(open_delay: Duration, close_delay: Duration) -> Self { method is_open (line 157) | pub fn is_open(&self) -> bool { method schedule_open (line 162) | fn schedule_open(&mut self, cx: &mut Context) { method schedule_close (line 179) | fn schedule_close(&mut self, cx: &mut Context) { method cancel_tasks (line 196) | fn cancel_tasks(&mut self) { method next_epoch (line 202) | fn next_epoch(&mut self) -> usize { method set_open (line 207) | fn set_open(&mut self, open: bool, cx: &mut Context) { method on_trigger_hover (line 217) | fn on_trigger_hover(&mut self, hovering: bool, cx: &mut Context) { method on_content_hover (line 231) | fn on_content_hover(&mut self, hovered: bool, cx: &mut Context) { method render (line 246) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... method render (line 252) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/icon.rs type IconNamed (line 13) | pub trait IconNamed { method path (line 15) | fn path(self) -> SharedString; method view (line 28) | pub fn view(self, cx: &mut App) -> Entity { method from (line 34) | fn from(val: IconName) -> Self { method render (line 40) | fn render(self, _: &mut Window, _cx: &mut App) -> impl IntoElement { type Icon (line 46) | pub struct Icon { method from (line 19) | fn from(value: T) -> Self { method new (line 80) | pub fn new(icon: impl Into) -> Self { method build (line 84) | fn build(name: impl IconNamed) -> Self { method path (line 91) | pub fn path(mut self, path: impl Into) -> Self { method view (line 97) | pub fn view(self, cx: &mut App) -> Entity { method transform (line 101) | pub fn transform(mut self, transformation: gpui::Transformation) -> Se... method empty (line 106) | pub fn empty() -> Self { method rotate (line 111) | pub fn rotate(mut self, radians: impl Into) -> Self { method default (line 56) | fn default() -> Self { method clone (line 69) | fn clone(&self) -> Self { method style (line 120) | fn style(&mut self) -> &mut StyleRefinement { method text_color (line 124) | fn text_color(mut self, color: impl Into) -> Self { method with_size (line 131) | fn with_size(mut self, size: impl Into) -> Self { method render (line 138) | fn render(self, window: &mut Window, _cx: &mut App) -> impl IntoElement { method from (line 161) | fn from(val: Icon) -> Self { method render (line 167) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/index_path.rs type IndexPath (line 9) | pub struct IndexPath { method new (line 39) | pub fn new(row: usize) -> Self { method section (line 48) | pub fn section(mut self, section: usize) -> Self { method row (line 54) | pub fn row(mut self, row: usize) -> Self { method column (line 60) | pub fn column(mut self, column: usize) -> Self { method eq_row (line 66) | pub fn eq_row(&self, index: IndexPath) -> bool { method from (line 19) | fn from(path: IndexPath) -> Self { method fmt (line 25) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_into_element_id (line 76) | fn test_into_element_id() { function test_display (line 83) | fn test_display() { function test_index_path (line 91) | fn test_index_path() { FILE: crates/ui/src/input/blink_cursor.rs constant CURSOR_WIDTH (line 9) | pub(super) const CURSOR_WIDTH: Pixels = px(2.); constant CURSOR_WIDTH (line 11) | pub(super) const CURSOR_WIDTH: Pixels = px(1.5); type BlinkCursor (line 19) | pub(crate) struct BlinkCursor { method new (line 28) | pub fn new() -> Self { method start (line 38) | pub fn start(&mut self, cx: &mut Context) { method stop (line 42) | pub fn stop(&mut self, cx: &mut Context) { method next_epoch (line 47) | fn next_epoch(&mut self) -> usize { method blink (line 52) | fn blink(&mut self, epoch: usize, cx: &mut Context) { method visible (line 71) | pub fn visible(&self) -> bool { method pause (line 77) | pub fn pause(&mut self, cx: &mut Context) { FILE: crates/ui/src/input/change.rs type Change (line 6) | pub struct Change { method new (line 15) | pub fn new( method version (line 32) | fn version(&self) -> usize { method set_version (line 36) | fn set_version(&mut self, version: usize) { FILE: crates/ui/src/input/clear_button.rs function clear_button (line 9) | pub(crate) fn clear_button(cx: &App) -> Button { FILE: crates/ui/src/input/cursor.rs type Selection (line 5) | pub struct Selection { method new (line 11) | pub fn new(start: usize, end: usize) -> Self { method len (line 15) | pub fn len(&self) -> usize { method is_empty (line 19) | pub fn is_empty(&self) -> bool { method clear (line 24) | pub fn clear(&mut self) { method contains (line 30) | pub fn contains(&self, offset: usize) -> bool { method from (line 36) | fn from(value: Range) -> Self { method start_bound (line 46) | fn start_bound(&self) -> std::ops::Bound<&usize> { method end_bound (line 50) | fn end_bound(&self) -> std::ops::Bound<&usize> { function from (line 41) | fn from(value: Selection) -> Self { function test_line_column_from_to (line 60) | fn test_line_column_from_to() { FILE: crates/ui/src/input/display_map/display_map.rs type DisplayMap (line 28) | pub struct DisplayMap { method new (line 34) | pub fn new(font: Font, font_size: Pixels, wrap_width: Option) ... method buffer_pos_to_display_pos (line 44) | pub fn buffer_pos_to_display_pos(&self, pos: BufferPoint) -> DisplayPo... method display_pos_to_buffer_pos (line 59) | pub fn display_pos_to_buffer_pos(&self, pos: DisplayPoint) -> BufferPo... method display_row_count (line 70) | pub fn display_row_count(&self) -> usize { method display_row_to_buffer_line (line 75) | pub fn display_row_to_buffer_line(&self, display_row: usize) -> usize { method buffer_line_to_display_row_range (line 88) | pub fn buffer_line_to_display_row_range(&self, line: usize) -> Option<... method is_buffer_line_hidden (line 114) | pub fn is_buffer_line_hidden(&self, line: usize) -> bool { method set_fold_candidates (line 119) | pub fn set_fold_candidates(&mut self, candidates: Vec) { method set_folded (line 125) | pub fn set_folded(&mut self, start_line: usize, folded: bool) { method toggle_fold (line 131) | pub fn toggle_fold(&mut self, start_line: usize) { method is_folded_at (line 138) | pub fn is_folded_at(&self, start_line: usize) -> bool { method is_fold_candidate (line 144) | pub fn is_fold_candidate(&self, start_line: usize) -> bool { method folded_ranges (line 150) | pub fn folded_ranges(&self) -> &[FoldRange] { method clear_folds (line 155) | pub fn clear_folds(&mut self) { method adjust_folds_for_edit (line 166) | pub fn adjust_folds_for_edit(&mut self, old_text: &Rope, range: &Range... method update_fold_candidates_for_edit (line 186) | pub fn update_fold_candidates_for_edit( method on_text_changed (line 203) | pub fn on_text_changed( method on_layout_changed (line 216) | pub fn on_layout_changed(&mut self, wrap_width: Option, cx: &m... method set_font (line 222) | pub fn set_font(&mut self, font: Font, font_size: Pixels, cx: &mut App) { method ensure_text_prepared (line 228) | pub fn ensure_text_prepared(&mut self, text: &Rope, cx: &mut App) { method set_text (line 236) | pub fn set_text(&mut self, text: &Rope, cx: &mut App) { method rebuild_fold_projection (line 245) | fn rebuild_fold_projection(&mut self) { method offset_to_wrap_display_point (line 260) | pub(crate) fn offset_to_wrap_display_point(&self, offset: usize) -> Wr... method wrap_display_point_to_offset (line 266) | pub(crate) fn wrap_display_point_to_offset(&self, point: WrapDisplayPo... method wrap_display_point_to_point (line 272) | pub(crate) fn wrap_display_point_to_point( method wrap_row_to_display_row (line 282) | pub fn wrap_row_to_display_row(&self, wrap_row: usize) -> Option { method nearest_visible_display_row (line 288) | pub fn nearest_visible_display_row(&self, wrap_row: usize) -> usize { method display_row_to_wrap_row (line 294) | pub fn display_row_to_wrap_row(&self, display_row: usize) -> Option usize { method lines (line 308) | pub(crate) fn lines(&self) -> &[LineItem] { method text (line 314) | pub fn text(&self) -> &Rope { method visible_wrap_row_count_for_buffer_line (line 320) | pub fn visible_wrap_row_count_for_buffer_line(&self, line: usize) -> u... method wrap_row_count (line 327) | pub fn wrap_row_count(&self) -> usize { method buffer_line_count (line 333) | pub fn buffer_line_count(&self) -> usize { FILE: crates/ui/src/input/display_map/fold_map.rs type FoldMap (line 11) | pub struct FoldMap { method new (line 38) | pub fn new() -> Self { method mark_dirty_with_wrap_count (line 51) | pub(super) fn mark_dirty_with_wrap_count(&mut self, wrap_row_count: us... method display_row_count (line 57) | pub fn display_row_count(&self) -> usize { method wrap_row_to_display_row (line 66) | pub fn wrap_row_to_display_row(&self, wrap_row: usize) -> Option { method display_row_to_wrap_row (line 81) | pub fn display_row_to_wrap_row(&self, display_row: usize) -> Option usize { method set_candidates (line 109) | pub fn set_candidates(&mut self, mut candidates: Vec) { method merge_candidates_for_edit (line 127) | pub fn merge_candidates_for_edit( method set_folded (line 145) | pub fn set_folded(&mut self, start_line: usize, folded: bool) { method toggle_fold (line 164) | pub fn toggle_fold(&mut self, start_line: usize) { method is_folded_at (line 170) | pub fn is_folded_at(&self, start_line: usize) -> bool { method is_fold_candidate (line 175) | pub fn is_fold_candidate(&self, start_line: usize) -> bool { method fold_candidates (line 181) | pub fn fold_candidates(&self) -> &[FoldRange] { method folded_ranges (line 187) | pub fn folded_ranges(&self) -> &[FoldRange] { method clear_folds (line 193) | pub fn clear_folds(&mut self) { method adjust_folds_for_edit (line 203) | pub fn adjust_folds_for_edit( method rebuild (line 246) | pub fn rebuild(&mut self, wrap_map: &WrapMap) { FILE: crates/ui/src/input/display_map/folding.rs type Tree (line 10) | pub struct Tree; constant MIN_FOLD_LINES (line 14) | const MIN_FOLD_LINES: usize = 2; type FoldRange (line 20) | pub struct FoldRange { method new (line 28) | pub fn new(start_line: usize, end_line: usize) -> Self { function is_foldable_node (line 49) | fn is_foldable_node(node: &Node) -> bool { function extract_fold_ranges (line 62) | pub fn extract_fold_ranges(tree: &Tree) -> Vec { function extract_fold_ranges_in_range (line 76) | pub fn extract_fold_ranges_in_range(tree: &Tree, byte_range: Range) { function extract_fold_ranges (line 129) | pub fn extract_fold_ranges(_tree: &Tree) -> Vec { function extract_fold_ranges_in_range (line 135) | pub fn extract_fold_ranges_in_range(_tree: &Tree, _byte_range: Range Self { type WrapPoint (line 44) | pub(super) struct WrapPoint { method new (line 50) | pub fn new(row: usize, col: usize) -> Self { type DisplayPoint (line 60) | pub struct DisplayPoint { method new (line 66) | pub fn new(row: usize, col: usize) -> Self { FILE: crates/ui/src/input/display_map/text_wrapper.rs type LineItem (line 16) | pub(crate) struct LineItem { method len (line 28) | pub(crate) fn len(&self) -> usize { method lines_len (line 34) | pub(crate) fn lines_len(&self) -> usize { type LongestRow (line 41) | pub(crate) struct LongestRow { type TextWrapper (line 51) | pub(crate) struct TextWrapper { method new (line 69) | pub(crate) fn new(font: Font, font_size: Pixels, wrap_width: Option &Rope { method len (line 95) | pub(crate) fn len(&self) -> usize { method line (line 101) | pub(crate) fn line(&self, row: usize) -> Option<&LineItem> { method set_wrap_width (line 105) | pub(crate) fn set_wrap_width(&mut self, wrap_width: Option, cx... method set_font (line 114) | pub(crate) fn set_font(&mut self, font: Font, font_size: Pixels, cx: &... method prepare_if_need (line 124) | pub(crate) fn prepare_if_need(&mut self, text: &Rope, cx: &mut App) ->... method update (line 142) | pub(crate) fn update( method _update (line 164) | fn _update( method update_all (line 250) | fn update_all(&mut self, text: &Rope, cx: &mut App) { method offset_to_display_point (line 257) | pub(crate) fn offset_to_display_point(&self, offset: usize) -> WrapDis... method display_point_to_offset (line 289) | pub(crate) fn display_point_to_offset(&self, point: WrapDisplayPoint) ... method display_point_to_point (line 309) | pub(crate) fn display_point_to_point(&self, point: WrapDisplayPoint) -... method point_to_display_point (line 314) | pub(crate) fn point_to_display_point(&self, point: TreeSitterPoint) ->... type WrapDisplayPoint (line 326) | pub(crate) struct WrapDisplayPoint { method new (line 338) | pub fn new(row: usize, local_row: usize, column: usize) -> Self { type LineLayout (line 348) | pub(crate) struct LineLayout { method new (line 360) | pub(crate) fn new() -> Self { method lines (line 370) | pub(crate) fn lines(mut self, wrapped_lines: SmallVec<[ShapedLine; 1]>... method set_wrapped_lines (line 375) | pub(crate) fn set_wrapped_lines(&mut self, wrapped_lines: SmallVec<[Sh... method with_whitespaces (line 386) | pub(crate) fn with_whitespaces(mut self, indicators: Option usize { method position_for_index (line 423) | pub(crate) fn position_for_index( method closest_index_for_x (line 450) | pub(crate) fn closest_index_for_x(&self, x: Pixels, last_layout: &Last... method closest_index_for_position (line 477) | pub(crate) fn closest_index_for_position( method index_for_position (line 505) | pub(crate) fn index_for_position( method size (line 527) | pub(crate) fn size(&self, line_height: Pixels) -> Size { method paint (line 531) | pub(crate) fn paint( function test_update (line 577) | fn test_update() { function test_line_layout (line 774) | fn test_line_layout() { function test_offset_to_display_point (line 786) | fn test_offset_to_display_point() { FILE: crates/ui/src/input/display_map/wrap_map.rs type WrapMap (line 18) | pub struct WrapMap { method new (line 37) | pub fn new(font: Font, font_size: Pixels, wrap_width: Option) ... method wrap_row_count (line 48) | pub fn wrap_row_count(&self) -> usize { method buffer_line_count (line 54) | pub fn buffer_line_count(&self) -> usize { method buffer_pos_to_wrap_pos (line 59) | pub(super) fn buffer_pos_to_wrap_pos(&self, pos: BufferPoint) -> WrapP... method wrap_pos_to_buffer_pos (line 83) | pub(super) fn wrap_pos_to_buffer_pos(&self, pos: WrapPoint) -> BufferP... method wrap_row_to_buffer_line (line 102) | pub fn wrap_row_to_buffer_line(&self, wrap_row: usize) -> usize { method buffer_line_to_first_wrap_row (line 115) | pub fn buffer_line_to_first_wrap_row(&self, line: usize) -> usize { method buffer_line_to_wrap_row_range (line 123) | pub fn buffer_line_to_wrap_row_range(&self, line: usize) -> Range, cx: &m... method set_font (line 152) | pub fn set_font(&mut self, font: Font, font_size: Pixels, cx: &mut App) { method ensure_text_prepared (line 158) | pub fn ensure_text_prepared(&mut self, text: &Rope, cx: &mut App) -> b... method set_text (line 167) | pub fn set_text(&mut self, text: &Rope, cx: &mut App) { method rebuild_cache (line 174) | fn rebuild_cache(&mut self) { method wrapper (line 201) | pub(crate) fn wrapper(&self) -> &TextWrapper { method lines (line 206) | pub(crate) fn lines(&self) -> &[LineItem] { method text (line 211) | pub fn text(&self) -> &Rope { method visible_wrap_row_count_for_line (line 216) | pub fn visible_wrap_row_count_for_line(&self, line: usize, fold_map: &... FILE: crates/ui/src/input/element.rs constant BOTTOM_MARGIN_ROWS (line 21) | const BOTTOM_MARGIN_ROWS: usize = 3; constant RIGHT_MARGIN (line 22) | pub(super) const RIGHT_MARGIN: Pixels = px(10.); constant LINE_NUMBER_RIGHT_MARGIN (line 23) | pub(super) const LINE_NUMBER_RIGHT_MARGIN: Pixels = px(10.); constant FOLD_ICON_WIDTH (line 24) | const FOLD_ICON_WIDTH: Pixels = px(14.); constant FOLD_ICON_HITBOX_WIDTH (line 25) | const FOLD_ICON_HITBOX_WIDTH: Pixels = px(18.); constant MAX_HIGHLIGHT_LINE_LENGTH (line 26) | const MAX_HIGHLIGHT_LINE_LENGTH: usize = 10_000; type FoldIconLayout (line 29) | struct FoldIconLayout { type TextElement (line 36) | pub(super) struct TextElement { method new (line 42) | pub(super) fn new(state: Entity) -> Self { method placeholder (line 50) | pub fn placeholder(mut self, placeholder: impl Into) -> ... method paint_mouse_listeners (line 55) | fn paint_mouse_listeners(&mut self, window: &mut Window, _: &mut App) { method layout_cursor (line 76) | fn layout_cursor( method layout_match_range (line 279) | pub(crate) fn layout_match_range( method layout_search_matches (line 415) | fn layout_search_matches( method layout_hover_highlight (line 444) | fn layout_hover_highlight( method layout_document_colors (line 461) | fn layout_document_colors( method layout_selections (line 478) | fn layout_selections( method calculate_visible_range (line 525) | fn calculate_visible_range( method layout_line_numbers (line 581) | fn layout_line_numbers( method layout_whitespace_indicators (line 629) | fn layout_whitespace_indicators( method layout_inline_completion (line 688) | fn layout_inline_completion( method layout_fold_icons (line 773) | fn layout_fold_icons( method paint_fold_icons (line 896) | fn paint_fold_icons( method layout_lines (line 916) | fn layout_lines( method highlight_lines (line 1011) | fn highlight_lines( type PrepaintState (line 1099) | pub(super) struct PrepaintState { method cursor_bounds_with_scroll (line 1131) | fn cursor_bounds_with_scroll(&self) -> Option> { type Element (line 1140) | type Element = Self; method into_element (line 1142) | fn into_element(self) -> Self::Element { function print_points_as_svg_path (line 1149) | fn print_points_as_svg_path( type RequestLayoutState (line 1180) | type RequestLayoutState = (); type PrepaintState (line 1181) | type PrepaintState = PrepaintState; method id (line 1183) | fn id(&self) -> Option { method source_location (line 1187) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 1191) | fn request_layout( method prepaint (line 1221) | fn prepaint( method paint (line 1577) | fn paint( function runs_for_range (line 1882) | pub(super) fn runs_for_range( function split_runs_by_bg_segments (line 1918) | fn split_runs_by_bg_segments( function test_runs_for_range (line 1985) | fn test_runs_for_range() { function test_split_runs_by_bg_segments (line 2043) | fn test_split_runs_by_bg_segments() { FILE: crates/ui/src/input/indent.rs type TabSize (line 16) | pub struct TabSize { method to_string (line 33) | pub(super) fn to_string(&self) -> SharedString { method indent_count (line 42) | pub fn indent_count(&self, line: &RopeSlice) -> usize { method default (line 24) | fn default() -> Self { method is_indentable (line 58) | pub(super) fn is_indentable(&self) -> bool { method has_indent_guides (line 68) | pub(super) fn has_indent_guides(&self) -> bool { method tab_size (line 80) | pub(super) fn tab_size(&self) -> TabSize { method measure_indent_width (line 91) | fn measure_indent_width(&self, style: &TextStyle, column: usize, window:... method layout_indent_guides (line 110) | pub(super) fn layout_indent_guides( method indent_guides (line 176) | pub fn indent_guides(mut self, indent_guides: bool) -> Self { method set_indent_guides (line 190) | pub fn set_indent_guides( method tab_size (line 209) | pub fn tab_size(mut self, tab: TabSize) -> Self { method indent_inline (line 219) | pub(super) fn indent_inline( method indent_block (line 232) | pub(super) fn indent_block(&mut self, _: &Indent, window: &mut Window, c... method outdent_inline (line 236) | pub(super) fn outdent_inline( method outdent_block (line 245) | pub(super) fn outdent_block( method indent (line 254) | pub(super) fn indent(&mut self, block: bool, window: &mut Window, cx: &m... method outdent (line 312) | pub(super) fn outdent(&mut self, block: bool, window: &mut Window, cx: &... function test_tab_size (line 394) | fn test_tab_size() { function test_tab_size_indent_count (line 419) | fn test_tab_size_indent_count() { FILE: crates/ui/src/input/input.rs function input_style (line 21) | pub(crate) fn input_style(disabled: bool, cx: &App) -> (Hsla, Hsla) { type Input (line 34) | pub struct Input { method new (line 71) | pub fn new(state: &Entity) -> Self { method prefix (line 90) | pub fn prefix(mut self, prefix: impl IntoElement) -> Self { method suffix (line 95) | pub fn suffix(mut self, suffix: impl IntoElement) -> Self { method h_full (line 101) | pub fn h_full(mut self) -> Self { method h (line 107) | pub fn h(mut self, height: impl Into) -> Self { method appearance (line 113) | pub fn appearance(mut self, appearance: bool) -> Self { method bordered (line 119) | pub fn bordered(mut self, bordered: bool) -> Self { method focus_bordered (line 125) | pub fn focus_bordered(mut self, bordered: bool) -> Self { method cleanable (line 131) | pub fn cleanable(mut self, cleanable: bool) -> Self { method mask_toggle (line 137) | pub fn mask_toggle(mut self) -> Self { method disabled (line 143) | pub fn disabled(mut self, disabled: bool) -> Self { method tab_index (line 149) | pub fn tab_index(mut self, index: isize) -> Self { method render_toggle_mask_button (line 154) | fn render_toggle_mask_button(state: Entity) -> impl IntoEl... method render_editor (line 179) | fn render_editor( method with_size (line 52) | fn with_size(mut self, size: impl Into) -> Self { method selected (line 59) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 64) | fn is_selected(&self) -> bool { method style (line 248) | fn style(&mut self) -> &mut StyleRefinement { method render (line 254) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/input/lsp/code_actions.rs type CodeActionProvider (line 11) | pub trait CodeActionProvider { method id (line 13) | fn id(&self) -> SharedString; method code_actions (line 20) | fn code_actions( method perform_code_action (line 29) | fn perform_code_action( method on_action_toggle_code_actions (line 40) | pub(crate) fn on_action_toggle_code_actions( method handle_code_action_trigger (line 50) | pub(crate) fn handle_code_action_trigger( method perform_code_action (line 118) | pub(crate) fn perform_code_action( FILE: crates/ui/src/input/lsp/completions.rs constant DEFAULT_INLINE_COMPLETION_DEBOUNCE (line 17) | const DEFAULT_INLINE_COMPLETION_DEBOUNCE: Duration = Duration::from_mill... type CompletionProvider (line 20) | pub trait CompletionProvider { method completions (line 28) | fn completions( method inline_completion (line 51) | fn inline_completion( method inline_completion_debounce (line 66) | fn inline_completion_debounce(&self) -> Duration { method resolve_completions (line 70) | fn resolve_completions( method is_completion_trigger (line 82) | fn is_completion_trigger( type InlineCompletion (line 90) | pub(crate) struct InlineCompletion { method default (line 98) | fn default() -> Self { method handle_completion_trigger (line 107) | pub(crate) fn handle_completion_trigger( method schedule_inline_completion (line 210) | pub(crate) fn schedule_inline_completion( method has_inline_completion (line 283) | pub(crate) fn has_inline_completion(&self) -> bool { method clear_inline_completion (line 288) | pub(crate) fn clear_inline_completion(&mut self, cx: &mut Context) { method accept_inline_completion (line 295) | pub(crate) fn accept_inline_completion( FILE: crates/ui/src/input/lsp/definitions.rs type DefinitionProvider (line 16) | pub trait DefinitionProvider { method definitions (line 20) | fn definitions( type HoverDefinition (line 30) | pub(crate) struct HoverDefinition { method update (line 38) | pub(crate) fn update( method is_empty (line 48) | pub(crate) fn is_empty(&self) -> bool { method clear (line 52) | pub(crate) fn clear(&mut self) { method is_same (line 61) | pub(crate) fn is_same(&self, offset: usize) -> bool { method handle_hover_definition (line 67) | pub(crate) fn handle_hover_definition( method on_action_go_to_definition (line 111) | pub(crate) fn on_action_go_to_definition( method handle_click_hover_definition (line 130) | pub(crate) fn handle_click_hover_definition( method go_to_definition (line 157) | pub(crate) fn go_to_definition( method layout_hover_definition (line 182) | pub(crate) fn layout_hover_definition( method layout_hover_definition_hitbox (line 213) | pub(crate) fn layout_hover_definition_hitbox( FILE: crates/ui/src/input/lsp/document_colors.rs type DocumentColorProvider (line 10) | pub trait DocumentColorProvider { method document_colors (line 16) | fn document_colors( method document_colors_for_range (line 28) | pub(crate) fn document_colors_for_range( method update_document_colors (line 50) | pub(crate) fn update_document_colors( FILE: crates/ui/src/input/lsp/hover.rs type HoverProvider (line 11) | pub trait HoverProvider { method hover (line 15) | fn hover( method handle_hover_popover (line 26) | pub(super) fn handle_hover_popover( FILE: crates/ui/src/input/lsp/mod.rs type Lsp (line 23) | pub struct Lsp { method update (line 57) | pub(crate) fn update( method reset (line 67) | pub(crate) fn reset(&mut self) { method default (line 41) | fn default() -> Self { method hide_context_menu (line 75) | pub(crate) fn hide_context_menu(&mut self, cx: &mut Context) { method is_context_menu_open (line 81) | pub(crate) fn is_context_menu_open(&self, cx: &App) -> bool { method handle_action_for_context_menu (line 92) | pub fn handle_action_for_context_menu( method apply_lsp_edits (line 122) | pub fn apply_lsp_edits( method handle_mouse_move (line 137) | pub(super) fn handle_mouse_move( FILE: crates/ui/src/input/mask_pattern.rs type MaskToken (line 4) | pub enum MaskToken { method is_any (line 22) | pub fn is_any(&self) -> bool { method is_match (line 29) | fn is_match(&self, ch: char) -> bool { method is_sep (line 40) | fn is_sep(&self) -> bool { method is_number (line 45) | pub fn is_number(&self) -> bool { method placeholder (line 49) | pub fn placeholder(&self) -> char { method mask_char (line 56) | fn mask_char(&self, ch: char) -> char { method unmask_char (line 64) | fn unmask_char(&self, ch: char) -> Option { type MaskPattern (line 76) | pub enum MaskPattern { method from (line 92) | fn from(pattern: &str) -> Self { method new (line 112) | pub fn new(pattern: &str) -> Self { method tokens (line 132) | fn tokens(&self) -> Option<&Vec> { method number (line 141) | pub fn number(sep: Option) -> Self { method placeholder (line 148) | pub fn placeholder(&self) -> Option { method is_none (line 159) | pub fn is_none(&self) -> bool { method is_valid (line 170) | pub fn is_valid(&self, mask_text: &str) -> bool { method is_valid_at (line 244) | pub fn is_valid_at(&self, ch: char, pos: usize) -> bool { method mask (line 280) | pub fn mask(&self, text: &str) -> SharedString { method unmask (line 371) | pub fn unmask(&self, mask_text: &str) -> String { function is_sign (line 412) | fn is_sign(ch: &char) -> bool { function test_is_match (line 421) | fn test_is_match() { function test_mask_none (line 449) | fn test_mask_none() { function test_mask_pattern1 (line 458) | fn test_mask_pattern1() { function test_mask_pattern2 (line 509) | fn test_mask_pattern2() { function test_number_with_group_separator (line 540) | fn test_number_with_group_separator() { function test_number_with_fraction_digits (line 568) | fn test_number_with_fraction_digits() { function test_signed_number_numbers (line 598) | fn test_signed_number_numbers() { FILE: crates/ui/src/input/mode.rs type PendingBackgroundParse (line 14) | pub(super) struct PendingBackgroundParse { type InputMode (line 22) | pub(crate) enum InputMode { method plain_text (line 60) | pub(super) fn plain_text() -> Self { method code_editor (line 69) | pub(super) fn code_editor(language: impl Into) -> Self { method auto_grow (line 85) | pub(super) fn auto_grow(min_rows: usize, max_rows: usize) -> Self { method multi_line (line 93) | pub(super) fn multi_line(mut self, multi_line: bool) -> Self { method is_single_line (line 103) | pub(super) fn is_single_line(&self) -> bool { method is_code_editor (line 108) | pub(super) fn is_code_editor(&self) -> bool { method is_folding (line 114) | pub(crate) fn is_folding(&self) -> bool { method is_auto_grow (line 130) | pub(super) fn is_auto_grow(&self) -> bool { method is_multi_line (line 135) | pub(super) fn is_multi_line(&self) -> bool { method set_rows (line 143) | pub(super) fn set_rows(&mut self, new_rows: usize) { method update_auto_grow (line 161) | pub(super) fn update_auto_grow(&mut self, display_map: &DisplayMap) { method rows (line 171) | pub(super) fn rows(&self) -> usize { method min_rows (line 186) | pub(super) fn min_rows(&self) -> usize { method max_rows (line 195) | pub(super) fn max_rows(&self) -> usize { method line_number (line 208) | pub(super) fn line_number(&self) -> bool { method update_highlighter (line 224) | pub(super) fn update_highlighter( method diagnostics (line 300) | pub(super) fn diagnostics(&self) -> Option<&DiagnosticSet> { method diagnostics_mut (line 307) | pub(super) fn diagnostics_mut(&mut self) -> Option<&mut DiagnosticSet> { method highlighter (line 315) | pub(super) fn highlighter(&self) -> Option<&Rc Self { function test_code_editor (line 333) | fn test_code_editor() { function test_plain (line 367) | fn test_plain() { function test_auto_grow (line 391) | fn test_auto_grow() { FILE: crates/ui/src/input/movement.rs type MoveDirection (line 9) | pub(crate) enum MoveDirection { method update_preferred_column (line 16) | pub(super) fn update_preferred_column(&mut self) { method move_to (line 41) | pub(crate) fn move_to( method move_vertical (line 60) | pub(super) fn move_vertical( method left (line 138) | pub(super) fn left(&mut self, _: &MoveLeft, _: &mut Window, cx: &mut Con... method right (line 147) | pub(super) fn right(&mut self, _: &MoveRight, _: &mut Window, cx: &mut C... method up (line 156) | pub(super) fn up(&mut self, action: &MoveUp, window: &mut Window, cx: &m... method down (line 176) | pub(super) fn down(&mut self, action: &MoveDown, window: &mut Window, cx... method page_up (line 197) | pub(super) fn page_up(&mut self, _: &MovePageUp, window: &mut Window, cx... method page_down (line 210) | pub(super) fn page_down( method home (line 228) | pub(super) fn home(&mut self, _: &MoveHome, _: &mut Window, cx: &mut Con... method end (line 234) | pub(super) fn end(&mut self, _: &MoveEnd, _: &mut Window, cx: &mut Conte... method move_to_start (line 240) | pub(super) fn move_to_start( method move_to_end (line 249) | pub(super) fn move_to_end(&mut self, _: &MoveToEnd, _: &mut Window, cx: ... method move_to_previous_word (line 253) | pub(super) fn move_to_previous_word( method move_to_next_word (line 263) | pub(super) fn move_to_next_word( FILE: crates/ui/src/input/number_input.rs constant CONTEXT (line 15) | const CONTEXT: &str = "NumberInput"; function init (line 16) | pub fn init(cx: &mut App) { type NumberInput (line 25) | pub struct NumberInput { method new (line 38) | pub fn new(state: &Entity) -> Self { method placeholder (line 52) | pub fn placeholder(mut self, placeholder: impl Into) -> ... method prefix (line 58) | pub fn prefix(mut self, prefix: impl IntoElement) -> Self { method suffix (line 64) | pub fn suffix(mut self, suffix: impl IntoElement) -> Self { method appearance (line 70) | pub fn appearance(mut self, appearance: bool) -> Self { method on_increment (line 75) | fn on_increment(state: &Entity, window: &mut Window, cx: &... method on_decrement (line 82) | fn on_decrement(state: &Entity, window: &mut Window, cx: &... method disabled (line 91) | fn disabled(mut self, disabled: bool) -> Self { method on_action_increment (line 98) | fn on_action_increment(&mut self, _: &Increment, window: &mut Window, cx... method on_action_decrement (line 102) | fn on_action_decrement(&mut self, _: &Decrement, window: &mut Window, cx... method on_number_input_step (line 106) | fn on_number_input_step(&mut self, action: StepAction, _: &mut Window, c... type StepAction (line 116) | pub enum StepAction { type NumberInputEvent (line 120) | pub enum NumberInputEvent { method focus_handle (line 126) | fn focus_handle(&self, cx: &App) -> FocusHandle { method with_size (line 132) | fn with_size(mut self, size: impl Into) -> Self { method style (line 139) | fn style(&mut self) -> &mut StyleRefinement { method render (line 145) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/input/otp_input.rs type OtpState (line 11) | pub struct OtpState { method new (line 22) | pub fn new(length: usize, window: &mut Window, cx: &mut Context)... method default_value (line 55) | pub fn default_value(mut self, value: impl Into) -> Self { method set_value (line 61) | pub fn set_value( method value (line 72) | pub fn value(&self) -> &SharedString { method masked (line 77) | pub fn masked(mut self, masked: bool) -> Self { method set_masked (line 83) | pub fn set_masked(&mut self, masked: bool, _: &mut Window, cx: &mut Co... method focus (line 89) | pub fn focus(&self, window: &mut Window, cx: &mut Context) { method on_input_mouse_down (line 93) | fn on_input_mouse_down( method on_key_down (line 102) | fn on_key_down(&mut self, event: &KeyDownEvent, window: &mut Window, c... method on_focus (line 143) | fn on_focus(&mut self, _: &mut Window, cx: &mut Context) { method on_blur (line 150) | fn on_blur(&mut self, _: &mut Window, cx: &mut Context) { method pause_blink_cursor (line 157) | fn pause_blink_cursor(&mut self, cx: &mut Context) { method focus_handle (line 164) | fn focus_handle(&self, _: &gpui::App) -> FocusHandle { method render (line 170) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type OtpInput (line 184) | pub struct OtpInput { method new (line 193) | pub fn new(state: &Entity) -> Self { method groups (line 203) | pub fn groups(mut self, n: usize) -> Self { method disabled (line 209) | fn disabled(mut self, disabled: bool) -> Self { method with_size (line 215) | fn with_size(mut self, size: impl Into) -> Self { method render (line 221) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/input/popovers/code_action_menu.rs constant MAX_MENU_WIDTH (line 11) | const MAX_MENU_WIDTH: Pixels = px(320.); constant MAX_MENU_HEIGHT (line 12) | const MAX_MENU_HEIGHT: Pixels = px(480.); type CodeActionItem (line 21) | pub(crate) struct CodeActionItem { type MenuDelegate (line 27) | struct MenuDelegate { method set_items (line 34) | fn set_items(&mut self, items: Vec) { method selected_item (line 39) | fn selected_item(&self) -> Option<&Rc> { type MenuItem (line 45) | struct MenuItem { method new (line 53) | fn new(ix: usize, item: Rc) -> Self { method selected (line 63) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 68) | fn is_selected(&self) -> bool { method extend (line 74) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 79) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type Item (line 106) | type Item = MenuItem; method items_count (line 108) | fn items_count(&self, _: usize, _: &gpui::App) -> usize { method render_item (line 112) | fn render_item( method set_selected_index (line 122) | fn set_selected_index( method confirm (line 132) | fn confirm(&mut self, _: bool, window: &mut Window, cx: &mut Context) { method on_action_up (line 248) | fn on_action_up(&mut self, window: &mut Window, cx: &mut Context) { method on_action_down (line 254) | fn on_action_down(&mut self, window: &mut Window, cx: &mut Context bool { method hide (line 265) | pub(crate) fn hide(&mut self, cx: &mut Context) { method show (line 270) | pub(crate) fn show( method origin (line 288) | fn origin(&self, cx: &App) -> Option> { method render (line 307) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/input/popovers/completion_menu.rs constant MAX_MENU_WIDTH (line 11) | const MAX_MENU_WIDTH: Pixels = px(320.); constant MAX_MENU_HEIGHT (line 12) | const MAX_MENU_HEIGHT: Pixels = px(240.); constant POPOVER_GAP (line 13) | const POPOVER_GAP: Pixels = px(4.); type ContextMenuDelegate (line 25) | struct ContextMenuDelegate { method set_items (line 33) | fn set_items(&mut self, items: Vec) { method selected_item (line 38) | fn selected_item(&self) -> Option<&Rc> { type CompletionMenuItem (line 44) | struct CompletionMenuItem { method new (line 53) | fn new(ix: usize, item: Rc) -> Self { method highlight_prefix (line 63) | fn highlight_prefix(mut self, s: impl Into) -> Self { method selected (line 69) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 74) | fn is_selected(&self) -> bool { method extend (line 80) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 85) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type Item (line 133) | type Item = CompletionMenuItem; method items_count (line 135) | fn items_count(&self, _: usize, _: &gpui::App) -> usize { method render_item (line 139) | fn render_item( method set_selected_index (line 149) | fn set_selected_index( method confirm (line 159) | fn confirm(&mut self, _: bool, window: &mut Window, cx: &mut Context) { method on_action_up (line 311) | fn on_action_up(&mut self, window: &mut Window, cx: &mut Context) { method on_action_down (line 317) | fn on_action_down(&mut self, window: &mut Window, cx: &mut Context bool { method hide (line 328) | pub(crate) fn hide(&mut self, cx: &mut Context) { method update_query (line 335) | pub(crate) fn update_query(&mut self, start_offset: usize, query: impl... method show (line 342) | pub(crate) fn show( method origin (line 371) | fn origin(&self, cx: &App) -> Option> { method render (line 390) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/input/popovers/context_menu.rs type MouseContextMenu (line 16) | pub(crate) struct MouseContextMenu { method new (line 98) | pub(crate) fn new( method is_open (line 123) | pub(crate) fn is_open(&self) -> bool { method close (line 128) | pub(crate) fn close(&mut self, window: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/ui/src/input/popovers/diagnostic_popover.rs type DiagnosticPopover (line 16) | pub struct DiagnosticPopover { method new (line 24) | pub fn new( method show (line 39) | pub(crate) fn show(&mut self, cx: &mut Context) { method hide (line 44) | pub(crate) fn hide(&mut self, cx: &mut Context) { method check_to_hide (line 49) | pub(crate) fn check_to_hide(&mut self, mouse_position: Point, ... method render (line 67) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... FILE: crates/ui/src/input/popovers/hover_popover.rs type HoverPopover (line 15) | pub struct HoverPopover { method new (line 23) | pub fn new( method is_same (line 38) | pub(crate) fn is_same(&self, offset: usize) -> bool { method render (line 44) | fn render(&mut self, _: &mut Window, _: &mut gpui::Context) -> imp... type Popover (line 71) | pub(crate) struct Popover { method new (line 87) | pub fn new( method trigger_bounds (line 108) | fn trigger_bounds(&self, cx: &App) -> Option> { method style (line 81) | fn style(&mut self) -> &mut StyleRefinement { type Element (line 136) | type Element = Self; method into_element (line 138) | fn into_element(self) -> Self::Element { type PopoverLayoutState (line 143) | pub(crate) struct PopoverLayoutState { type RequestLayoutState (line 150) | type RequestLayoutState = PopoverLayoutState; type PrepaintState (line 151) | type PrepaintState = (); method id (line 153) | fn id(&self) -> Option { method source_location (line 157) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 161) | fn request_layout( method prepaint (line 241) | fn prepaint( method paint (line 260) | fn paint( FILE: crates/ui/src/input/popovers/mod.rs type ContextMenu (line 23) | pub(crate) enum ContextMenu { method is_open (line 30) | pub(crate) fn is_open(&self, cx: &App) -> bool { method render (line 38) | pub(crate) fn render(&self) -> impl IntoElement { function render_markdown (line 47) | pub(super) fn render_markdown( function editor_popover (line 72) | pub(super) fn editor_popover(id: impl Into, cx: &App) -> Stat... FILE: crates/ui/src/input/rope_ext.rs type Point (line 12) | pub struct Point { method new (line 19) | pub fn new(row: usize, column: usize) -> Self { type InputEdit (line 27) | pub struct InputEdit { type RopeLines (line 39) | pub struct RopeLines<'a> { function new (line 47) | pub fn new(rope: &'a Rope) -> Self { type Item (line 57) | type Item = RopeSlice<'a>; method next (line 60) | fn next(&mut self) -> Option { method nth (line 71) | fn nth(&mut self, n: usize) -> Option { method size_hint (line 77) | fn size_hint(&self) -> (usize, Option) { type RopeExt (line 87) | pub trait RopeExt { method line_start_offset (line 99) | fn line_start_offset(&self, row: usize) -> usize; method line_end_offset (line 111) | fn line_end_offset(&self, row: usize) -> usize; method slice_line (line 123) | fn slice_line(&self, row: usize) -> RopeSlice<'_>; method slice_lines (line 138) | fn slice_lines(&self, rows_range: Range) -> RopeSlice<'_>; method iter_lines (line 150) | fn iter_lines(&self) -> RopeLines<'_>; method lines_len (line 159) | fn lines_len(&self) -> usize; method line_len (line 173) | fn line_len(&self, row: usize) -> usize; method replace (line 188) | fn replace(&mut self, range: Range, new_text: &str); method char_at (line 194) | fn char_at(&self, offset: usize) -> Option; method position_to_offset (line 199) | fn position_to_offset(&self, line_col: &Position) -> usize; method offset_to_position (line 204) | fn offset_to_position(&self, offset: usize) -> Position; method offset_to_point (line 209) | fn offset_to_point(&self, offset: usize) -> Point; method point_to_offset (line 214) | fn point_to_offset(&self, point: Point) -> usize; method word_range (line 217) | fn word_range(&self, offset: usize) -> Option>; method word_at (line 220) | fn word_at(&self, offset: usize) -> String; method offset_utf16_to_offset (line 225) | fn offset_utf16_to_offset(&self, offset_utf16: usize) -> usize; method offset_to_offset_utf16 (line 230) | fn offset_to_offset_utf16(&self, offset: usize) -> usize; method clip_offset (line 248) | fn clip_offset(&self, offset: usize, bias: Bias) -> usize; method char_index_to_offset (line 264) | fn char_index_to_offset(&self, char_index: usize) -> usize; method offset_to_char_index (line 280) | fn offset_to_char_index(&self, offset: usize) -> usize; method slice_line (line 284) | fn slice_line(&self, row: usize) -> RopeSlice<'_> { method slice_lines (line 301) | fn slice_lines(&self, rows_range: Range) -> RopeSlice<'_> { method iter_lines (line 307) | fn iter_lines(&self) -> RopeLines<'_> { method line_len (line 311) | fn line_len(&self, row: usize) -> usize { method line_start_offset (line 315) | fn line_start_offset(&self, row: usize) -> usize { method offset_to_point (line 319) | fn offset_to_point(&self, offset: usize) -> Point { method point_to_offset (line 327) | fn point_to_offset(&self, point: Point) -> usize { method position_to_offset (line 336) | fn position_to_offset(&self, pos: &Position) -> usize { method offset_to_position (line 346) | fn offset_to_position(&self, offset: usize) -> Position { method line_end_offset (line 354) | fn line_end_offset(&self, row: usize) -> usize { method lines_len (line 362) | fn lines_len(&self) -> usize { method char_at (line 366) | fn char_at(&self, offset: usize) -> Option { method word_range (line 374) | fn word_range(&self, offset: usize) -> Option> { method word_at (line 400) | fn word_at(&self, offset: usize) -> String { method offset_utf16_to_offset (line 409) | fn offset_utf16_to_offset(&self, offset_utf16: usize) -> usize { method offset_to_offset_utf16 (line 418) | fn offset_to_offset_utf16(&self, offset: usize) -> usize { method replace (line 426) | fn replace(&mut self, range: Range, new_text: &str) { method clip_offset (line 433) | fn clip_offset(&self, offset: usize, bias: Bias) -> usize { method char_index_to_offset (line 449) | fn char_index_to_offset(&self, char_offset: usize) -> usize { method offset_to_char_index (line 453) | fn offset_to_char_index(&self, offset: usize) -> usize { function test_slice_line (line 468) | fn test_slice_line() { function test_lines_len (line 485) | fn test_lines_len() { function test_lines (line 499) | fn test_lines() { function test_eq (line 509) | fn test_eq() { function test_iter_lines (line 519) | fn test_iter_lines() { function test_line_start_end_offset (line 531) | fn test_line_start_end_offset() { function test_line_column (line 550) | fn test_line_column() { function test_offset_to_point (line 573) | fn test_offset_to_point() { function test_point_to_offset (line 586) | fn test_point_to_offset() { function test_char_at (line 599) | fn test_char_at() { function test_word_at (line 611) | fn test_word_at() { function test_offset_utf16_conversion (line 631) | fn test_offset_utf16_conversion() { function test_replace (line 647) | fn test_replace() { function test_clip_offset (line 685) | fn test_clip_offset() { function test_char_index_to_offset (line 708) | fn test_char_index_to_offset() { FILE: crates/ui/src/input/search.rs constant CONTEXT (line 25) | const CONTEXT: &'static str = "SearchPanel"; function init (line 29) | pub(super) fn init(cx: &mut App) { type SearchMatcher (line 38) | pub struct SearchMatcher { method new (line 49) | pub fn new() -> Self { method update (line 60) | pub(crate) fn update(&mut self, text: &Rope) { method update_matches (line 69) | fn update_matches(&mut self) { method update_query (line 89) | pub fn update_query(&mut self, query: &str, case_insensitive: bool) { method len (line 106) | fn len(&self) -> usize { method peek (line 110) | fn peek(&self) -> Option> { method label (line 114) | fn label(&self) -> String { method update_cursor_by_offset (line 122) | fn update_cursor_by_offset(&mut self, offset: usize) { type Item (line 133) | type Item = Range; method next (line 135) | fn next(&mut self) -> Option { method next_back (line 151) | fn next_back(&mut self) -> Option { type SearchPanel (line 167) | pub(super) struct SearchPanel { method new (line 222) | pub fn new(editor: Entity, window: &mut Window, cx: &mut A... method show (line 254) | pub(super) fn show( method update_search_query (line 276) | fn update_search_query(&mut self, cx: &mut Context) { method hide (line 295) | pub(super) fn hide(&mut self, window: &mut Window, cx: &mut Context) { method next (line 325) | fn next(&mut self, _: &mut Window, cx: &mut Context) { method matcher (line 333) | pub(super) fn matcher(&self) -> Option<&SearchMatcher> { method replace_next (line 341) | fn replace_next(&mut self, window: &mut Window, cx: &mut Context) { method replace_all (line 371) | fn replace_all(&mut self, window: &mut Window, cx: &mut Context) { method update_search (line 182) | pub(super) fn update_search(&mut self, cx: &mut App) { method on_action_search (line 193) | pub(super) fn on_action_search( method focus_handle (line 403) | fn focus_handle(&self, cx: &App) -> FocusHandle { method render (line 409) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function test_search (line 574) | fn test_search() { function test_search_label (line 602) | fn test_search_label() { function test_select_range_start (line 619) | fn test_select_range_start() { FILE: crates/ui/src/input/selection.rs type CharType (line 10) | enum CharType { method from (line 46) | fn from(c: char) -> Self { method is_connectable (line 58) | fn is_connectable(self, c: char) -> bool { function is_word_char (line 22) | fn is_word_char(c: char) -> bool { method select_word (line 72) | pub(super) fn select_word(&mut self, offset: usize, _: &mut Window, cx: ... method select_line (line 85) | pub(super) fn select_line(&mut self, offset: usize, _: &mut Window, cx: ... type TextSelector (line 93) | struct TextSelector; method line_range (line 100) | pub fn line_range(text: &Rope, offset: usize) -> Range { method word_range (line 114) | pub fn word_range(text: &Rope, offset: usize) -> Option> { function test_char_type_from_char (line 152) | fn test_char_type_from_char() { function test_word_range (line 180) | fn test_word_range() { function test_line_range (line 229) | fn test_line_range() { FILE: crates/ui/src/input/state.rs type Enter (line 44) | pub struct Enter { type InputEvent (line 97) | pub enum InputEvent { constant CONTEXT (line 104) | pub(super) const CONTEXT: &str = "Input"; function init (line 106) | pub(crate) fn init(cx: &mut App) { type WhitespaceIndicators (line 236) | pub(crate) struct WhitespaceIndicators { type LastLayout (line 244) | pub(super) struct LastLayout { method line (line 278) | pub(crate) fn line(&self, row: usize) -> Option<&LineLayout> { method alignment_offset (line 284) | pub(super) fn alignment_offset(&self, line_width: Pixels) -> Pixels { type InputState (line 294) | pub struct InputState { method new (line 378) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method multi_line (line 457) | pub fn multi_line(mut self, multi_line: bool) -> Self { method auto_grow (line 463) | pub fn auto_grow(mut self, min_rows: usize, max_rows: usize) -> Self { method code_editor (line 489) | pub fn code_editor(mut self, language: impl Into) -> Self { method searchable (line 497) | pub fn searchable(mut self, searchable: bool) -> Self { method placeholder (line 504) | pub fn placeholder(mut self, placeholder: impl Into) -> ... method folding (line 512) | pub fn folding(mut self, folding: bool) -> Self { method set_folding (line 523) | pub fn set_folding(&mut self, folding: bool, _: &mut Window, cx: &mut ... method line_number (line 535) | pub fn line_number(mut self, line_number: bool) -> Self { method set_line_number (line 544) | pub fn set_line_number(&mut self, line_number: bool, _: &mut Window, c... method rows (line 557) | pub fn rows(mut self, rows: usize) -> Self { method set_highlighter (line 575) | pub fn set_highlighter( method reset_highlighter (line 596) | fn reset_highlighter(&mut self, cx: &mut Context) { method diagnostics (line 612) | pub fn diagnostics(&self) -> Option<&DiagnosticSet> { method diagnostics_mut (line 617) | pub fn diagnostics_mut(&mut self) -> Option<&mut DiagnosticSet> { method set_placeholder (line 622) | pub fn set_placeholder( method line_and_position_for_offset (line 639) | pub(super) fn line_and_position_for_offset( method set_value (line 666) | pub fn set_value( method insert (line 697) | pub fn insert( method replace (line 715) | pub fn replace( method replace_text (line 729) | fn replace_text( method disabled (line 748) | pub(crate) fn disabled(mut self, disabled: bool) -> Self { method masked (line 756) | pub fn masked(mut self, masked: bool) -> Self { method set_masked (line 765) | pub fn set_masked(&mut self, masked: bool, _: &mut Window, cx: &mut Co... method clean_on_escape (line 772) | pub fn clean_on_escape(mut self) -> Self { method soft_wrap (line 778) | pub fn soft_wrap(mut self, wrap: bool) -> Self { method show_whitespaces (line 785) | pub fn show_whitespaces(mut self, show: bool) -> Self { method set_soft_wrap (line 791) | pub fn set_soft_wrap(&mut self, wrap: bool, _: &mut Window, cx: &mut C... method set_show_whitespaces (line 814) | pub fn set_show_whitespaces(&mut self, show: bool, _: &mut Window, cx:... method pattern (line 822) | pub fn pattern(mut self, pattern: regex::Regex) -> Self { method set_pattern (line 831) | pub fn set_pattern( method validate (line 844) | pub fn validate(mut self, f: impl Fn(&str, &mut Context) -> bool... method set_loading (line 853) | pub fn set_loading(&mut self, loading: bool, _: &mut Window, cx: &mut ... method default_value (line 860) | pub fn default_value(mut self, value: impl Into) -> Self { method value (line 873) | pub fn value(&self) -> SharedString { method selected_value (line 879) | pub fn selected_value(&self) -> SharedString { method unmask_value (line 884) | pub fn unmask_value(&self) -> SharedString { method text (line 889) | pub fn text(&self) -> &Rope { method cursor_position (line 894) | pub fn cursor_position(&self) -> Position { method set_cursor_position (line 902) | pub fn set_cursor_position( method focus (line 917) | pub fn focus(&self, window: &mut Window, cx: &mut Context) { method select_left (line 924) | pub(super) fn select_left(&mut self, _: &SelectLeft, _: &mut Window, c... method select_right (line 928) | pub(super) fn select_right(&mut self, _: &SelectRight, _: &mut Window,... method select_up (line 932) | pub(super) fn select_up(&mut self, _: &SelectUp, _: &mut Window, cx: &... method select_down (line 940) | pub(super) fn select_down(&mut self, _: &SelectDown, _: &mut Window, c... method select_all (line 948) | pub(super) fn select_all(&mut self, _: &SelectAll, _: &mut Window, cx:... method select_to_start (line 953) | pub(super) fn select_to_start( method select_to_end (line 962) | pub(super) fn select_to_end( method select_to_start_of_line (line 972) | pub(super) fn select_to_start_of_line( method select_to_end_of_line (line 982) | pub(super) fn select_to_end_of_line( method select_to_previous_word (line 992) | pub(super) fn select_to_previous_word( method select_to_next_word (line 1002) | pub(super) fn select_to_next_word( method previous_start_of_word (line 1013) | pub(super) fn previous_start_of_word(&mut self) -> usize { method next_end_of_word (line 1026) | pub(super) fn next_end_of_word(&mut self) -> usize { method start_of_line (line 1038) | pub(super) fn start_of_line(&self) -> usize { method end_of_line (line 1048) | pub(super) fn end_of_line(&self) -> usize { method start_of_line_of_selection (line 1060) | pub(super) fn start_of_line_of_selection( method indent_of_next_line (line 1087) | pub(super) fn indent_of_next_line(&mut self) -> String { method backspace (line 1123) | pub(super) fn backspace(&mut self, _: &Backspace, window: &mut Window,... method delete (line 1131) | pub(super) fn delete(&mut self, _: &Delete, window: &mut Window, cx: &... method delete_to_beginning_of_line (line 1139) | pub(super) fn delete_to_beginning_of_line( method delete_to_end_of_line (line 1164) | pub(super) fn delete_to_end_of_line( method delete_previous_word (line 1189) | pub(super) fn delete_previous_word( method delete_next_word (line 1211) | pub(super) fn delete_next_word( method enter (line 1233) | pub(super) fn enter(&mut self, action: &Enter, window: &mut Window, cx... method clean (line 1265) | pub(super) fn clean(&mut self, window: &mut Window, cx: &mut Context, new_text... method undo (line 1587) | pub(super) fn undo(&mut self, _: &Undo, window: &mut Window, cx: &mut ... method redo (line 1598) | pub(super) fn redo(&mut self, _: &Redo, window: &mut Window, cx: &mut ... method cursor (line 1612) | pub fn cursor(&self) -> usize { method index_for_mouse_position (line 1624) | pub(crate) fn index_for_mouse_position(&self, position: Point)... method select_to (line 1712) | pub(crate) fn select_to(&mut self, offset: usize, cx: &mut Context) { method offset_from_utf16 (line 1750) | pub(super) fn offset_from_utf16(&self, offset: usize) -> usize { method offset_to_utf16 (line 1755) | pub(super) fn offset_to_utf16(&self, offset: usize) -> usize { method range_to_utf16 (line 1760) | pub(super) fn range_to_utf16(&self, range: &Range) -> Range) -> R... method clamp_offset_to_visible_backward (line 1771) | fn clamp_offset_to_visible_backward(&self, offset: usize) -> usize { method clamp_offset_to_visible_forward (line 1785) | fn clamp_offset_to_visible_forward(&self, offset: usize) -> usize { method previous_boundary (line 1797) | pub(super) fn previous_boundary(&self, offset: usize) -> usize { method next_boundary (line 1808) | pub(super) fn next_boundary(&self, offset: usize) -> usize { method show_cursor (line 1820) | pub(crate) fn show_cursor(&self, window: &Window, cx: &App) -> bool { method on_focus (line 1827) | fn on_focus(&mut self, _: &mut Window, cx: &mut Context) { method on_blur (line 1834) | fn on_blur(&mut self, window: &mut Window, cx: &mut Context) { method pause_blink_cursor (line 1856) | pub(super) fn pause_blink_cursor(&mut self, cx: &mut Context) { method on_key_down (line 1862) | pub(super) fn on_key_down(&mut self, _: &KeyDownEvent, _: &mut Window,... method on_drag_move (line 1866) | pub(super) fn on_drag_move( method is_valid_input (line 1892) | fn is_valid_input(&self, new_text: &str, cx: &mut Context) -> bo... method mask_pattern (line 1923) | pub fn mask_pattern(mut self, pattern: impl Into) -> Self { method set_mask_pattern (line 1931) | pub fn set_mask_pattern( method set_input_bounds (line 1944) | pub(super) fn set_input_bounds(&mut self, new_bounds: Bounds, ... method selected_text (line 1965) | pub(super) fn selected_text(&self) -> RopeSlice<'_> { method range_to_bounds (line 1974) | pub fn range_to_bounds(&self, range: &Range) -> Option) { method replace_text_in_range (line 2202) | fn replace_text_in_range( method replace_and_mark_text_in_range (line 2279) | fn replace_and_mark_text_in_range( method bounds_for_range (line 2351) | fn bounds_for_range( method character_index_for_point (line 2406) | fn character_index_for_point( method focus_handle (line 2427) | fn focus_handle(&self, _cx: &App) -> FocusHandle { method render (line 2433) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... type InputView (line 2466) | struct InputView { method new (line 2473) | pub fn new(cx: &mut TestAppContext) -> Self { function test_highlighting_preserved_after_fold (line 2498) | fn test_highlighting_preserved_after_fold(cx: &mut TestAppContext) { FILE: crates/ui/src/inspector.rs function init (line 30) | pub(crate) fn init(cx: &mut App) { type EditorState (line 62) | struct EditorState { type DivInspector (line 71) | pub struct DivInspector { method new (line 84) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method update_inspected_element (line 154) | pub fn update_inspected_element( method edit_json (line 178) | fn edit_json(&mut self, code: &str, window: &mut Window, cx: &mut Cont... method edit_rust (line 200) | fn edit_rust(&mut self, code: &str, window: &mut Window, cx: &mut Cont... method update_element_style (line 220) | fn update_element_style( method reset_style (line 238) | fn reset_style(&mut self, window: &mut Window, cx: &mut Context) { method update_json_from_style (line 249) | fn update_json_from_style( method update_rust_from_style (line 260) | fn update_rust_from_style( function style_to_json (line 274) | fn style_to_json(style: &StyleRefinement) -> String { type StyleMethods (line 278) | struct StyleMethods { method get (line 284) | fn get() -> &'static Self { function style_to_rust (line 305) | fn style_to_rust(input_style: &StyleRefinement) -> (String, StyleRefinem... function rust_to_style (line 330) | fn rust_to_style(mut style: StyleRefinement, source: &str) -> (StyleRefi... method render (line 404) | fn render(&mut self, _window: &mut Window, cx: &mut Context) -> im... function render_inspector (line 478) | fn render_inspector( type LspProvider (line 562) | struct LspProvider {} method completions (line 565) | fn completions( method is_completion_trigger (line 628) | fn is_completion_trigger(&self, _: usize, _: &str, _: &mut Context Self { method new (line 30) | pub fn new(stroke: Keystroke) -> Self { method appearance (line 40) | pub fn appearance(mut self, appearance: bool) -> Self { method outline (line 46) | pub fn outline(mut self) -> Self { method binding_for_action (line 52) | pub fn binding_for_action( method binding_for_action_in (line 73) | pub fn binding_for_action_in( method format (line 90) | pub fn format(key: &Keystroke) -> String { method style (line 212) | fn style(&mut self) -> &mut StyleRefinement { method render (line 218) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl gpui::... function test_format (line 249) | fn test_format() { FILE: crates/ui/src/label.rs constant MASKED (line 10) | const MASKED: &'static str = "•"; type HighlightsMatch (line 14) | pub enum HighlightsMatch { method as_str (line 20) | pub fn as_str(&self) -> &str { method is_prefix (line 28) | pub fn is_prefix(&self) -> bool { method from (line 34) | fn from(value: &str) -> Self { method from (line 40) | fn from(value: String) -> Self { method from (line 46) | fn from(value: SharedString) -> Self { type Label (line 53) | pub struct Label { method new (line 63) | pub fn new(label: impl Into) -> Self { method secondary (line 76) | pub fn secondary(mut self, secondary: impl Into) -> Self { method masked (line 82) | pub fn masked(mut self, masked: bool) -> Self { method highlights (line 88) | pub fn highlights(mut self, text: impl Into) -> Self { method full_text (line 93) | fn full_text(&self) -> SharedString { method highlight_ranges (line 100) | fn highlight_ranges(&self, total_length: usize) -> Vec> { method measure_highlights (line 149) | fn measure_highlights( method style (line 189) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 195) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { function test_highlight_ranges (line 220) | fn test_highlight_ranges() { function test_highlight_ranges_prefix (line 310) | fn test_highlight_ranges_prefix() { FILE: crates/ui/src/lib.rs function init (line 105) | pub fn init(cx: &mut App) { function locale (line 128) | pub fn locale() -> impl Deref { function set_locale (line 133) | pub fn set_locale(locale: &str) { function measure_enable (line 138) | pub(crate) fn measure_enable() -> bool { function measure_if (line 147) | pub fn measure_if(name: impl Into, if_: bool, f: impl FnOn... function measure (line 160) | pub fn measure(name: impl Into, f: impl FnOnce()) { type Measure (line 164) | pub struct Measure { method new (line 171) | pub fn new(name: impl Into) -> Self { method end (line 179) | pub fn end(self) { FILE: crates/ui/src/link.rs type Link (line 10) | pub struct Link { method new (line 21) | pub fn new(id: impl Into) -> Self { method href (line 33) | pub fn href(mut self, href: impl Into) -> Self { method on_click (line 42) | pub fn on_click( method disabled (line 51) | pub fn disabled(mut self, disabled: bool) -> Self { method style (line 58) | fn style(&mut self) -> &mut gpui::StyleRefinement { method extend (line 64) | fn extend(&mut self, elements: impl IntoIterator impl IntoEl... FILE: crates/ui/src/list/cache.rs type RowEntry (line 8) | pub(crate) enum RowEntry { method is_section_header (line 24) | pub(crate) fn is_section_header(&self) -> bool { method eq_index_path (line 28) | pub(crate) fn eq_index_path(&self, path: &IndexPath) -> bool { method index (line 36) | pub(crate) fn index(&self) -> IndexPath { method is_section_footer (line 46) | pub(crate) fn is_section_footer(&self) -> bool { method is_entry (line 51) | pub(crate) fn is_entry(&self) -> bool { method section_ix (line 57) | pub(crate) fn section_ix(&self) -> Option { type MeasuredEntrySize (line 15) | pub(crate) struct MeasuredEntrySize { type RowsCache (line 66) | pub(crate) struct RowsCache { method get (line 77) | pub(crate) fn get(&self, flatten_ix: usize) -> Option { method len (line 82) | pub(crate) fn len(&self) -> usize { method items_count (line 87) | pub(crate) fn items_count(&self) -> usize { method position_of (line 92) | pub(crate) fn position_of(&self, path: &IndexPath) -> Option { method prev (line 101) | pub(crate) fn prev(&self, path: Option) -> IndexPath { method next (line 133) | pub(crate) fn next(&self, path: Option) -> IndexPath { method prepare_if_needed (line 167) | pub(crate) fn prepare_if_needed( function build_entities (line 232) | fn build_entities(sections: &[usize]) -> Vec { function test_prev_next (line 257) | fn test_prev_next() { function test_prev_next_with_empty_sections (line 330) | fn test_prev_next_with_empty_sections() { FILE: crates/ui/src/list/delegate.rs type ListDelegate (line 10) | pub trait ListDelegate: Sized + 'static { method perform_search (line 15) | fn perform_search( method sections_count (line 27) | fn sections_count(&self, cx: &App) -> usize { method items_count (line 35) | fn items_count(&self, section: usize, cx: &App) -> usize; method render_item (line 42) | fn render_item( method render_section_header (line 52) | fn render_section_header( method render_section_footer (line 64) | fn render_section_footer( method render_empty (line 74) | fn render_empty( method render_initial (line 95) | fn render_initial( method loading (line 104) | fn loading(&self, cx: &App) -> bool { method render_loading (line 110) | fn render_loading( method set_selected_index (line 119) | fn set_selected_index( method set_right_clicked_index (line 127) | fn set_right_clicked_index( method confirm (line 139) | fn confirm(&mut self, secondary: bool, window: &mut Window, cx: &mut C... method cancel (line 143) | fn cancel(&mut self, window: &mut Window, cx: &mut Context bool { method load_more_threshold (line 159) | fn load_more_threshold(&self) -> usize { method load_more (line 170) | fn load_more(&mut self, window: &mut Window, cx: &mut Context Self { type ListState (line 70) | pub struct ListState { function new (line 94) | pub fn new(delegate: D, window: &mut Window, cx: &mut Context) -> ... function searchable (line 125) | pub fn searchable(mut self, searchable: bool) -> Self { function set_searchable (line 130) | pub fn set_searchable(&mut self, searchable: bool, cx: &mut Context Self { function set_selectable (line 142) | pub fn set_selectable(&mut self, selectable: bool, cx: &mut Context &D { function delegate_mut (line 151) | pub fn delegate_mut(&mut self) -> &mut D { function focus (line 156) | pub fn focus(&mut self, window: &mut Window, cx: &mut App) { function is_focused (line 161) | pub(crate) fn is_focused(&self, window: &Window, cx: &App) -> bool { function _set_selected_index (line 167) | pub(crate) fn _set_selected_index( function set_selected_index (line 184) | pub fn set_selected_index( function selected_index (line 194) | pub fn selected_index(&self) -> Option { function set_right_clicked_index (line 199) | pub fn set_right_clicked_index( function right_clicked_index (line 210) | pub fn right_clicked_index(&self) -> Option { function set_item_to_measure_index (line 215) | pub fn set_item_to_measure_index( function scroll_to_item (line 226) | pub fn scroll_to_item( function scroll_handle (line 246) | pub fn scroll_handle(&self) -> &VirtualListScrollHandle { function scroll_to_selected_item (line 250) | pub fn scroll_to_selected_item(&mut self, _: &mut Window, cx: &mut Conte... function on_query_input_event (line 257) | fn on_query_input_event( function set_searching (line 307) | fn set_searching(&mut self, searching: bool, window: &mut Window, cx: &m... function load_more_if_need (line 314) | fn load_more_if_need( function reset_on_cancel (line 339) | pub(crate) fn reset_on_cancel(mut self, reset: bool) -> Self { function on_action_cancel (line 344) | fn on_action_cancel(&mut self, _: &Cancel, window: &mut Window, cx: &mut... function on_action_confirm (line 355) | fn on_action_confirm( function select_item (line 376) | fn select_item(&mut self, ix: IndexPath, window: &mut Window, cx: &mut C... function on_action_select_prev (line 388) | pub(crate) fn on_action_select_prev( function on_action_select_next (line 402) | pub(crate) fn on_action_select_next( function prepare_items_if_needed (line 416) | fn prepare_items_if_needed(&mut self, window: &mut Window, cx: &mut Cont... function render_list_item (line 448) | fn render_list_item( function render_items (line 493) | fn render_items( method focus_handle (line 575) | fn focus_handle(&self, cx: &App) -> FocusHandle { method render (line 588) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... type List (line 684) | pub struct List { function new (line 695) | pub fn new(state: &Entity>) -> Self { function scrollbar_visible (line 704) | pub fn scrollbar_visible(mut self, visible: bool) -> Self { function search_placeholder (line 710) | pub fn search_placeholder(mut self, placeholder: impl Into... method style (line 720) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 729) | fn with_size(mut self, size: impl Into) -> Self { method render (line 739) | fn render(mut self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/list/list_item.rs type ListItemMode (line 10) | enum ListItemMode { method is_separator (line 18) | fn is_separator(&self) -> bool { type ListItem (line 24) | pub struct ListItem { method new (line 40) | pub fn new(id: impl Into) -> Self { method separator (line 59) | pub fn separator(mut self) -> Self { method check_icon (line 65) | pub fn check_icon(mut self, icon: impl Into) -> Self { method selected (line 71) | pub fn selected(mut self, selected: bool) -> Self { method confirmed (line 77) | pub fn confirmed(mut self, confirmed: bool) -> Self { method disabled (line 82) | pub fn disabled(mut self, disabled: bool) -> Self { method suffix (line 88) | pub fn suffix(mut self, builder: F) -> Self method on_click (line 99) | pub fn on_click( method on_mouse_enter (line 107) | pub fn on_mouse_enter( method disabled (line 117) | fn disabled(mut self, disabled: bool) -> Self { method selected (line 124) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 129) | fn is_selected(&self) -> bool { method secondary_selected (line 133) | fn secondary_selected(mut self, selected: bool) -> Self { method style (line 140) | fn style(&mut self) -> &mut gpui::StyleRefinement { method extend (line 146) | fn extend(&mut self, elements: impl IntoIterator impl IntoElement { FILE: crates/ui/src/list/loading.rs type Loading (line 6) | pub struct Loading; type LoadingItem (line 9) | struct LoadingItem; method render (line 12) | fn render(self, _window: &mut gpui::Window, _cx: &mut gpui::App) -> impl... method render (line 24) | fn render(self, _window: &mut gpui::Window, _cx: &mut gpui::App) -> impl... FILE: crates/ui/src/list/mod.rs type ListSettings (line 17) | pub struct ListSettings { method default (line 23) | fn default() -> Self { FILE: crates/ui/src/list/separator_item.rs type ListSeparatorItem (line 8) | pub struct ListSeparatorItem { method new (line 14) | pub fn new() -> Self { method extend (line 23) | fn extend(&mut self, elements: impl IntoIterator) { method selected (line 29) | fn selected(self, _: bool) -> Self { method is_selected (line 33) | fn is_selected(&self) -> bool { method render (line 39) | fn render(self, _: &mut gpui::Window, _: &mut gpui::App) -> impl gpui::I... FILE: crates/ui/src/menu/app_menu_bar.rs constant CONTEXT (line 16) | const CONTEXT: &str = "AppMenuBar"; function init (line 17) | pub fn init(cx: &mut App) { type AppMenuBar (line 26) | pub struct AppMenuBar { method new (line 33) | pub fn new(cx: &mut App) -> Entity { method reload (line 45) | pub fn reload(&mut self, cx: &mut Context) { method on_move_left (line 61) | fn on_move_left(&mut self, _: &SelectLeft, window: &mut Window, cx: &m... method on_move_right (line 74) | fn on_move_right(&mut self, _: &SelectRight, window: &mut Window, cx: ... method on_cancel (line 87) | fn on_cancel(&mut self, _: &Cancel, window: &mut Window, cx: &mut Cont... method set_selected_index (line 91) | fn set_selected_index(&mut self, ix: Option, _: &mut Window, cx... method has_activated_menu (line 97) | fn has_activated_menu(&self) -> bool { method render (line 103) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... type AppMenu (line 118) | pub(super) struct AppMenu { method new (line 129) | pub(super) fn new( method build_popup_menu (line 146) | fn build_popup_menu( method handle_dismiss (line 178) | fn handle_dismiss( method handle_trigger_click (line 192) | fn handle_trigger_click( method handle_hover (line 206) | fn handle_hover(&mut self, hovered: &bool, window: &mut Window, cx: &m... method render (line 223) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/menu/context_menu.rs type ContextMenuExt (line 13) | pub trait ContextMenuExt: InteractiveElement + ParentElement + Styled { method context_menu (line 18) | fn context_menu( type ContextMenu (line 40) | pub struct ContextMenu { function new (line 51) | pub fn new(id: impl Into, element: E) -> Self { function menu (line 63) | fn menu(mut self, builder: F) -> Self function with_element_state (line 71) | fn with_element_state( method extend (line 90) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 98) | fn style(&mut self) -> &mut StyleRefinement { type Element (line 108) | type Element = Self; method into_element (line 110) | fn into_element(self) -> Self::Element { type ContextMenuSharedState (line 115) | struct ContextMenuSharedState { type ContextMenuState (line 122) | pub struct ContextMenuState { method default (line 128) | fn default() -> Self { type RequestLayoutState (line 142) | type RequestLayoutState = ContextMenuState; type PrepaintState (line 143) | type PrepaintState = Hitbox; method id (line 145) | fn id(&self) -> Option { method source_location (line 149) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 153) | fn request_layout( method prepaint (line 234) | fn prepaint( method paint (line 249) | fn paint( FILE: crates/ui/src/menu/dropdown_menu.rs type DropdownMenu (line 11) | pub trait DropdownMenu: Styled + Selectable + InteractiveElement + IntoE... method dropdown_menu (line 13) | fn dropdown_menu( method dropdown_menu_with_anchor (line 21) | fn dropdown_menu_with_anchor( type DropdownMenuPopover (line 36) | pub struct DropdownMenuPopover { function new (line 48) | fn new( function anchor (line 64) | pub fn anchor(mut self, anchor: impl Into) -> Self { function trigger_style (line 70) | fn trigger_style(mut self, style: StyleRefinement) -> Self { type DropdownMenuState (line 77) | struct DropdownMenuState { method render (line 85) | fn render(self, window: &mut Window, cx: &mut gpui::App) -> impl IntoEle... FILE: crates/ui/src/menu/menu_item.rs type MenuItemElement (line 10) | pub(crate) struct MenuItemElement { method new (line 23) | pub(crate) fn new(id: impl Into, group_name: impl Into Self { method disabled (line 44) | pub(crate) fn disabled(mut self, disabled: bool) -> Self { method on_click (line 50) | pub(crate) fn on_click( method on_hover (line 60) | pub fn on_hover(mut self, handler: impl Fn(&bool, &mut Window, &mut Ap... method disabled (line 67) | fn disabled(mut self, disabled: bool) -> Self { method style (line 74) | fn style(&mut self) -> &mut gpui::StyleRefinement { method extend (line 80) | fn extend(&mut self, elements: impl IntoIterator impl IntoElement { FILE: crates/ui/src/menu/mod.rs function init (line 14) | pub(crate) fn init(cx: &mut App) { FILE: crates/ui/src/menu/popup_menu.rs constant CONTEXT (line 16) | const CONTEXT: &str = "PopupMenu"; function init (line 18) | pub fn init(cx: &mut App) { type PopupMenuItem (line 30) | pub enum PopupMenuItem { method new (line 70) | pub fn new(label: impl Into) -> Self { method element (line 84) | pub fn element(builder: F) -> Self method submenu (line 101) | pub fn submenu(label: impl Into, menu: Entity... method separator (line 112) | pub fn separator() -> Self { method label (line 118) | pub fn label(label: impl Into) -> Self { method icon (line 125) | pub fn icon(mut self, icon: impl Into) -> Self { method action (line 144) | pub fn action(mut self, action: Box) -> Self { method disabled (line 160) | pub fn disabled(mut self, disabled: bool) -> Self { method checked (line 179) | pub fn checked(mut self, checked: bool) -> Self { method on_click (line 195) | pub fn on_click(mut self, handler: F) -> Self method link (line 213) | pub fn link(label: impl Into, href: impl Into) -... method is_clickable (line 227) | fn is_clickable(&self) -> bool { method is_separator (line 245) | fn is_separator(&self) -> bool { method has_left_icon (line 249) | fn has_left_icon(&self, check_side: Side) -> bool { method is_checked (line 263) | fn is_checked(&self) -> bool { type PopupMenu (line 272) | pub struct PopupMenu { method new (line 297) | pub(crate) fn new(cx: &mut App) -> Self { method build (line 318) | pub fn build( method action_context (line 331) | pub fn action_context(mut self, handle: FocusHandle) -> Self { method min_w (line 337) | pub fn min_w(mut self, width: impl Into) -> Self { method max_w (line 343) | pub fn max_w(mut self, width: impl Into) -> Self { method max_h (line 349) | pub fn max_h(mut self, height: impl Into) -> Self { method scrollable (line 357) | pub fn scrollable(mut self, scrollable: bool) -> Self { method check_side (line 363) | pub fn check_side(mut self, side: Side) -> Self { method external_link_icon (line 369) | pub fn external_link_icon(mut self, visible: bool) -> Self { method menu (line 375) | pub fn menu(self, label: impl Into, action: Box) -> Self { method link (line 408) | pub fn link(self, label: impl Into, href: impl Into(self, action: Box, builder: F) -... method menu_element_with_disabled (line 506) | pub fn menu_element_with_disabled( method menu_element_with_icon (line 520) | pub fn menu_element_with_icon( method menu_element_with_check (line 534) | pub fn menu_element_with_check( method menu_element_with_icon_and_disabled (line 548) | fn menu_element_with_icon_and_disabled( method menu_element_with_check_and_disabled (line 569) | fn menu_element_with_check_and_disabled( method separator (line 590) | pub fn separator(mut self) -> Self { method submenu (line 604) | pub fn submenu( method submenu_with_icon (line 615) | pub fn submenu_with_icon( method item (line 636) | pub fn item(mut self, item: impl Into) -> Self { method small (line 643) | pub(crate) fn small(mut self) -> Self { method add_menu_item (line 648) | fn add_menu_item( method with_menu_items (line 666) | pub(super) fn with_menu_items( method active_submenu (line 702) | pub(crate) fn active_submenu(&self) -> Option> { method is_empty (line 715) | pub fn is_empty(&self) -> bool { method clickable_menu_items (line 719) | fn clickable_menu_items(&self) -> impl Iterator) { method select_up (line 787) | fn select_up(&mut self, _: &SelectUp, _: &mut Window, cx: &mut Context... method select_down (line 806) | fn select_down(&mut self, _: &SelectDown, _: &mut Window, cx: &mut Con... method select_left (line 826) | fn select_left(&mut self, _: &SelectLeft, window: &mut Window, cx: &mu... method select_right (line 847) | fn select_right(&mut self, _: &SelectRight, window: &mut Window, cx: &... method _select_submenu (line 868) | fn _select_submenu(&mut self, window: &mut Window, cx: &mut Context... method _focus_parent_menu (line 894) | fn _focus_parent_menu(&mut self, window: &mut Window, cx: &mut Context... method parent_side (line 909) | fn parent_side(&self, cx: &App) -> Side { method dismiss (line 924) | fn dismiss(&mut self, _: &Cancel, window: &mut Window, cx: &mut Contex... method handle_dismiss (line 947) | fn handle_dismiss( method on_mouse_down_out (line 965) | fn on_mouse_down_out( method render_key_binding (line 974) | fn render_key_binding( method render_icon (line 999) | fn render_icon( method max_width (line 1022) | fn max_width(&self) -> Pixels { method update_submenu_menu_anchor (line 1027) | fn update_submenu_menu_anchor(&mut self, window: &Window) { method render_item (line 1044) | fn render_item( method focus_handle (line 1250) | fn focus_handle(&self, _: &App) -> FocusHandle { type RenderOptions (line 1256) | struct RenderOptions { method render (line 1263) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/notification.rs type NotificationType (line 25) | pub enum NotificationType { method icon (line 34) | fn icon(&self, cx: &App) -> Icon { type NotificationId (line 45) | pub(crate) enum NotificationId { method from (line 51) | fn from(type_id: TypeId) -> Self { method from (line 57) | fn from((type_id, id): (TypeId, ElementId)) -> Self { type Notification (line 63) | pub struct Notification { method from (line 82) | fn from(s: String) -> Self { method from (line 88) | fn from(s: SharedString) -> Self { method from (line 94) | fn from(s: &'static str) -> Self { method from (line 100) | fn from((type_, content): (NotificationType, &'static str)) -> Self { method from (line 106) | fn from((type_, content): (NotificationType, SharedString)) -> Self { method new (line 117) | pub fn new() -> Self { method message (line 137) | pub fn message(mut self, message: impl Into) -> Self { method info (line 143) | pub fn info(message: impl Into) -> Self { method success (line 150) | pub fn success(message: impl Into) -> Self { method warning (line 157) | pub fn warning(message: impl Into) -> Self { method error (line 164) | pub fn error(message: impl Into) -> Self { method id (line 176) | pub fn id(mut self) -> Self { method id1 (line 182) | pub fn id1(mut self, key: impl Into) ->... method title (line 190) | pub fn title(mut self, title: impl Into) -> Self { method icon (line 198) | pub fn icon(mut self, icon: impl Into) -> Self { method with_type (line 204) | pub fn with_type(mut self, type_: NotificationType) -> Self { method autohide (line 210) | pub fn autohide(mut self, autohide: bool) -> Self { method on_click (line 216) | pub fn on_click( method action (line 227) | pub fn action(mut self, action: F) -> Self method dismiss (line 237) | pub fn dismiss(&mut self, _: &mut Window, cx: &mut Context) { method content (line 260) | pub fn content( type DefaultIdType (line 111) | struct DefaultIdType; method style (line 271) | fn style(&mut self) -> &mut StyleRefinement { method render (line 276) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... type NotificationSettings (line 399) | pub struct NotificationSettings { method default (line 409) | fn default() -> Self { type NotificationList (line 425) | pub struct NotificationList { method new (line 433) | pub fn new(_window: &mut Window, _cx: &mut Context) -> Self { method push (line 441) | pub fn push( method close (line 481) | pub(crate) fn close( method clear (line 494) | pub fn clear(&mut self, _: &mut Window, cx: &mut Context) { method notifications (line 499) | pub fn notifications(&self) -> Vec> { method render (line 505) | fn render( FILE: crates/ui/src/pagination.rs type Pagination (line 19) | pub struct Pagination { method new (line 39) | pub fn new(id: impl Into) -> Self { method current_page (line 56) | pub fn current_page(mut self, page: usize) -> Self { method total_pages (line 62) | pub fn total_pages(mut self, pages: usize) -> Self { method on_click (line 84) | pub fn on_click(mut self, handler: impl Fn(&usize, &mut Window, &mut A... method compact (line 92) | pub fn compact(mut self) -> Self { method visible_pages (line 98) | pub fn visible_pages(mut self, max: usize) -> Self { method render_nav_button (line 103) | fn render_nav_button(&self, is_prev: bool) -> Button { type PageItem (line 32) | enum PageItem { method disabled (line 153) | fn disabled(mut self, disabled: bool) -> Self { method with_size (line 160) | fn with_size(mut self, size: impl Into) -> Self { method style (line 167) | fn style(&mut self) -> &mut StyleRefinement { method render (line 173) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { function calculate_page_range (line 255) | fn calculate_page_range(current: usize, total: usize, max_visible: usize... function test_calculate_page_range (line 307) | fn test_calculate_page_range() { FILE: crates/ui/src/plot/axis.rs constant AXIS_GAP (line 8) | pub const AXIS_GAP: f32 = 18.; type AxisText (line 10) | pub struct AxisText { method new (line 19) | pub fn new(text: impl Into, tick: impl Into, col... method font_size (line 29) | pub fn font_size(mut self, font_size: impl Into) -> Self { method align (line 34) | pub fn align(mut self, align: TextAlign) -> Self { type PlotAxis (line 41) | pub struct PlotAxis { method new (line 52) | pub fn new() -> Self { method x (line 60) | pub fn x(mut self, x: impl Into) -> Self { method x_axis (line 68) | pub fn x_axis(mut self, x_axis: bool) -> Self { method x_label (line 74) | pub fn x_label(mut self, label: impl IntoIterator) ->... method y (line 92) | pub fn y(mut self, y: impl Into) -> Self { method y_axis (line 100) | pub fn y_axis(mut self, y_axis: bool) -> Self { method y_label (line 106) | pub fn y_label(mut self, label: impl IntoIterator) ->... method stroke (line 124) | pub fn stroke(mut self, stroke: impl Into) -> Self { method draw_axis (line 129) | fn draw_axis(&self, start_point: Point, end_point: Point, window: &mut Window, cx: ... FILE: crates/ui/src/plot/grid.rs type Grid (line 5) | pub struct Grid { method new (line 14) | pub fn new() -> Self { method x (line 24) | pub fn x(mut self, x: Vec>) -> Self { method y (line 30) | pub fn y(mut self, y: Vec>) -> Self { method stroke (line 36) | pub fn stroke(mut self, stroke: impl Into) -> Self { method dash_array (line 42) | pub fn dash_array(mut self, dash_array: &[Pixels]) -> Self { method points (line 47) | fn points(&self, bounds: &Bounds) -> Vec<(Point, Point... method paint (line 78) | pub fn paint(&self, bounds: &Bounds, window: &mut Window) { FILE: crates/ui/src/plot/label.rs constant TEXT_SIZE (line 10) | pub const TEXT_SIZE: f32 = 10.; constant TEXT_GAP (line 11) | pub const TEXT_GAP: f32 = 2.; constant TEXT_HEIGHT (line 12) | pub const TEXT_HEIGHT: f32 = TEXT_SIZE + TEXT_GAP; type Text (line 14) | pub struct Text { method new (line 24) | pub fn new(text: impl Into, origin: Point, color: ... method font_size (line 41) | pub fn font_size(mut self, font_size: impl Into) -> Self { method font_weight (line 47) | pub fn font_weight(mut self, font_weight: FontWeight) -> Self { method align (line 53) | pub fn align(mut self, align: TextAlign) -> Self { type PlotLabel (line 69) | pub struct PlotLabel(Vec); method from (line 63) | fn from(items: I) -> Self { method new (line 72) | pub fn new(items: Vec) -> Self { method paint (line 77) | pub fn paint(&self, bounds: &Bounds, window: &mut Window, cx: ... FILE: crates/ui/src/plot/mod.rs type Plot (line 18) | pub trait Plot: IntoElement { method paint (line 19) | fn paint(&mut self, bounds: Bounds, window: &mut Window, cx: &... type StrokeStyle (line 23) | pub enum StrokeStyle { function origin_point (line 30) | pub fn origin_point(x: T, y: T, origin: Point) -> Point function polygon (line 37) | pub fn polygon(points: &[Point], bounds: &Bounds) -> Optio... FILE: crates/ui/src/plot/scale.rs type Scale (line 13) | pub trait Scale { method tick (line 15) | fn tick(&self, value: &T) -> Option; method least_index (line 18) | fn least_index(&self, _tick: f32) -> usize { method least_index_with_domain (line 23) | fn least_index_with_domain(&self, _tick: f32, _domain: &[T]) -> (usize... FILE: crates/ui/src/plot/scale/band.rs type ScaleBand (line 9) | pub struct ScaleBand { function new (line 18) | pub fn new(domain: Vec, range: Vec) -> Self { function band_width (line 36) | pub fn band_width(&self) -> f32 { function padding_inner (line 41) | pub fn padding_inner(mut self, padding_inner: f32) -> Self { function padding_outer (line 47) | pub fn padding_outer(mut self, padding_outer: f32) -> Self { function ratio (line 53) | fn ratio(&self) -> f32 { function display_avg_width (line 58) | fn display_avg_width(&self) -> f32 { function tick (line 68) | fn tick(&self, value: &T) -> Option { function least_index (line 82) | fn least_index(&self, tick: f32) -> usize { function test_scale_band (line 108) | fn test_scale_band() { function test_scale_band_zero (line 117) | fn test_scale_band_zero() { FILE: crates/ui/src/plot/scale/linear.rs type ScaleLinear (line 9) | pub struct ScaleLinear { function new (line 21) | pub fn new(domain: Vec, range: Vec) -> Self { function tick (line 58) | fn tick(&self, value: &T) -> Option { function least_index_with_domain (line 68) | fn least_index_with_domain(&self, tick: f32, domain: &[T]) -> (usize, f3... function test_scale_linear (line 92) | fn test_scale_linear() { function test_scale_linear_multiple_range (line 105) | fn test_scale_linear_multiple_range() { function test_scale_linear_empty (line 128) | fn test_scale_linear_empty() { function test_scale_linear_least_index_with_domain (line 141) | fn test_scale_linear_least_index_with_domain() { FILE: crates/ui/src/plot/scale/ordinal.rs type ScaleOrdinal (line 4) | pub struct ScaleOrdinal { method default (line 11) | fn default() -> Self { function new (line 21) | pub fn new(domain: Vec, range: Vec) -> Self { function domain (line 30) | pub fn domain(mut self, domain: Vec) -> Self { function range (line 36) | pub fn range(mut self, range: Vec) -> Self { function unknown (line 42) | pub fn unknown(mut self, unknown: R) -> Self { function map (line 54) | pub fn map(&self, value: &D) -> Option { function test_scale_ordinal (line 72) | fn test_scale_ordinal() { function test_scale_ordinal_unknown (line 84) | fn test_scale_ordinal_unknown() { function test_scale_ordinal_colors (line 92) | fn test_scale_ordinal_colors() { FILE: crates/ui/src/plot/scale/point.rs type ScalePoint (line 12) | pub struct ScalePoint { function new (line 32) | pub fn new(domain: Vec, range: Vec) -> Self { function tick (line 64) | fn tick(&self, value: &T) -> Option { function least_index (line 74) | fn least_index(&self, tick: f32) -> usize { function test_scale_point (line 94) | fn test_scale_point() { function test_scale_point_range (line 102) | fn test_scale_point_range() { function test_scale_point_empty (line 110) | fn test_scale_point_empty() { function test_scale_point_single (line 123) | fn test_scale_point_single() { function test_least_index_basic (line 129) | fn test_least_index_basic() { function test_least_index_with_offset (line 151) | fn test_least_index_with_offset() { function test_least_index_empty (line 173) | fn test_least_index_empty() { function test_least_index_single (line 181) | fn test_least_index_single() { function test_least_index_empty_range (line 189) | fn test_least_index_empty_range() { FILE: crates/ui/src/plot/scale/sealed.rs type Sealed (line 1) | pub trait Sealed {} FILE: crates/ui/src/plot/shape/arc.rs constant EPSILON (line 7) | const EPSILON: f32 = 1e-12; constant HALF_PI (line 8) | const HALF_PI: f32 = PI / 2.; type ArcData (line 10) | pub struct ArcData<'a, T> { method fmt (line 20) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Arc (line 29) | pub struct Arc { method new (line 44) | pub fn new() -> Self { method inner_radius (line 49) | pub fn inner_radius(mut self, inner_radius: f32) -> Self { method outer_radius (line 55) | pub fn outer_radius(mut self, outer_radius: f32) -> Self { method centroid (line 61) | pub fn centroid(&self, arc: &ArcData) -> Point { method path (line 70) | fn path( method paint (line 176) | pub fn paint( method default (line 35) | fn default() -> Self { function test_arc_default (line 197) | fn test_arc_default() { function test_arc_builder (line 204) | fn test_arc_builder() { function test_arc_centroid (line 212) | fn test_arc_centroid() { FILE: crates/ui/src/plot/shape/area.rs type Area (line 8) | pub struct Area { method default (line 19) | fn default() -> Self { function new (line 33) | pub fn new() -> Self { function data (line 38) | pub fn data(mut self, data: I) -> Self function x (line 47) | pub fn x(mut self, x: F) -> Self function y0 (line 56) | pub fn y0(mut self, y0: f32) -> Self { function y1 (line 62) | pub fn y1(mut self, y1: F) -> Self function fill (line 71) | pub fn fill(mut self, fill: impl Into) -> Self { function stroke (line 77) | pub fn stroke(mut self, stroke: impl Into) -> Self { function stroke_style (line 83) | pub fn stroke_style(mut self, stroke_style: StrokeStyle) -> Self { function path (line 88) | fn path(&self, bounds: &Bounds) -> (Option>, Option... function paint (line 181) | pub fn paint(&self, bounds: &Bounds, window: &mut Window) { FILE: crates/ui/src/plot/shape/bar.rs type Bar (line 9) | pub struct Bar { method default (line 20) | fn default() -> Self { function new (line 34) | pub fn new() -> Self { function data (line 39) | pub fn data(mut self, data: I) -> Self function x (line 48) | pub fn x(mut self, x: F) -> Self function band_width (line 57) | pub fn band_width(mut self, band_width: f32) -> Self { function y0 (line 63) | pub fn y0(mut self, y: F) -> Self function y1 (line 72) | pub fn y1(mut self, y: F) -> Self function fill (line 81) | pub fn fill(mut self, fill: F) -> Self function label (line 91) | pub fn label(mut self, label: F) -> Self function path (line 99) | fn path(&self, bounds: &Bounds) -> (Vec, PlotLabel) { function paint (line 147) | pub fn paint(&self, bounds: &Bounds, window: &mut Window, cx: &m... FILE: crates/ui/src/plot/shape/line.rs type Line (line 11) | pub struct Line { method default (line 25) | fn default() -> Self { function new (line 42) | pub fn new() -> Self { function data (line 47) | pub fn data(mut self, data: I) -> Self function x (line 56) | pub fn x(mut self, x: F) -> Self function y (line 65) | pub fn y(mut self, y: F) -> Self function stroke (line 74) | pub fn stroke(mut self, stroke: impl Into) -> Self { function stroke_width (line 80) | pub fn stroke_width(mut self, stroke_width: impl Into) -> Self { function stroke_style (line 86) | pub fn stroke_style(mut self, stroke_style: StrokeStyle) -> Self { function dot (line 92) | pub fn dot(mut self) -> Self { function dot_size (line 98) | pub fn dot_size(mut self, dot_size: impl Into) -> Self { function dot_fill_color (line 104) | pub fn dot_fill_color(mut self, dot_fill_color: impl Into) -> Self { function dot_stroke_color (line 110) | pub fn dot_stroke_color(mut self, dot_stroke_color: impl Into) -> ... function paint_dot (line 116) | fn paint_dot(&self, dot: Point) -> PaintQuad { function path (line 127) | fn path(&self, bounds: &Bounds) -> (Option>, Vec, window: &mut Window) { function test_line_path (line 216) | fn test_line_path() { FILE: crates/ui/src/plot/shape/pie.rs type Pie (line 8) | pub struct Pie { method default (line 16) | fn default() -> Self { function new (line 27) | pub fn new() -> Self { function value (line 32) | pub fn value(mut self, value: F) -> Self function start_angle (line 41) | pub fn start_angle(mut self, start_angle: f32) -> Self { function end_angle (line 47) | pub fn end_angle(mut self, end_angle: f32) -> Self { function pad_angle (line 53) | pub fn pad_angle(mut self, pad_angle: f32) -> Self { function arcs (line 59) | pub fn arcs<'a>(&self, data: &'a [T]) -> Vec> { function test_pie (line 104) | fn test_pie() { function test_pie_zero_values (line 123) | fn test_pie_zero_values() { FILE: crates/ui/src/plot/shape/stack.rs type StackPoint (line 5) | pub struct StackPoint { type StackSeries (line 16) | pub struct StackSeries { type Stack (line 26) | pub struct Stack { method default (line 33) | fn default() -> Self { function new (line 43) | pub fn new() -> Self { function data (line 48) | pub fn data(mut self, data: I) -> Self function keys (line 57) | pub fn keys(mut self, keys: I) -> Self function value (line 67) | pub fn value(mut self, value: F) -> Self function series (line 76) | pub fn series(&self) -> Vec> { type SalesData (line 141) | struct SalesData { function test_basic_stack (line 150) | fn test_basic_stack() { FILE: crates/ui/src/plot/tooltip.rs type CrossLineAxis (line 9) | pub enum CrossLineAxis { method show_vertical (line 19) | pub fn show_vertical(&self) -> bool { method show_horizontal (line 25) | pub fn show_horizontal(&self) -> bool { type CrossLine (line 31) | pub struct CrossLine { method new (line 38) | pub fn new(point: Point) -> Self { method horizontal (line 47) | pub fn horizontal(mut self) -> Self { method both (line 53) | pub fn both(mut self) -> Self { method height (line 59) | pub fn height(mut self, height: f32) -> Self { method from (line 66) | fn from(value: Point) -> Self { method render (line 72) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type Dot (line 110) | pub struct Dot { method new (line 118) | pub fn new(point: Point) -> Self { method size (line 128) | pub fn size(mut self, size: impl Into) -> Self { method stroke (line 134) | pub fn stroke(mut self, stroke: Hsla) -> Self { method fill (line 140) | pub fn fill(mut self, fill: Hsla) -> Self { method render (line 147) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type TooltipPosition (line 165) | pub enum TooltipPosition { type TooltipState (line 172) | pub struct TooltipState { method new (line 180) | pub fn new( type Tooltip (line 196) | pub struct Tooltip { method new (line 207) | pub fn new() -> Self { method position (line 219) | pub fn position(mut self, position: TooltipPosition) -> Self { method gap (line 225) | pub fn gap(mut self, gap: impl Into) -> Self { method cross_line (line 231) | pub fn cross_line(mut self, cross_line: CrossLine) -> Self { method dots (line 237) | pub fn dots(mut self, dots: impl IntoIterator) -> Self { method appearance (line 243) | pub fn appearance(mut self, appearance: bool) -> Self { method style (line 250) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 256) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 262) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/popover.rs constant CONTEXT (line 14) | const CONTEXT: &str = "Popover"; function init (line 15) | pub(crate) fn init(cx: &mut App) { type Popover (line 21) | pub struct Popover { method new (line 47) | pub fn new(id: impl Into) -> Self { method anchor (line 70) | pub fn anchor(mut self, anchor: impl Into) -> Self { method mouse_button (line 76) | pub fn mouse_button(mut self, mouse_button: MouseButton) -> Self { method trigger (line 82) | pub fn trigger(mut self, trigger: T) -> Self method default_open (line 98) | pub fn default_open(mut self, open: bool) -> Self { method open (line 108) | pub fn open(mut self, open: bool) -> Self { method on_open_change (line 118) | pub fn on_open_change(mut self, callback: F) -> Self method trigger_style (line 127) | pub fn trigger_style(mut self, style: StyleRefinement) -> Self { method overlay_closable (line 133) | pub fn overlay_closable(mut self, closable: bool) -> Self { method content (line 142) | pub fn content(mut self, content: F) -> Self method appearance (line 159) | pub fn appearance(mut self, appearance: bool) -> Self { method track_focus (line 168) | pub fn track_focus(mut self, handle: &FocusHandle) -> Self { method resolved_corner (line 173) | fn resolved_corner(anchor: Anchor, trigger_bounds: Bounds) -> ... method render_popover (line 302) | pub(crate) fn render_popover( method render_popover_content (line 322) | pub(crate) fn render_popover_content( method extend (line 190) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 196) | fn style(&mut self) -> &mut StyleRefinement { type PopoverState (line 201) | pub struct PopoverState { method new (line 212) | pub fn new(default_open: bool, cx: &mut App) -> Self { method is_open (line 224) | pub fn is_open(&self) -> bool { method dismiss (line 229) | pub fn dismiss(&mut self, window: &mut Window, cx: &mut Context) { method show (line 236) | pub fn show(&mut self, window: &mut Window, cx: &mut Context) { method set_open (line 242) | fn set_open(&mut self, open: bool, cx: &mut Context) { method toggle_open (line 251) | fn toggle_open(&mut self, window: &mut Window, cx: &mut Context) { method on_action_cancel (line 282) | fn on_action_cancel(&mut self, _: &Cancel, window: &mut Window, cx: &m... method focus_handle (line 288) | fn focus_handle(&self, _: &App) -> FocusHandle { method render (line 294) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... method render (line 341) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { function test_popover_builder_chaining (line 436) | fn test_popover_builder_chaining() { function test_resolved_corner_top_positions (line 452) | fn test_resolved_corner_top_positions() { FILE: crates/ui/src/progress/mod.rs type ProgressState (line 8) | pub(crate) struct ProgressState { FILE: crates/ui/src/progress/progress.rs type Progress (line 13) | pub struct Progress { method new (line 23) | pub fn new(id: impl Into) -> Self { method color (line 34) | pub fn color(mut self, color: impl Into) -> Self { method value (line 42) | pub fn value(mut self, value: f32) -> Self { method style (line 49) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 55) | fn with_size(mut self, size: impl Into) -> Self { method render (line 62) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/progress/progress_circle.rs type ProgressCircle (line 17) | pub struct ProgressCircle { method new (line 28) | pub fn new(id: impl Into) -> Self { method color (line 40) | pub fn color(mut self, color: impl Into) -> Self { method value (line 48) | pub fn value(mut self, value: f32) -> Self { method render_circle (line 53) | fn render_circle(current_value: f32, color: Hsla) -> impl IntoElement { method style (line 139) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 145) | fn with_size(mut self, size: impl Into) -> Self { method extend (line 152) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 158) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/radio.rs type Radio (line 17) | pub struct Radio { method new (line 33) | pub fn new(id: impl Into) -> Self { method label (line 50) | pub fn label(mut self, label: impl Into) -> Self { method checked (line 56) | pub fn checked(mut self, checked: bool) -> Self { method disabled (line 62) | pub fn disabled(mut self, disabled: bool) -> Self { method tab_index (line 68) | pub fn tab_index(mut self, tab_index: isize) -> Self { method tab_stop (line 74) | pub fn tab_stop(mut self, tab_stop: bool) -> Self { method on_click (line 82) | pub fn on_click(mut self, handler: impl Fn(&bool, &mut Window, &mut Ap... method handle_click (line 87) | fn handle_click( method from (line 315) | fn from(label: &'static str) -> Self { method from (line 321) | fn from(label: SharedString) -> Self { method from (line 327) | fn from(label: String) -> Self { method with_size (line 101) | fn with_size(mut self, size: impl Into) -> Self { method style (line 108) | fn style(&mut self) -> &mut gpui::StyleRefinement { method interactivity (line 114) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method extend (line 122) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 128) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type RadioGroup (line 236) | pub struct RadioGroup { method new (line 247) | fn new(id: impl Into) -> Self { method vertical (line 260) | pub fn vertical(id: impl Into) -> Self { method horizontal (line 265) | pub fn horizontal(id: impl Into) -> Self { method layout (line 270) | pub fn layout(mut self, layout: Axis) -> Self { method on_click (line 278) | pub fn on_click(mut self, handler: impl Fn(&usize, &mut Window, &mut A... method selected_index (line 284) | pub fn selected_index(mut self, index: Option) -> Self { method disabled (line 290) | pub fn disabled(mut self, disabled: bool) -> Self { method child (line 296) | pub fn child(mut self, child: impl Into) -> Self { method children (line 302) | pub fn children(mut self, children: impl IntoIterator &mut StyleRefinement { method render (line 333) | fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/rating.rs type Rating (line 13) | pub struct Rating { method new (line 26) | pub fn new(id: impl Into) -> Self { method with_size (line 40) | pub fn with_size(mut self, size: impl Into) -> Self { method disabled (line 46) | pub fn disabled(mut self, disabled: bool) -> Self { method color (line 52) | pub fn color(mut self, color: impl Into) -> Self { method value (line 58) | pub fn value(mut self, value: usize) -> Self { method max (line 67) | pub fn max(mut self, max: usize) -> Self { method on_click (line 78) | pub fn on_click(mut self, handler: impl Fn(&usize, &mut Window, &mut A... method style (line 85) | fn style(&mut self) -> &mut gpui::StyleRefinement { method with_size (line 91) | fn with_size(mut self, size: impl Into) -> Self { method disabled (line 98) | fn disabled(mut self, disabled: bool) -> Self { type RaingState (line 104) | struct RaingState { method render (line 114) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/resizable/mod.rs constant PANEL_MIN_SIZE (line 12) | pub(crate) const PANEL_MIN_SIZE: Pixels = px(100.); function h_resizable (line 15) | pub fn h_resizable(id: impl Into) -> ResizablePanelGroup { function v_resizable (line 20) | pub fn v_resizable(id: impl Into) -> ResizablePanelGroup { function resizable_panel (line 25) | pub fn resizable_panel() -> ResizablePanel { type ResizableState (line 31) | pub struct ResizableState { method sizes (line 54) | pub fn sizes(&self) -> &Vec { method insert_panel (line 58) | pub(crate) fn insert_panel( method sync_panels_count (line 93) | pub(crate) fn sync_panels_count( method update_panel_size (line 122) | pub(crate) fn update_panel_size( method remove_panel (line 142) | pub(crate) fn remove_panel(&mut self, panel_ix: usize, cx: &mut Contex... method replace_panel (line 153) | pub(crate) fn replace_panel( method clear (line 166) | pub(crate) fn clear(&mut self) { method container_size (line 172) | pub(crate) fn container_size(&self) -> Pixels { method done_resizing (line 176) | pub(crate) fn done_resizing(&mut self, cx: &mut Context) { method panel_size_range (line 181) | fn panel_size_range(&self, ix: usize) -> Range { method sync_real_panel_sizes (line 189) | fn sync_real_panel_sizes(&mut self, _: &App) { method resize_panel (line 197) | fn resize_panel(&mut self, ix: usize, size: Pixels, _: &mut Window, cx... method adjust_to_container_size (line 266) | fn adjust_to_container_size(&mut self, cx: &mut Context) { method default (line 41) | fn default() -> Self { type ResizablePanelState (line 289) | pub(crate) struct ResizablePanelState { FILE: crates/ui/src/resizable/panel.rs type ResizablePanelEvent (line 16) | pub enum ResizablePanelEvent { type DragPanel (line 21) | pub(crate) struct DragPanel; method render (line 23) | fn render(&mut self, _: &mut Window, _: &mut Context<'_, Self>) -> impl ... type ResizablePanelGroup (line 30) | pub struct ResizablePanelGroup { method new (line 41) | pub fn new(id: impl Into) -> Self { method with_state (line 55) | pub fn with_state(mut self, state: &Entity) -> Self { method axis (line 61) | pub fn axis(mut self, axis: Axis) -> Self { method child (line 71) | pub fn child(mut self, panel: impl Into) -> Self { method children (line 77) | pub fn children(mut self, panels: impl IntoIterator) -> Self method size (line 89) | pub fn size(mut self, size: Pixels) -> Self { method on_resize (line 99) | pub fn on_resize( method render (line 126) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type ResizablePanel (line 181) | pub struct ResizablePanel { method from (line 112) | fn from(value: T) -> Self { method from (line 118) | fn from(value: ResizablePanelGroup) -> Self { method new (line 195) | pub(super) fn new() -> Self { method visible (line 208) | pub fn visible(mut self, visible: bool) -> Self { method size (line 214) | pub fn size(mut self, size: impl Into) -> Self { method size_range (line 222) | pub fn size_range(mut self, range: impl Into>) -> Self { method extend (line 229) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 235) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type ResizePanelGroupElement (line 311) | struct ResizePanelGroupElement { type Element (line 318) | type Element = Self; method into_element (line 320) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 326) | type RequestLayoutState = (); type PrepaintState (line 327) | type PrepaintState = (); method id (line 329) | fn id(&self) -> Option { method source_location (line 333) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 337) | fn request_layout( method prepaint (line 347) | fn prepaint( method paint (line 359) | fn paint( FILE: crates/ui/src/resizable/resize_handle.rs constant HANDLE_PADDING (line 11) | pub(crate) const HANDLE_PADDING: Pixels = px(4.); constant HANDLE_SIZE (line 12) | pub(crate) const HANDLE_SIZE: Pixels = px(1.); function resize_handle (line 15) | pub(crate) fn resize_handle( type ResizeHandle (line 22) | pub(crate) struct ResizeHandle { function new (line 31) | fn new(id: impl Into, axis: Axis) -> Self { function on_drag (line 42) | pub(crate) fn on_drag( function placement (line 55) | pub(crate) fn placement(mut self, placement: DockPlacement) -> Self { type ResizeHandleState (line 62) | struct ResizeHandleState { method set_active (line 67) | fn set_active(&self, active: bool) { method is_active (line 71) | fn is_active(&self) -> bool { type Element (line 77) | type Element = ResizeHandle; method into_element (line 78) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 84) | type RequestLayoutState = AnyElement; type PrepaintState (line 85) | type PrepaintState = (); method id (line 87) | fn id(&self) -> Option { method source_location (line 91) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 95) | fn request_layout( method prepaint (line 170) | fn prepaint( method paint (line 182) | fn paint( FILE: crates/ui/src/root.rs constant CONTEXT (line 19) | const CONTEXT: &str = "Root"; function init (line 20) | pub(crate) fn init(cx: &mut App) { type Root (line 30) | pub struct Root { method new (line 77) | pub fn new(view: impl Into, window: &mut Window, cx: &mut Con... method window_shadow_size (line 94) | pub fn window_shadow_size(mut self, size: impl Into) -> Self { method update (line 99) | pub fn update(window: &mut Window, cx: &mut App, f: F) -> R method read (line 111) | pub fn read<'a>(window: &'a Window, cx: &'a App) -> &'a Self { method render_notification_layer (line 120) | pub fn render_notification_layer( method render_sheet_layer (line 169) | pub fn render_sheet_layer( method render_dialog_layer (line 195) | pub fn render_dialog_layer( method open_dialog (line 242) | pub fn open_dialog(&mut self, build: F, window: &mut Window, cx: &m... method close_dialog_internal (line 265) | fn close_dialog_internal(&mut self) -> Option { method close_dialog (line 273) | pub fn close_dialog(&mut self, window: &mut Window, cx: &mut Context<'... method defer_close_dialog (line 280) | pub(crate) fn defer_close_dialog(&mut self, window: &mut Window, cx: &... method close_all_dialogs (line 303) | pub fn close_all_dialogs(&mut self, window: &mut Window, cx: &mut Cont... method open_sheet_at (line 316) | pub fn open_sheet_at( method close_sheet (line 342) | pub fn close_sheet(&mut self, window: &mut Window, cx: &mut Context<'_... method push_notification (line 356) | pub fn push_notification( method remove_notification (line 367) | pub fn remove_notification( method clear_notifications (line 379) | pub fn clear_notifications(&mut self, window: &mut Window, cx: &mut Co... method view (line 386) | pub fn view(&self) -> &AnyView { method on_action_tab (line 390) | fn on_action_tab(&mut self, _: &Tab, window: &mut Window, cx: &mut Con... method on_action_tab_prev (line 425) | fn on_action_tab_prev(&mut self, _: &TabPrev, window: &mut Window, cx:... type ActiveSheet (line 45) | pub(crate) struct ActiveSheet { type ActiveDialog (line 54) | pub(crate) struct ActiveDialog { method new (line 62) | pub(crate) fn new( method style (line 462) | fn style(&mut self) -> &mut StyleRefinement { method render (line 468) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/scroll/scrollable.rs type ScrollableElement (line 13) | pub trait ScrollableElement: InteractiveElement + Styled + ParentElement... method scrollbar (line 16) | fn scrollbar( method vertical_scrollbar (line 30) | fn vertical_scrollbar(self, scroll_handle:... method horizontal_scrollbar (line 35) | fn horizontal_scrollbar(self, scroll_handl... method overflow_scrollbar (line 41) | fn overflow_scrollbar(self) -> Scrollable { method overflow_x_scrollbar (line 47) | fn overflow_x_scrollbar(self) -> Scrollable { method overflow_y_scrollbar (line 53) | fn overflow_y_scrollbar(self) -> Scrollable { type Scrollable (line 60) | pub struct Scrollable) -> Self { method style (line 85) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 94) | fn extend(&mut self, elements: impl IntoIterator &mut gpui::Interactivity { method interactivity (line 106) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method render (line 115) | fn render(mut self, window: &mut Window, cx: &mut App) -> impl IntoEleme... type ScrollbarLayer (line 169) | struct ScrollbarLayer { method render (line 179) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { function render_scrollbar (line 186) | fn render_scrollbar( FILE: crates/ui/src/scroll/scrollable_mask.rs type ScrollableMask (line 14) | pub struct ScrollableMask { method new (line 22) | pub fn new(axis: Axis, scroll_handle: &ScrollHandle) -> Self { method debug (line 32) | pub fn debug(mut self) -> Self { type Element (line 39) | type Element = Self; method into_element (line 41) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 47) | type RequestLayoutState = (); type PrepaintState (line 48) | type PrepaintState = Hitbox; method id (line 50) | fn id(&self) -> Option { method source_location (line 54) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 58) | fn request_layout( method prepaint (line 76) | fn prepaint( method paint (line 97) | fn paint( FILE: crates/ui/src/scroll/scrollbar.rs constant WIDTH (line 22) | const WIDTH: Pixels = px(4. * 2. + 8.); constant MIN_THUMB_SIZE (line 23) | const MIN_THUMB_SIZE: f32 = 48.; constant THUMB_WIDTH (line 25) | const THUMB_WIDTH: Pixels = px(6.); constant THUMB_RADIUS (line 26) | const THUMB_RADIUS: Pixels = px(6. / 2.); constant THUMB_INSET (line 27) | const THUMB_INSET: Pixels = px(4.); constant THUMB_ACTIVE_WIDTH (line 29) | const THUMB_ACTIVE_WIDTH: Pixels = px(8.); constant THUMB_ACTIVE_RADIUS (line 30) | const THUMB_ACTIVE_RADIUS: Pixels = px(8. / 2.); constant THUMB_ACTIVE_INSET (line 31) | const THUMB_ACTIVE_INSET: Pixels = px(4.); constant FADE_OUT_DURATION (line 33) | const FADE_OUT_DURATION: f32 = 3.0; constant FADE_OUT_DELAY (line 34) | const FADE_OUT_DELAY: f32 = 2.0; type ScrollbarShow (line 38) | pub enum ScrollbarShow { method is_hover (line 49) | fn is_hover(&self) -> bool { method is_always (line 53) | fn is_always(&self) -> bool { type ScrollbarHandle (line 59) | pub trait ScrollbarHandle: 'static { method offset (line 61) | fn offset(&self) -> Point; method set_offset (line 63) | fn set_offset(&self, offset: Point); method content_size (line 65) | fn content_size(&self) -> Size; method start_drag (line 67) | fn start_drag(&self) {} method end_drag (line 69) | fn end_drag(&self) {} method offset (line 73) | fn offset(&self) -> Point { method set_offset (line 77) | fn set_offset(&self, offset: Point) { method content_size (line 81) | fn content_size(&self) -> Size { method offset (line 87) | fn offset(&self) -> Point { method set_offset (line 91) | fn set_offset(&self, offset: Point) { method content_size (line 95) | fn content_size(&self) -> Size { method offset (line 102) | fn offset(&self) -> Point { method set_offset (line 106) | fn set_offset(&self, offset: Point) { method content_size (line 110) | fn content_size(&self) -> Size { method start_drag (line 114) | fn start_drag(&self) { method end_drag (line 118) | fn end_drag(&self) { type ScrollbarState (line 125) | struct ScrollbarState(Rc>); type ScrollbarStateInner (line 129) | struct ScrollbarStateInner { method with_drag_pos (line 165) | fn with_drag_pos(&self, axis: Axis, pos: Point) -> Self { method with_unset_drag_pos (line 177) | fn with_unset_drag_pos(&self) -> Self { method with_hovered (line 183) | fn with_hovered(&self, axis: Option) -> Self { method with_hovered_on_thumb (line 192) | fn with_hovered_on_thumb(&self, axis: Option) -> Self { method with_last_scroll (line 203) | fn with_last_scroll( method with_last_scroll_time (line 214) | fn with_last_scroll_time(&self, t: Option) -> Self { method with_last_update (line 220) | fn with_last_update(&self, t: Instant) -> Self { method with_idle_timer_scheduled (line 226) | fn with_idle_timer_scheduled(&self, scheduled: bool) -> Self { method is_scrollbar_visible (line 232) | fn is_scrollbar_visible(&self) -> bool { method default (line 142) | fn default() -> Self { type Target (line 157) | type Target = Rc>; method deref (line 159) | fn deref(&self) -> &Self::Target { type ScrollbarAxis (line 249) | pub enum ScrollbarAxis { method from (line 259) | fn from(axis: Axis) -> Self { method is_vertical (line 270) | pub fn is_vertical(&self) -> bool { method is_horizontal (line 276) | pub fn is_horizontal(&self) -> bool { method is_both (line 282) | pub fn is_both(&self) -> bool { method has_vertical (line 288) | pub fn has_vertical(&self) -> bool { method has_horizontal (line 294) | pub fn has_horizontal(&self) -> bool { method all (line 299) | fn all(&self) -> Vec { type Scrollbar (line 311) | pub struct Scrollbar { method new (line 329) | pub fn new(scroll_handle: &H) -> Self { method horizontal (line 343) | pub fn horizontal(scroll_handle: &H) -> Se... method vertical (line 349) | pub fn vertical(scroll_handle: &H) -> Self { method id (line 356) | pub fn id(mut self, id: impl Into) -> Self { method scrollbar_show (line 362) | pub fn scrollbar_show(mut self, scrollbar_show: ScrollbarShow) -> Self { method scroll_size (line 370) | pub fn scroll_size(mut self, scroll_size: Size) -> Self { method axis (line 376) | pub fn axis(mut self, axis: impl Into) -> Self { method max_fps (line 386) | pub(crate) fn max_fps(mut self, max_fps: usize) -> Self { method width (line 392) | pub(crate) const fn width() -> Pixels { method style_for_active (line 396) | fn style_for_active(cx: &App) -> (Hsla, Hsla, Hsla, Pixels, Pixels, Pi... method style_for_hovered_thumb (line 407) | fn style_for_hovered_thumb(cx: &App) -> (Hsla, Hsla, Hsla, Pixels, Pix... method style_for_hovered_bar (line 418) | fn style_for_hovered_bar(cx: &App) -> (Hsla, Hsla, Hsla, Pixels, Pixel... method style_for_normal (line 429) | fn style_for_normal(&self, cx: &App) -> (Hsla, Hsla, Hsla, Pixels, Pix... method style_for_idle (line 446) | fn style_for_idle(&self, cx: &App) -> (Hsla, Hsla, Hsla, Pixels, Pixel... type Element (line 465) | type Element = Self; method into_element (line 467) | fn into_element(self) -> Self::Element { type PrepaintState (line 473) | pub struct PrepaintState { type AxisPrepaintState (line 480) | pub struct AxisPrepaintState { type RequestLayoutState (line 498) | type RequestLayoutState = (); type PrepaintState (line 499) | type PrepaintState = PrepaintState; method id (line 501) | fn id(&self) -> Option { method source_location (line 505) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 509) | fn request_layout( method prepaint (line 526) | fn prepaint( method paint (line 730) | fn paint( FILE: crates/ui/src/select.rs constant CONTEXT (line 21) | const CONTEXT: &str = "Select"; function init (line 22) | pub(crate) fn init(cx: &mut App) { type SelectItem (line 37) | pub trait SelectItem: Clone { method title (line 39) | fn title(&self) -> SharedString; method display_title (line 43) | fn display_title(&self) -> Option { method render (line 47) | fn render(&self, _: &mut Window, _: &mut App) -> impl IntoElement { method value (line 51) | fn value(&self) -> &Self::Value; method matches (line 53) | fn matches(&self, query: &str) -> bool { type Value (line 59) | type Value = Self; method title (line 61) | fn title(&self) -> SharedString { method value (line 65) | fn value(&self) -> &Self::Value { type Value (line 71) | type Value = Self; method title (line 73) | fn title(&self) -> SharedString { method value (line 77) | fn value(&self) -> &Self::Value { type Value (line 83) | type Value = Self; method title (line 85) | fn title(&self) -> SharedString { method value (line 89) | fn value(&self) -> &Self::Value { type SelectDelegate (line 94) | pub trait SelectDelegate: Sized { method sections_count (line 98) | fn sections_count(&self, _: &App) -> usize { method section (line 103) | fn section(&self, _section: usize) -> Option { method items_count (line 108) | fn items_count(&self, section: usize) -> usize; method item (line 111) | fn item(&self, ix: IndexPath) -> Option<&Self::Item>; method position (line 114) | fn position(&self, _value: &V) -> Option method perform_search (line 119) | fn perform_search( type Item (line 130) | type Item = T; method items_count (line 132) | fn items_count(&self, _: usize) -> usize { method item (line 136) | fn item(&self, ix: IndexPath) -> Option<&Self::Item> { method position (line 140) | fn position(&self, value: &V) -> Option type Item (line 399) | type Item = I; method items_count (line 401) | fn items_count(&self, _: usize) -> usize { method item (line 405) | fn item(&self, ix: IndexPath) -> Option<&Self::Item> { method position (line 409) | fn position(&self, value: &V) -> Option method perform_search (line 423) | fn perform_search( type Item (line 441) | type Item = I; method sections_count (line 443) | fn sections_count(&self, _: &App) -> usize { method items_count (line 447) | fn items_count(&self, section: usize) -> usize { method section (line 453) | fn section(&self, section: usize) -> Option { method item (line 463) | fn item(&self, ix: IndexPath) -> Option<&Self::Item> { method position (line 469) | fn position(&self, value: &V) -> Option method perform_search (line 485) | fn perform_search( type SelectListDelegate (line 151) | struct SelectListDelegate { type Item (line 161) | type Item = SelectListItem; method sections_count (line 163) | fn sections_count(&self, cx: &App) -> usize { method items_count (line 167) | fn items_count(&self, section: usize, _: &App) -> usize { method render_section_header (line 171) | fn render_section_header( method render_item (line 193) | fn render_item( method cancel (line 218) | fn cancel(&mut self, window: &mut Window, cx: &mut Context { type SelectOptions (line 310) | struct SelectOptions { method default (line 325) | fn default() -> Self { type SelectState (line 343) | pub struct SelectState { type Select (line 359) | pub struct Select { type SearchableVec (line 367) | pub struct SearchableVec { function push (line 373) | pub fn push(&mut self, item: T) { function new (line 380) | pub fn new(items: impl Into>) -> Self { function from (line 390) | fn from(items: Vec) -> Self { type SelectGroup (line 508) | pub struct SelectGroup { function new (line 518) | pub fn new(title: impl Into) -> Self { function item (line 526) | pub fn item(mut self, item: I) -> Self { function items (line 532) | pub fn items(mut self, items: impl IntoIterator) -> Self { function matches (line 537) | fn matches(&self, query: &str) -> bool { function new (line 548) | pub fn new( function searchable (line 590) | pub fn searchable(mut self, searchable: bool) -> Self { function set_selected_index (line 596) | pub fn set_selected_index( function set_selected_value (line 614) | pub fn set_selected_value( function set_items (line 628) | pub fn set_items(&mut self, items: D, _: &mut Window, cx: &mut Context Option { function selected_value (line 643) | pub fn selected_value(&self) -> Option<&::Value> { function focus (line 648) | pub fn focus(&self, window: &mut Window, cx: &mut App) { function update_selected_value (line 652) | fn update_selected_value(&mut self, _: &Window, cx: &App) { function on_blur (line 659) | fn on_blur(&mut self, window: &mut Window, cx: &mut Context) { function up (line 678) | fn up(&mut self, _: &SelectUp, window: &mut Window, cx: &mut Context) { function set_open (line 727) | fn set_open(&mut self, open: bool, cx: &mut Context) { function clean (line 737) | fn clean(&mut self, _: &ClickEvent, window: &mut Window, cx: &mut Contex... function display_title (line 744) | fn display_title(&mut self, _: &Window, cx: &mut Context) -> impl ... method render (line 789) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... function new (line 924) | pub fn new(state: &Entity>) -> Self { function menu_width (line 933) | pub fn menu_width(mut self, width: impl Into) -> Self { function placeholder (line 939) | pub fn placeholder(mut self, placeholder: impl Into) -> Se... function icon (line 945) | pub fn icon(mut self, icon: impl Into) -> Self { function title_prefix (line 955) | pub fn title_prefix(mut self, prefix: impl Into) -> Self { function cleanable (line 961) | pub fn cleanable(mut self, cleanable: bool) -> Self { function search_placeholder (line 967) | pub fn search_placeholder(mut self, placeholder: impl Into... function disabled (line 973) | pub fn disabled(mut self, disabled: bool) -> Self { function empty (line 979) | pub fn empty(mut self, el: impl IntoElement) -> Self { function appearance (line 985) | pub fn appearance(mut self, appearance: bool) -> Self { method with_size (line 995) | fn with_size(mut self, size: impl Into) -> Self { method focus_handle (line 1007) | fn focus_handle(&self, cx: &App) -> FocusHandle { method style (line 1020) | fn style(&mut self) -> &mut StyleRefinement { method render (line 1029) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { type SelectListItem (line 1053) | struct SelectListItem { method new (line 1063) | pub fn new(ix: usize) -> Self { method extend (line 1076) | fn extend(&mut self, elements: impl IntoIterator) { method disabled (line 1082) | fn disabled(mut self, disabled: bool) -> Self { method selected (line 1089) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 1094) | fn is_selected(&self) -> bool { method with_size (line 1100) | fn with_size(mut self, size: impl Into) -> Self { method style (line 1107) | fn style(&mut self) -> &mut StyleRefinement { method render (line 1113) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/setting/fields/bool.rs type BoolField (line 14) | pub(crate) struct BoolField { method new (line 19) | pub(crate) fn new(use_switch: bool) -> Self { method render (line 25) | fn render( FILE: crates/ui/src/setting/fields/dropdown.rs type DropdownField (line 18) | pub(crate) struct DropdownField { function new (line 24) | pub(crate) fn new(options: Option<&Vec<(SharedString, SharedString)>>) -... method render (line 36) | fn render( FILE: crates/ui/src/setting/fields/element.rs type SettingFieldElement (line 9) | pub trait SettingFieldElement { method render_field (line 12) | fn render_field( type Element (line 25) | type Element = E; method render_field (line 27) | fn render_field( type Element (line 42) | type Element = AnyElement; method render_field (line 44) | fn render_field( type Element (line 54) | type Element = AnyElement; method render_field (line 56) | fn render_field( type AnySettingFieldElement (line 37) | pub(crate) struct AnySettingFieldElement(pub(crate) T); type ElementField (line 66) | pub(crate) struct ElementField { method new (line 71) | pub(crate) fn new(element_render: E) -> Self method render (line 82) | fn render( FILE: crates/ui/src/setting/fields/mod.rs type SettingFieldRender (line 21) | pub(crate) trait SettingFieldRender { method render (line 23) | fn render( function get_value (line 33) | pub(crate) fn get_value(field: &Rc( type SettingFieldType (line 54) | pub enum SettingFieldType { method is_switch (line 71) | pub(crate) fn is_switch(&self) -> bool { method is_number_input (line 76) | pub(crate) fn is_number_input(&self) -> bool { method is_input (line 81) | pub(crate) fn is_input(&self) -> bool { method is_dropdown (line 86) | pub(crate) fn is_dropdown(&self) -> bool { method is_element (line 91) | pub(crate) fn is_element(&self) -> bool { method dropdown_options (line 96) | pub(super) fn dropdown_options(&self) -> Option<&Vec<(SharedString, Sh... method number_input_options (line 104) | pub(super) fn number_input_options(&self) -> Option<&NumberFieldOption... method element (line 112) | pub(super) fn element(&self) -> Rc { function switch (line 133) | pub fn switch(value: V, set_value: S) -> Self function checkbox (line 142) | pub fn checkbox(value: V, set_value: S) -> Self function input (line 153) | pub fn input(value: V, set_value: S) -> Self function dropdown (line 162) | pub fn dropdown( function element (line 177) | pub fn element(element: E) -> Self function render (line 193) | pub fn render(element_render: R) -> Self function number_input (line 208) | pub fn number_input(options: NumberFieldOptions, value: V, set_val... function new (line 219) | fn new(field_type: SettingFieldType, value: V, set_value: S) -> Self function default_value (line 237) | pub fn default_value(mut self, default_value: impl Into) -> Self { method style (line 244) | fn style(&mut self) -> &mut StyleRefinement { type AnySettingField (line 250) | pub trait AnySettingField { method as_any (line 251) | fn as_any(&self) -> &dyn std::any::Any; method type_name (line 252) | fn type_name(&self) -> &'static str; method type_id (line 253) | fn type_id(&self) -> std::any::TypeId; method field_type (line 254) | fn field_type(&self) -> &SettingFieldType; method style (line 255) | fn style(&self) -> &StyleRefinement; method is_resettable (line 256) | fn is_resettable(&self, cx: &App) -> bool; method reset (line 257) | fn reset(&self, window: &mut Window, cx: &mut App); method as_any (line 261) | fn as_any(&self) -> &dyn Any { method type_name (line 265) | fn type_name(&self) -> &'static str { method type_id (line 269) | fn type_id(&self) -> std::any::TypeId { method field_type (line 273) | fn field_type(&self) -> &SettingFieldType { method style (line 277) | fn style(&self) -> &StyleRefinement { method is_resettable (line 281) | fn is_resettable(&self, cx: &App) -> bool { method reset (line 289) | fn reset(&self, _: &mut Window, cx: &mut App) { FILE: crates/ui/src/setting/fields/number.rs type NumberFieldOptions (line 18) | pub struct NumberFieldOptions { method default (line 28) | fn default() -> Self { type NumberField (line 37) | pub(crate) struct NumberField { method new (line 42) | pub(crate) fn new(options: Option<&NumberFieldOptions>) -> Self { type State (line 49) | struct State { method render (line 56) | fn render( FILE: crates/ui/src/setting/fields/string.rs type StringField (line 17) | pub(crate) struct StringField { function new (line 22) | pub(crate) fn new() -> Self { type State (line 29) | struct State { method render (line 38) | fn render( FILE: crates/ui/src/setting/group.rs type SettingGroup (line 16) | pub struct SettingGroup { method new (line 32) | pub fn new() -> Self { method title (line 42) | pub fn title(mut self, title: impl Into) -> Self { method description (line 48) | pub fn description(mut self, description: impl Into) -> ... method item (line 54) | pub fn item(mut self, item: SettingItem) -> Self { method items (line 60) | pub fn items(mut self, items: I) -> Self method is_match (line 69) | pub(super) fn is_match(&self, query: &str, cx: &App) -> bool { method is_resettable (line 73) | pub(super) fn is_resettable(&self, cx: &App) -> bool { method render (line 77) | pub(crate) fn render( method reset (line 117) | pub(crate) fn reset(&self, window: &mut Window, cx: &mut App) { method style (line 25) | fn style(&mut self) -> &mut StyleRefinement { FILE: crates/ui/src/setting/item.rs type SettingItem (line 20) | pub enum SettingItem { method new (line 36) | pub fn new(title: impl Into, field: F) -> Self method render (line 49) | pub fn render(render: R) -> Self method description (line 64) | pub fn description(mut self, description: impl Into) -> Self { method layout (line 77) | pub fn layout(mut self, layout: Axis) -> Self { method is_match (line 87) | pub(crate) fn is_match(&self, query: &str, cx: &App) -> bool { method is_resettable (line 104) | pub(crate) fn is_resettable(&self, cx: &App) -> bool { method reset (line 111) | pub(crate) fn reset(&self, window: &mut Window, cx: &mut App) { method render_field (line 118) | fn render_field( method render_item (line 153) | pub(super) fn render_item( FILE: crates/ui/src/setting/page.rs type SettingPage (line 20) | pub struct SettingPage { method new (line 31) | pub fn new(title: impl Into) -> Self { method title (line 44) | pub fn title(mut self, title: impl Into) -> Self { method icon (line 50) | pub fn icon(mut self, icon: impl Into) -> Self { method description (line 56) | pub fn description(mut self, description: impl Into) -> ... method default_open (line 62) | pub fn default_open(mut self, default_open: bool) -> Self { method resettable (line 70) | pub fn resettable(mut self, resettable: bool) -> Self { method group (line 76) | pub fn group(mut self, group: SettingGroup) -> Self { method groups (line 82) | pub fn groups(mut self, groups: impl IntoIterator... method header_style (line 88) | pub fn header_style(mut self, style: &StyleRefinement) -> Self { method is_resettable (line 93) | fn is_resettable(&self, cx: &App) -> bool { method reset_all (line 97) | fn reset_all(&self, window: &mut Window, cx: &mut App) { method render (line 103) | pub(super) fn render( FILE: crates/ui/src/setting/settings.rs type Settings (line 28) | pub struct Settings { method new (line 41) | pub fn new(id: impl Into) -> Self { method sidebar_width (line 55) | pub fn sidebar_width(mut self, width: impl Into) -> Self { method page (line 61) | pub fn page(mut self, page: SettingPage) -> Self { method pages (line 67) | pub fn pages(mut self, pages: impl IntoIterator) -... method with_group_variant (line 75) | pub fn with_group_variant(mut self, variant: GroupBoxVariant) -> Self { method sidebar_style (line 81) | pub fn sidebar_style(mut self, style: &StyleRefinement) -> Self { method default_selected_index (line 87) | pub fn default_selected_index(mut self, index: SelectIndex) -> Self { method header_style (line 93) | pub fn header_style(mut self, style: &StyleRefinement) -> Self { method filtered_pages (line 98) | fn filtered_pages(&self, query: &str, cx: &App) -> Vec { method render_active_page (line 131) | fn render_active_page( method render_sidebar (line 152) | fn render_sidebar( method with_size (line 226) | fn with_size(mut self, size: impl Into) -> Self { type SettingsState (line 232) | pub(super) struct SettingsState { type RenderOptions (line 241) | pub struct RenderOptions { type SelectIndex (line 251) | pub struct SelectIndex { method render (line 257) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/sheet.rs constant CONTEXT (line 24) | const CONTEXT: &str = "Sheet"; function init (line 25) | pub(crate) fn init(cx: &mut App) { type SheetSettings (line 31) | pub struct SheetSettings { method default (line 37) | fn default() -> Self { type Sheet (line 46) | pub struct Sheet { method new (line 62) | pub fn new(_: &mut Window, cx: &mut App) -> Self { method title (line 79) | pub fn title(mut self, title: impl IntoElement) -> Self { method footer (line 85) | pub fn footer(mut self, footer: impl IntoElement) -> Self { method size (line 91) | pub fn size(mut self, size: impl Into) -> Self { method resizable (line 97) | pub fn resizable(mut self, resizable: bool) -> Self { method overlay (line 103) | pub fn overlay(mut self, overlay: bool) -> Self { method overlay_closable (line 109) | pub fn overlay_closable(mut self, overlay_closable: bool) -> Self { method on_close (line 115) | pub fn on_close( method extend (line 126) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 131) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 137) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/sidebar/footer.rs type SidebarFooter (line 10) | pub struct SidebarFooter { method new (line 18) | pub fn new() -> Self { method selected (line 28) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 33) | fn is_selected(&self) -> bool { method is_collapsed (line 39) | fn is_collapsed(&self) -> bool { method collapsed (line 43) | fn collapsed(mut self, collapsed: bool) -> Self { method extend (line 50) | fn extend(&mut self, elements: impl IntoIterator &mut gpui::StyleRefinement { method interactivity (line 62) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method render (line 70) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl gpui::... FILE: crates/ui/src/sidebar/group.rs type SidebarGroup (line 9) | pub struct SidebarGroup { function new (line 17) | pub fn new(label: impl Into) -> Self { function child (line 26) | pub fn child(mut self, child: E) -> Self { function children (line 34) | pub fn children(mut self, children: impl IntoIterator) -> Self { method is_collapsed (line 41) | fn is_collapsed(&self) -> bool { method collapsed (line 45) | fn collapsed(mut self, collapsed: bool) -> Self { method render (line 52) | fn render( FILE: crates/ui/src/sidebar/header.rs type SidebarHeader (line 10) | pub struct SidebarHeader { method new (line 20) | pub fn new() -> Self { method default (line 32) | fn default() -> Self { method selected (line 38) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 43) | fn is_selected(&self) -> bool { method is_collapsed (line 49) | fn is_collapsed(&self) -> bool { method collapsed (line 53) | fn collapsed(mut self, collapsed: bool) -> Self { method extend (line 60) | fn extend(&mut self, elements: impl IntoIterator &mut gpui::StyleRefinement { method interactivity (line 72) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method render (line 80) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl gpui::... FILE: crates/ui/src/sidebar/menu.rs type SidebarMenu (line 18) | pub struct SidebarMenu { method new (line 26) | pub fn new() -> Self { method child (line 37) | pub fn child(mut self, child: impl Into) -> Self { method children (line 43) | pub fn children( method is_collapsed (line 53) | fn is_collapsed(&self) -> bool { method collapsed (line 57) | fn collapsed(mut self, collapsed: bool) -> Self { method render (line 64) | fn render( method style (line 85) | fn style(&mut self) -> &mut StyleRefinement { type SidebarMenuItem (line 92) | pub struct SidebarMenuItem { method new (line 108) | pub fn new(label: impl Into) -> Self { method icon (line 125) | pub fn icon(mut self, icon: impl Into) -> Self { method active (line 131) | pub fn active(mut self, active: bool) -> Self { method on_click (line 137) | pub fn on_click( method collapsed (line 146) | pub fn collapsed(mut self, collapsed: bool) -> Self { method default_open (line 154) | pub fn default_open(mut self, open: bool) -> Self { method click_to_open (line 164) | pub fn click_to_open(mut self, click_to_open: bool) -> Self { method children (line 169) | pub fn children(mut self, children: impl IntoIterator(mut self, builder: F) -> Self method disable (line 187) | pub fn disable(mut self, disable: bool) -> Self { method is_submenu (line 192) | fn is_submenu(&self) -> bool { method context_menu (line 197) | pub fn context_menu( method is_collapsed (line 209) | fn is_collapsed(&self) -> bool { method collapsed (line 213) | fn collapsed(mut self, collapsed: bool) -> Self { method render (line 220) | fn render( FILE: crates/ui/src/sidebar/mod.rs constant DEFAULT_WIDTH (line 24) | const DEFAULT_WIDTH: Pixels = px(255.); constant COLLAPSED_WIDTH (line 25) | const COLLAPSED_WIDTH: Pixels = px(48.); type SidebarItem (line 27) | pub trait SidebarItem: Collapsible + Clone { method render (line 28) | fn render( type Sidebar (line 38) | pub struct Sidebar { function new (line 54) | pub fn new(id: impl Into) -> Self { function side (line 70) | pub fn side(mut self, side: Side) -> Self { function collapsible (line 76) | pub fn collapsible(mut self, collapsible: bool) -> Self { function collapsed (line 82) | pub fn collapsed(mut self, collapsed: bool) -> Self { function header (line 88) | pub fn header(mut self, header: impl IntoElement) -> Self { function footer (line 94) | pub fn footer(mut self, footer: impl IntoElement) -> Self { function child (line 100) | pub fn child(mut self, child: E) -> Self { function children (line 106) | pub fn children(mut self, children: impl IntoIterator) -> Self { type SidebarToggleButton (line 114) | pub struct SidebarToggleButton { method new (line 123) | pub fn new() -> Self { method side (line 135) | pub fn side(mut self, side: Side) -> Self { method collapsed (line 141) | pub fn collapsed(mut self, collapsed: bool) -> Self { method on_click (line 147) | pub fn on_click( method render (line 157) | fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement { method style (line 186) | fn style(&mut self) -> &mut StyleRefinement { method render (line 192) | fn render(mut self, window: &mut Window, cx: &mut App) -> impl IntoEleme... FILE: crates/ui/src/skeleton.rs type Skeleton (line 10) | pub struct Skeleton { method new (line 17) | pub fn new() -> Self { method secondary (line 25) | pub fn secondary(mut self) -> Self { method style (line 32) | fn style(&mut self) -> &mut gpui::StyleRefinement { method render (line 38) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl IntoEl... FILE: crates/ui/src/slider.rs type DragThumb (line 13) | struct DragThumb((EntityId, bool)); method render (line 16) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type DragSlider (line 22) | struct DragSlider(EntityId); method render (line 25) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... type SliderEvent (line 31) | pub enum SliderEvent { type SliderValue (line 42) | pub enum SliderValue { method fmt (line 48) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 57) | fn from(value: f32) -> Self { method from (line 63) | fn from(value: (f32, f32)) -> Self { method from (line 69) | fn from(value: Range) -> Self { method clamp (line 82) | pub fn clamp(self, min: f32, max: f32) -> Self { method is_single (line 93) | pub fn is_single(&self) -> bool { method is_range (line 99) | pub fn is_range(&self) -> bool { method start (line 104) | pub fn start(&self) -> f32 { method end (line 112) | pub fn end(&self) -> f32 { method set_start (line 119) | fn set_start(&mut self, value: f32) { method set_end (line 127) | fn set_end(&mut self, value: f32) { method default (line 75) | fn default() -> Self { type SliderScale (line 138) | pub enum SliderScale { method is_linear (line 172) | pub fn is_linear(&self) -> bool { method is_logarithmic (line 177) | pub fn is_logarithmic(&self) -> bool { type SliderState (line 183) | pub struct SliderState { method new (line 197) | pub fn new() -> Self { method min (line 210) | pub fn min(mut self, min: f32) -> Self { method max (line 227) | pub fn max(mut self, max: f32) -> Self { method step (line 240) | pub fn step(mut self, step: f32) -> Self { method scale (line 246) | pub fn scale(mut self, scale: SliderScale) -> Self { method default_value (line 263) | pub fn default_value(mut self, value: impl Into) -> Self { method set_value (line 270) | pub fn set_value( method value (line 282) | pub fn value(&self) -> SliderValue { method percentage_to_value (line 288) | fn percentage_to_value(&self, percentage: f32) -> f32 { method value_to_percentage (line 303) | fn value_to_percentage(&self, value: f32) -> f32 { method update_thumb_pos (line 320) | fn update_thumb_pos(&mut self) { method update_value_by_position (line 336) | fn update_value_by_position( type Slider (line 380) | pub struct Slider { method new (line 389) | pub fn new(state: &Entity) -> Self { method horizontal (line 399) | pub fn horizontal(mut self) -> Self { method vertical (line 405) | pub fn vertical(mut self) -> Self { method disabled (line 411) | pub fn disabled(mut self, disabled: bool) -> Self { method render_thumb (line 417) | fn render_thumb( method style (line 492) | fn style(&mut self) -> &mut StyleRefinement { method render (line 498) | fn render(self, window: &mut Window, cx: &mut gpui::App) -> impl IntoEle... FILE: crates/ui/src/spinner.rs type Spinner (line 10) | pub struct Spinner { method new (line 19) | pub fn new() -> Self { method icon (line 33) | pub fn icon(mut self, icon: impl Into) -> Self { method color (line 39) | pub fn color(mut self, color: Hsla) -> Self { method with_size (line 46) | fn with_size(mut self, size: impl Into) -> Self { method render (line 53) | fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/stepper/item.rs type StepperItem (line 14) | pub struct StepperItem { method new (line 29) | pub fn new() -> Self { method icon (line 46) | pub fn icon(mut self, icon: impl Into) -> Self { method disabled (line 56) | pub fn disabled(mut self, disabled: bool) -> Self { method text_center (line 61) | pub(super) fn text_center(mut self, center: bool) -> Self { method step (line 66) | pub(super) fn step(mut self, ix: usize) -> Self { method checked_step (line 71) | pub(super) fn checked_step(mut self, checked_step: usize) -> Self { method layout (line 76) | pub(super) fn layout(mut self, layout: Axis) -> Self { method is_last (line 81) | pub(super) fn is_last(mut self, is_last: bool) -> Self { method on_click (line 86) | pub(super) fn on_click(mut self, f: F) -> Self method extend (line 96) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 102) | fn with_size(mut self, size: impl Into) -> Self { method style (line 109) | fn style(&mut self) -> &mut StyleRefinement { method render (line 115) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type StepperSeparator (line 168) | struct StepperSeparator { method new (line 178) | fn new() -> Self { method with_size (line 189) | fn with_size(mut self, size: Size) -> Self { method text_center (line 194) | fn text_center(mut self, center: bool) -> Self { method layout (line 199) | fn layout(mut self, layout: Axis) -> Self { method icon_size (line 204) | fn icon_size(mut self, size: Pixels) -> Self { method checked (line 209) | fn checked(mut self, checked: bool) -> Self { method style (line 216) | fn style(&mut self) -> &mut StyleRefinement { method render (line 222) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/stepper/stepper.rs type Stepper (line 12) | pub struct Stepper { method new (line 28) | pub fn new(id: impl Into) -> Self { method text_center (line 43) | pub fn text_center(mut self, center: bool) -> Self { method layout (line 49) | pub fn layout(mut self, layout: Axis) -> Self { method vertical (line 55) | pub fn vertical(mut self) -> Self { method selected_index (line 61) | pub fn selected_index(mut self, index: usize) -> Self { method item (line 67) | pub fn item(mut self, item: StepperItem) -> Self { method items (line 73) | pub fn items(mut self, items: impl IntoIterator) -... method disabled (line 79) | pub fn disabled(mut self, disabled: bool) -> Self { method on_click (line 87) | pub fn on_click(mut self, f: F) -> Self method with_size (line 97) | fn with_size(mut self, size: impl Into) -> Self { method style (line 104) | fn style(&mut self) -> &mut StyleRefinement { method render (line 110) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/stepper/trigger.rs type StepperTrigger (line 11) | pub(super) struct StepperTrigger { method new (line 26) | pub(super) fn new() -> Self { method step (line 42) | pub(super) fn step(mut self, ix: usize) -> Self { method checked_step (line 47) | pub(super) fn checked_step(mut self, checked_step: usize) -> Self { method layout (line 52) | pub(super) fn layout(mut self, layout: Axis) -> Self { method icon (line 57) | pub(super) fn icon(mut self, icon: Option>) -> Self { method icon_size (line 62) | pub(super) fn icon_size(mut self, size: Pixels) -> Self { method disabled (line 67) | pub(super) fn disabled(mut self, disabled: bool) -> Self { method with_size (line 72) | pub(super) fn with_size(mut self, size: Size) -> Self { method text_center (line 77) | pub(super) fn text_center(mut self, center: bool) -> Self { method on_click (line 82) | pub(super) fn on_click(mut self, f: F) -> Self method style (line 92) | fn style(&mut self) -> &mut StyleRefinement { method extend (line 98) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 104) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/styled.rs function h_flex (line 10) | pub fn h_flex() -> Div { function v_flex (line 16) | pub fn v_flex() -> Div { function box_shadow (line 28) | pub fn box_shadow( type StyledExt (line 55) | pub trait StyledExt: Styled + Sized { method refine_style (line 57) | fn refine_style(mut self, style: &StyleRefinement) -> Self { method h_flex (line 64) | fn h_flex(self) -> Self { method v_flex (line 70) | fn v_flex(self) -> Self { method paddings (line 75) | fn paddings(self, paddings: impl Into>) -> Self method margins (line 87) | fn margins(self, margins: impl Into>) -> Self method debug_red (line 99) | fn debug_red(self) -> Self { method debug_blue (line 104) | fn debug_blue(self) -> Self { method debug_yellow (line 109) | fn debug_yellow(self) -> Self { method debug_green (line 118) | fn debug_green(self) -> Self { method debug_pink (line 123) | fn debug_pink(self) -> Self { method debug_focused (line 128) | fn debug_focused(self, focus_handle: &FocusHandle, window: &Window, cx... method focused_border (line 138) | fn focused_border(self, cx: &App) -> Self { method popover_style (line 154) | fn popover_style(self, cx: &App) -> Self { method corner_radii (line 164) | fn corner_radii(self, radius: Corners) -> Self { type Size (line 176) | pub enum Size { method as_f32 (line 186) | fn as_f32(&self) -> f32 { method as_str (line 197) | pub fn as_str(&self) -> &'static str { method from_str (line 215) | pub fn from_str(size: &str) -> Self { method table_row_height (line 227) | pub fn table_row_height(&self) -> Pixels { method table_cell_padding (line 238) | pub fn table_cell_padding(&self) -> Edges { method smaller (line 248) | pub fn smaller(&self) -> Self { method larger (line 259) | pub fn larger(&self) -> Self { method max (line 272) | pub fn max(&self, other: Self) -> Self { method min (line 285) | pub fn min(&self, other: Self) -> Self { method input_px (line 296) | pub fn input_px(&self) -> Pixels { method input_py (line 307) | pub fn input_py(&self) -> Pixels { method from (line 319) | fn from(size: Pixels) -> Self { type Selectable (line 326) | pub trait Selectable: Sized { method selected (line 328) | fn selected(mut self, selected: bool) -> Self; method is_selected (line 331) | fn is_selected(&self) -> bool; method secondary_selected (line 334) | fn secondary_selected(self, _: bool) -> Self { type Disableable (line 341) | pub trait Disableable { method disabled (line 343) | fn disabled(mut self, disabled: bool) -> Self; type Sizable (line 349) | pub trait Sizable: Sized { method with_size (line 354) | fn with_size(mut self, size: impl Into) -> Self; method xsmall (line 358) | fn xsmall(self) -> Self { method small (line 364) | fn small(self) -> Self { method large (line 370) | fn large(self) -> Self { type StyleSized (line 376) | pub trait StyleSized { method input_text_size (line 377) | fn input_text_size(self, size: Size) -> Self; method input_size (line 378) | fn input_size(self, size: Size) -> Self; method input_pl (line 379) | fn input_pl(self, size: Size) -> Self; method input_pr (line 380) | fn input_pr(self, size: Size) -> Self; method input_px (line 381) | fn input_px(self, size: Size) -> Self; method input_py (line 382) | fn input_py(self, size: Size) -> Self; method input_h (line 383) | fn input_h(self, size: Size) -> Self; method list_size (line 384) | fn list_size(self, size: Size) -> Self; method list_px (line 385) | fn list_px(self, size: Size) -> Self; method list_py (line 386) | fn list_py(self, size: Size) -> Self; method size_with (line 388) | fn size_with(self, size: Size) -> Self; method table_cell_size (line 390) | fn table_cell_size(self, size: Size) -> Self; method button_text_size (line 391) | fn button_text_size(self, size: Size) -> Self; method input_text_size (line 396) | fn input_text_size(self, size: Size) -> Self { method input_size (line 407) | fn input_size(self, size: Size) -> Self { method input_pl (line 412) | fn input_pl(self, size: Size) -> Self { method input_pr (line 417) | fn input_pr(self, size: Size) -> Self { method input_px (line 422) | fn input_px(self, size: Size) -> Self { method input_py (line 427) | fn input_py(self, size: Size) -> Self { method input_h (line 432) | fn input_h(self, size: Size) -> Self { method list_size (line 443) | fn list_size(self, size: Size) -> Self { method list_px (line 448) | fn list_px(self, size: Size) -> Self { method list_py (line 456) | fn list_py(self, size: Size) -> Self { method size_with (line 466) | fn size_with(self, size: Size) -> Self { method table_cell_size (line 477) | fn table_cell_size(self, size: Size) -> Self { method button_text_size (line 490) | fn button_text_size(self, size: Size) -> Self { type FocusableExt (line 499) | pub(crate) trait FocusableExt { method focus_ring (line 501) | fn focus_ring(self, is_focused: bool, margins: Pixels, window: &Window... method focus_ring (line 505) | fn focus_ring(mut self, is_focused: bool, margins: Pixels, window: &Wind... type Collapsible (line 570) | pub trait Collapsible { method collapsed (line 571) | fn collapsed(self, collapsed: bool) -> Self; method is_collapsed (line 572) | fn is_collapsed(&self) -> bool; function test_size_max_min (line 582) | fn test_size_max_min() { function test_size_as_str (line 602) | fn test_size_as_str() { function test_size_from_str (line 611) | fn test_size_from_str() { FILE: crates/ui/src/switch.rs type Switch (line 13) | pub struct Switch { method new (line 27) | pub fn new(id: impl Into) -> Self { method checked (line 43) | pub fn checked(mut self, checked: bool) -> Self { method label (line 49) | pub fn label(mut self, label: impl Into) -> Self { method on_click (line 55) | pub fn on_click(mut self, handler: F) -> Self method tooltip (line 64) | pub fn tooltip(mut self, tooltip: impl Into) -> Self { method style (line 71) | fn style(&mut self) -> &mut gpui::StyleRefinement { method with_size (line 77) | fn with_size(mut self, size: impl Into) -> Self { method disabled (line 84) | fn disabled(mut self, disabled: bool) -> Self { method render (line 91) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/tab/tab.rs type TabVariant (line 13) | pub enum TabVariant { method height (line 23) | fn height(&self, size: Size) -> Pixels { method inner_height (line 44) | fn inner_height(&self, size: Size) -> Pixels { method inner_paddings (line 71) | fn inner_paddings(&self, size: Size) -> Edges { method inner_margins (line 90) | fn inner_margins(&self, size: Size) -> Edges { method normal (line 127) | fn normal(&self, cx: &App) -> TabStyle { method hovered (line 171) | fn hovered(&self, selected: bool, cx: &App) -> TabStyle { method selected (line 220) | fn selected(&self, cx: &App) -> TabStyle { method disabled (line 265) | fn disabled(&self, selected: bool, cx: &App) -> TabStyle { method tab_bar_radius (line 333) | pub(super) fn tab_bar_radius(&self, size: Size, cx: &App) -> Pixels { method radius (line 345) | fn radius(&self, size: Size, cx: &App) -> Pixels { method inner_radius (line 357) | fn inner_radius(&self, size: Size, cx: &App) -> Pixels { type TabStyle (line 369) | struct TabStyle { method default (line 379) | fn default() -> Self { type Tab (line 393) | pub struct Tab { method from (line 410) | fn from(label: &'static str) -> Self { method from (line 416) | fn from(label: String) -> Self { method from (line 422) | fn from(label: SharedString) -> Self { method from (line 428) | fn from(icon: Icon) -> Self { method from (line 434) | fn from(icon_name: IconName) -> Self { method new (line 461) | pub fn new() -> Self { method label (line 466) | pub fn label(mut self, label: impl Into) -> Self { method icon (line 472) | pub fn icon(mut self, icon: impl Into) -> Self { method with_variant (line 478) | pub fn with_variant(mut self, variant: TabVariant) -> Self { method pill (line 484) | pub fn pill(mut self) -> Self { method outline (line 490) | pub fn outline(mut self) -> Self { method segmented (line 496) | pub fn segmented(mut self) -> Self { method underline (line 502) | pub fn underline(mut self) -> Self { method prefix (line 508) | pub fn prefix(mut self, prefix: impl IntoElement) -> Self { method suffix (line 514) | pub fn suffix(mut self, suffix: impl IntoElement) -> Self { method disabled (line 520) | pub fn disabled(mut self, disabled: bool) -> Self { method on_click (line 526) | pub fn on_click( method ix (line 535) | pub(crate) fn ix(mut self, ix: usize) -> Self { method tab_bar_prefix (line 541) | pub(crate) fn tab_bar_prefix(mut self, tab_bar_prefix: bool) -> Self { method default (line 440) | fn default() -> Self { method extend (line 548) | fn extend(&mut self, elements: impl IntoIterator) { method selected (line 554) | fn selected(mut self, selected: bool) -> Self { method is_selected (line 559) | fn is_selected(&self) -> bool { method interactivity (line 565) | fn interactivity(&mut self) -> &mut gpui::Interactivity { method style (line 573) | fn style(&mut self) -> &mut gpui::StyleRefinement { method with_size (line 579) | fn with_size(mut self, size: impl Into) -> Self { method render (line 586) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/tab/tab_bar.rs type TabBar (line 16) | pub struct TabBar { method new (line 33) | pub fn new(id: impl Into) -> Self { method with_variant (line 51) | pub fn with_variant(mut self, variant: TabVariant) -> Self { method pill (line 57) | pub fn pill(mut self) -> Self { method outline (line 63) | pub fn outline(mut self) -> Self { method segmented (line 69) | pub fn segmented(mut self) -> Self { method underline (line 75) | pub fn underline(mut self) -> Self { method menu (line 81) | pub fn menu(mut self, menu: bool) -> Self { method track_scroll (line 87) | pub fn track_scroll(mut self, scroll_handle: &ScrollHandle) -> Self { method prefix (line 93) | pub fn prefix(mut self, prefix: impl IntoElement) -> Self { method suffix (line 99) | pub fn suffix(mut self, suffix: impl IntoElement) -> Self { method children (line 105) | pub fn children(mut self, children: impl IntoIterator) -> Self { method selected_index (line 117) | pub fn selected_index(mut self, index: usize) -> Self { method last_empty_space (line 123) | pub fn last_empty_space(mut self, last_empty_space: impl IntoElement) ... method on_click (line 131) | pub fn on_click(mut self, on_click: F) -> Self method style (line 141) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 147) | fn with_size(mut self, size: impl Into) -> Self { method render (line 154) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/table/column.rs type Column (line 12) | pub struct Column { method new (line 74) | pub fn new(key: impl Into, name: impl Into... method sort (line 85) | pub fn sort(mut self, sort: ColumnSort) -> Self { method sortable (line 93) | pub fn sortable(mut self) -> Self { method ascending (line 99) | pub fn ascending(mut self) -> Self { method descending (line 105) | pub fn descending(mut self) -> Self { method text_center (line 111) | pub fn text_center(mut self) -> Self { method text_right (line 119) | pub fn text_right(mut self) -> Self { method paddings (line 125) | pub fn paddings(mut self, paddings: impl Into>) -> Self { method p_0 (line 131) | pub fn p_0(mut self) -> Self { method width (line 137) | pub fn width(mut self, width: impl Into) -> Self { method fixed (line 143) | pub fn fixed(mut self, fixed: impl Into) -> Self { method fixed_left (line 149) | pub fn fixed_left(mut self) -> Self { method resizable (line 155) | pub fn resizable(mut self, resizable: bool) -> Self { method movable (line 161) | pub fn movable(mut self, movable: bool) -> Self { method selectable (line 182) | pub fn selectable(mut self, selectable: bool) -> Self { method min_width (line 188) | pub fn min_width(mut self, min_width: impl Into) -> Self { method max_width (line 201) | pub fn max_width(mut self, max_width: impl Into) -> Self { method default (line 54) | fn default() -> Self { type ColumnFixed (line 217) | pub enum ColumnFixed { type ColGroup (line 223) | pub(crate) struct ColGroup { method is_resizable (line 234) | pub(crate) fn is_resizable(&self) -> bool { type DragColumn (line 240) | pub(crate) struct DragColumn { type ColumnSort (line 249) | pub enum ColumnSort { method render (line 260) | fn render(&mut self, _window: &mut Window, cx: &mut Context) -> im... type ResizeColumn (line 278) | pub(crate) struct ResizeColumn(pub (EntityId, usize)); method render (line 280) | fn render(&mut self, _window: &mut Window, _: &mut Context) -> imp... FILE: crates/ui/src/table/data_table.rs constant CONTEXT (line 14) | const CONTEXT: &'static str = "DataTable"; function init (line 15) | pub(super) fn init(cx: &mut App) { type TableOptions (line 31) | pub(super) struct TableOptions { method default (line 42) | fn default() -> Self { type DataTable (line 89) | pub struct DataTable { function new (line 99) | pub fn new(state: &Entity>) -> Self { function stripe (line 104) | pub fn stripe(mut self, stripe: bool) -> Self { function bordered (line 110) | pub fn bordered(mut self, bordered: bool) -> Self { function scrollbar_visible (line 116) | pub fn scrollbar_visible(mut self, vertical: bool, horizontal: bool) -> ... method with_size (line 127) | fn with_size(mut self, size: impl Into) -> Self { method render (line 137) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/table/delegate.rs type TableDelegate (line 16) | pub trait TableDelegate: Sized + 'static { method columns_count (line 18) | fn columns_count(&self, cx: &App) -> usize; method rows_count (line 21) | fn rows_count(&self, cx: &App) -> usize; method column (line 26) | fn column(&self, col_ix: usize, cx: &App) -> Column; method perform_sort (line 29) | fn perform_sort( method render_header (line 39) | fn render_header( method render_th (line 48) | fn render_th( method render_tr (line 62) | fn render_tr( method context_menu (line 72) | fn context_menu( method render_td (line 83) | fn render_td( method move_column (line 92) | fn move_column( method render_empty (line 102) | fn render_empty( method loading (line 116) | fn loading(&self, cx: &App) -> bool { method render_loading (line 123) | fn render_loading( method has_more (line 135) | fn has_more(&self, cx: &App) -> bool { method load_more_threshold (line 144) | fn load_more_threshold(&self) -> usize { method load_more (line 154) | fn load_more(&mut self, window: &mut Window, cx: &mut Context String { FILE: crates/ui/src/table/loading.rs type Loading (line 5) | pub(super) struct Loading { method new (line 10) | pub(super) fn new() -> Self { method size (line 14) | pub(super) fn size(mut self, size: Size) -> Self { type LoadingRow (line 21) | struct LoadingRow { method header (line 27) | fn header() -> Self { method row (line 34) | fn row() -> Self { method size (line 41) | fn size(mut self, size: Size) -> Self { method render (line 48) | fn render(self, _: &mut gpui::Window, cx: &mut gpui::App) -> impl IntoEl... method render (line 100) | fn render(self, _window: &mut gpui::Window, _cx: &mut gpui::App) -> impl... FILE: crates/ui/src/table/mod.rs function init (line 16) | pub(crate) fn init(cx: &mut App) { FILE: crates/ui/src/table/state.rs type SelectionMode (line 25) | enum SelectionMode { method is_row (line 33) | fn is_row(&self) -> bool { method is_column (line 38) | fn is_column(&self) -> bool { method is_cell (line 43) | fn is_cell(&self) -> bool { type TableEvent (line 50) | pub enum TableEvent { type TableVisibleRange (line 101) | pub struct TableVisibleRange { method rows (line 110) | pub fn rows(&self) -> &Range { method cols (line 115) | pub fn cols(&self) -> &Range { type TableState (line 169) | pub struct TableState { function new (line 230) | pub fn new(delegate: D, _: &mut Window, cx: &mut Context) -> Self { function delegate (line 265) | pub fn delegate(&self) -> &D { function delegate_mut (line 270) | pub fn delegate_mut(&mut self) -> &mut D { function loop_selection (line 275) | pub fn loop_selection(mut self, loop_selection: bool) -> Self { function col_movable (line 281) | pub fn col_movable(mut self, col_movable: bool) -> Self { function col_resizable (line 287) | pub fn col_resizable(mut self, col_resizable: bool) -> Self { function sortable (line 293) | pub fn sortable(mut self, sortable: bool) -> Self { function row_selectable (line 299) | pub fn row_selectable(mut self, row_selectable: bool) -> Self { function col_selectable (line 305) | pub fn col_selectable(mut self, col_selectable: bool) -> Self { function cell_selectable (line 327) | pub fn cell_selectable(mut self, cell_selectable: bool) -> Self { function refresh (line 333) | pub fn refresh(&mut self, cx: &mut Context) { function scroll_to_row (line 338) | pub fn scroll_to_row(&mut self, row_ix: usize, cx: &mut Context) { function scroll_to_col (line 344) | pub fn scroll_to_col(&mut self, col_ix: usize, cx: &mut Context) { function selected_row (line 352) | pub fn selected_row(&self) -> Option { function set_selected_row (line 357) | pub fn set_selected_row(&mut self, row_ix: usize, cx: &mut Context) { function right_clicked_row (line 379) | pub fn right_clicked_row(&self) -> Option { function selected_col (line 384) | pub fn selected_col(&self) -> Option { function set_selected_col (line 389) | pub fn set_selected_col(&mut self, col_ix: usize, cx: &mut Context) { function selected_cell (line 410) | pub fn selected_cell(&self) -> Option<(usize, usize)> { function set_selected_cell (line 429) | pub fn set_selected_cell(&mut self, row_ix: usize, col_ix: usize, cx: &m... function clear_selection (line 442) | pub fn clear_selection(&mut self, cx: &mut Context) { function visible_range (line 454) | pub fn visible_range(&self) -> &TableVisibleRange { function dump (line 461) | pub fn dump(&self, cx: &App) -> (Vec, Vec>) { function prepare_col_groups (line 484) | fn prepare_col_groups(&mut self, cx: &mut Context) { function fixed_left_cols_count (line 494) | fn fixed_left_cols_count(&self) -> usize { function page_item_count (line 502) | fn page_item_count(&self) -> usize { function on_row_right_click (line 509) | fn on_row_right_click( function on_cell_right_click (line 521) | fn on_cell_right_click( function on_row_left_click (line 539) | fn on_row_left_click( function on_col_head_click (line 557) | fn on_col_head_click(&mut self, col_ix: usize, _: &mut Window, cx: &mut ... function on_cell_click (line 573) | fn on_cell_click( function has_selection (line 593) | fn has_selection(&self) -> bool { function action_cancel (line 597) | pub(super) fn action_cancel(&mut self, _: &Cancel, _: &mut Window, cx: &... function action_select_prev (line 605) | pub(super) fn action_select_prev( function action_select_next (line 647) | pub(super) fn action_select_next( function action_select_first_column (line 692) | pub(super) fn action_select_first_column( function action_select_last_column (line 713) | pub(super) fn action_select_last_column( function action_select_page_up (line 736) | pub(super) fn action_select_page_up( function action_select_page_down (line 762) | pub(super) fn action_select_page_down( function action_select_prev_col (line 795) | pub(super) fn action_select_prev_col( function action_select_next_col (line 833) | pub(super) fn action_select_next_col( function scroll_table_by_col_resizing (line 873) | fn scroll_table_by_col_resizing( function resize_cols (line 901) | fn resize_cols(&mut self, ix: usize, size: Pixels, _: &mut Window, cx: &... function perform_sort (line 923) | fn perform_sort(&mut self, col_ix: usize, window: &mut Window, cx: &mut ... function move_column (line 955) | fn move_column( function load_more_if_need (line 975) | fn load_more_if_need( function update_visible_range_if_need (line 997) | fn update_visible_range_if_need( function render_cell (line 1025) | fn render_cell( function render_col_wrap (line 1056) | fn render_col_wrap( function render_resize_handle (line 1083) | fn render_resize_handle( function render_row_selector_cell (line 1170) | fn render_row_selector_cell( function render_sort_icon (line 1194) | fn render_sort_icon( function render_th (line 1237) | fn render_th(&mut self, col_ix: usize, window: &mut Window, cx: &mut Con... function render_table_header (line 1302) | fn render_table_header( function render_table_row (line 1392) | fn render_table_row( function calculate_extra_rows_needed (line 1718) | fn calculate_extra_rows_needed( function measure_render_td (line 1735) | fn measure_render_td( function measure (line 1752) | fn measure(&mut self, _window: &mut Window, _cx: &mut Context) { function render_vertical_scrollbar (line 1771) | fn render_vertical_scrollbar( function render_horizontal_scrollbar (line 1788) | fn render_horizontal_scrollbar( method focus_handle (line 1807) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 1817) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/table/table.rs constant MIN_CELL_WIDTH (line 8) | const MIN_CELL_WIDTH: Pixels = px(100.); type Table (line 35) | pub struct Table { method new (line 43) | pub fn new() -> Self { method child (line 52) | pub fn child(mut self, child: impl ChildElement + 'static) -> Self { method children (line 57) | pub fn children( method style (line 67) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 73) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 80) | fn with_ix(mut self, ix: usize) -> Self { method render (line 87) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type TableHeader (line 103) | pub struct TableHeader { method new (line 111) | pub fn new() -> Self { method child (line 120) | pub fn child(mut self, child: impl ChildElement + 'static) -> Self { method children (line 125) | pub fn children( method style (line 135) | fn style(&mut self) -> &mut StyleRefinement { method with_ix (line 141) | fn with_ix(mut self, ix: usize) -> Self { method with_size (line 148) | fn with_size(mut self, size: impl Into) -> Self { method render (line 155) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type TableBody (line 172) | pub struct TableBody { method new (line 180) | pub fn new() -> Self { method child (line 189) | pub fn child(mut self, child: impl ChildElement + 'static) -> Self { method children (line 194) | pub fn children( method style (line 204) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 210) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 217) | fn with_ix(mut self, ix: usize) -> Self { method render (line 224) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type TableFooter (line 233) | pub struct TableFooter { method new (line 241) | pub fn new() -> Self { method child (line 250) | pub fn child(mut self, child: impl ChildElement + 'static) -> Self { method children (line 255) | pub fn children( method style (line 265) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 271) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 278) | fn with_ix(mut self, ix: usize) -> Self { method render (line 285) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type TableRow (line 302) | pub struct TableRow { method new (line 310) | pub fn new() -> Self { method child (line 319) | pub fn child(mut self, child: impl ChildElement + 'static) -> Self { method children (line 324) | pub fn children( method style (line 334) | fn style(&mut self) -> &mut StyleRefinement { method with_size (line 340) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 347) | fn with_ix(mut self, ix: usize) -> Self { method render (line 354) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type TableHead (line 371) | pub struct TableHead { method new (line 381) | pub fn new() -> Self { method col_span (line 393) | pub fn col_span(mut self, span: usize) -> Self { method text_center (line 399) | pub fn text_center(mut self) -> Self { method text_right (line 405) | pub fn text_right(mut self) -> Self { method extend (line 412) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 418) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 425) | fn with_ix(mut self, ix: usize) -> Self { method style (line 432) | fn style(&mut self) -> &mut StyleRefinement { method render (line 438) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type TableCell (line 460) | pub struct TableCell { method new (line 470) | pub fn new() -> Self { method col_span (line 482) | pub fn col_span(mut self, span: usize) -> Self { method text_center (line 488) | pub fn text_center(mut self) -> Self { method text_right (line 494) | pub fn text_right(mut self) -> Self { method extend (line 501) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 507) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 514) | fn with_ix(mut self, ix: usize) -> Self { method style (line 521) | fn style(&mut self) -> &mut StyleRefinement { method render (line 527) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { type TableCaption (line 549) | pub struct TableCaption { method new (line 557) | pub fn new() -> Self { method extend (line 568) | fn extend(&mut self, elements: impl IntoIterator) { method with_size (line 574) | fn with_size(mut self, size: impl Into) -> Self { method with_ix (line 581) | fn with_ix(mut self, ix: usize) -> Self { method style (line 588) | fn style(&mut self) -> &mut StyleRefinement { method render (line 594) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/tag.rs type TagVariant (line 10) | pub enum TagVariant { method bg (line 27) | fn bg(&self, cx: &App) -> Hsla { method border (line 46) | fn border(&self, cx: &App) -> Hsla { method fg (line 65) | fn fg(&self, outline: bool, cx: &App) -> Hsla { type Tag (line 125) | pub struct Tag { method new (line 135) | pub fn new() -> Self { method primary (line 147) | pub fn primary() -> Self { method secondary (line 152) | pub fn secondary() -> Self { method danger (line 157) | pub fn danger() -> Self { method success (line 162) | pub fn success() -> Self { method warning (line 167) | pub fn warning() -> Self { method info (line 172) | pub fn info() -> Self { method custom (line 177) | pub fn custom(color: Hsla, foreground: Hsla, border: Hsla) -> Self { method color (line 186) | pub fn color(color: impl Into) -> Self { method with_variant (line 191) | pub fn with_variant(mut self, variant: TagVariant) -> Self { method outline (line 197) | pub fn outline(mut self) -> Self { method rounded (line 203) | pub fn rounded(mut self, radius: impl Into) -> Self { method rounded_full (line 209) | pub fn rounded_full(mut self) -> Self { method with_size (line 216) | fn with_size(mut self, size: impl Into) -> Self { method extend (line 223) | fn extend(&mut self, elements: impl IntoIterator) { method style (line 229) | fn style(&mut self) -> &mut StyleRefinement { method render (line 235) | fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/text/document.rs type ParsedDocument (line 10) | pub(crate) struct ParsedDocument { method selected_text (line 33) | pub(super) fn selected_text(&self) -> String { method to_markdown (line 45) | pub(crate) fn to_markdown(&self) -> String { method render_root (line 53) | pub(super) fn render_root( type NodeRenderOptions (line 16) | pub(crate) struct NodeRenderOptions { method is_last (line 26) | pub(crate) fn is_last(mut self, is_last: bool) -> Self { FILE: crates/ui/src/text/format/html.rs constant BLOCK_ELEMENTS (line 17) | const BLOCK_ELEMENTS: [&str; 35] = [ function parse (line 56) | pub(crate) fn parse(source: &str, cx: &mut NodeContext) -> Result Vec { function attr_value (line 94) | fn attr_value(attrs: &RefCell>, name: LocalNam... function style_attrs (line 106) | fn style_attrs(attrs: &RefCell>) -> HashMap Option { function attr_width_height (line 146) | fn attr_width_height( function parse_table_row (line 173) | fn parse_table_row(table: &mut Table, node: &Rc) { function parse_table_cell (line 199) | fn parse_table_cell( function trim_text (line 221) | fn trim_text(text: &str) -> String { function parse_paragraph (line 236) | fn parse_paragraph( function parse_node (line 347) | fn parse_node( function consume_children_nodes (line 576) | fn consume_children_nodes( function consume_paragraph (line 593) | fn consume_paragraph(children: &mut Vec, paragraph: &mut Para... function test_cleanup_html (line 613) | fn test_cleanup_html() { function test_trim_text (line 638) | fn test_trim_text() { function test_keep_spaces (line 643) | fn test_keep_spaces() { function test_value_to_length (line 682) | fn test_value_to_length() { function test_image (line 690) | fn test_image() { FILE: crates/ui/src/text/format/html5minify/mod.rs type Minify (line 16) | pub(crate) trait Minify { method minify (line 23) | fn minify(&self) -> Result, io::Error>; method minify (line 44) | fn minify(&self) -> Result, io::Error> { function minify (line 35) | pub(crate) fn minify(mut r: &mut R, w: &mut W... type Minifier (line 55) | pub struct Minifier<'a, W: io::Write> { type Context (line 64) | struct Context<'a> { function trim (line 74) | fn trim(&self, preceding_whitespace: bool) -> (bool, bool) { function trim_left (line 78) | fn trim_left(&self) -> bool { function parent_trim_left (line 91) | fn parent_trim_left(&self) -> bool { function trim_right (line 95) | fn trim_right(&self) -> bool { function next_element (line 104) | fn next_element(&self) -> Option<&Rc> { function is_block_element (line 112) | fn is_block_element(node: &Rc) -> Option { function new (line 127) | pub fn new(w: &'a mut W) -> Self { function collapse_whitespace (line 141) | pub fn collapse_whitespace(&mut self, collapse: bool) -> &mut Self { function omit_doctype (line 150) | pub fn omit_doctype(&mut self, omit: bool) -> &mut Self { function preserve_comments (line 159) | pub fn preserve_comments(&mut self, preserve: bool) -> &mut Self { function minify (line 171) | pub fn minify(&mut self, mut r: &mut R) -> io::Result<()> { function minify_node (line 183) | fn minify_node<'b>(&mut self, ctx: &'b Option, node: &'b Node) ... function next_is_comment (line 287) | fn next_is_comment<'b, I>(&self, v: I) -> bool function is_whitespace (line 307) | fn is_whitespace(&self, s: &RefCell>) -> Option { function omit_tags (line 324) | fn omit_tags( function minify_children (line 453) | fn minify_children(&mut self, ctx: &Option, node: &Node) -> io:... function write_qualified_name (line 478) | fn write_qualified_name(&mut self, name: &QualName) -> io::Result<()> { function write_start_tag (line 489) | fn write_start_tag(&mut self, name: &QualName, attrs: &[Attribute]) -> i... function write_end_tag (line 500) | fn write_end_tag(&mut self, name: &QualName) -> io::Result<()> { function write_attribute (line 506) | fn write_attribute(&mut self, attr: &Attribute) -> io::Result<()> { function write_attribute_value (line 543) | fn write_attribute_value>( function write_collapse_whitespace (line 564) | fn write_collapse_whitespace( function write (line 598) | fn write(&mut self, b: &[u8], f: EntityFn) -> io::Result<()> { type EntityFn (line 622) | type EntityFn = fn(u8) -> Option<&'static [u8]>; function reserved_entity (line 624) | const fn reserved_entity(v: u8) -> Option<&'static [u8]> { function reserved_entity_with_apos (line 633) | const fn reserved_entity_with_apos(v: u8) -> Option<&'static [u8]> { function is_whitespace (line 641) | fn is_whitespace(s: &RefCell>) -> bool { function is_block_element_name (line 645) | fn is_block_element_name(name: &str) -> bool { function is_block_element (line 697) | fn is_block_element(node: &Node) -> bool { function is_ascii_whitespace (line 706) | fn is_ascii_whitespace(c: char) -> bool { function preserve_whitespace (line 710) | fn preserve_whitespace(name: &str) -> bool { function contains_code (line 714) | fn contains_code(name: &str) -> bool { function is_self_closing (line 718) | fn is_self_closing(name: &str) -> bool { function optional_end_tag (line 741) | fn optional_end_tag(name: &str) -> bool { function test_write_collapse_whitespace (line 768) | fn test_write_collapse_whitespace() { function test_omit_tags (line 797) | fn test_omit_tags() { FILE: crates/ui/src/text/format/markdown.rs function parse (line 21) | pub(crate) fn parse( function parse_table_row (line 31) | fn parse_table_row(table: &mut Table, node: &mdast::TableRow, cx: &mut N... function parse_table_cell (line 44) | fn parse_table_cell(row: &mut node::TableRow, node: &mdast::TableCell, c... function parse_paragraph (line 56) | fn parse_paragraph(paragraph: &mut Paragraph, node: &mdast::Node, cx: &m... function ast_to_document (line 225) | fn ast_to_document( function new_span (line 247) | fn new_span(pos: Option, cx: &NodeContext) ->... function ast_to_node (line 256) | fn ast_to_node( FILE: crates/ui/src/text/inline.rs type Inline (line 19) | pub(super) struct Inline { method new (line 46) | pub(super) fn new( method link_for_position (line 64) | fn link_for_position( method paint_selected_bounds (line 81) | fn paint_selected_bounds(&self, bounds: Bounds, window: &mut W... method layout_selections (line 92) | fn layout_selections( method paint_selection (line 149) | fn paint_selection( type InlineState (line 31) | pub(crate) struct InlineState { method set_text (line 40) | pub(crate) fn set_text(&mut self, text: SharedString) { type Element (line 224) | type Element = Self; method into_element (line 226) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 232) | type RequestLayoutState = (); type PrepaintState (line 233) | type PrepaintState = Hitbox; method id (line 235) | fn id(&self) -> Option { method source_location (line 239) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 243) | fn request_layout( method prepaint (line 273) | fn prepaint( method paint (line 289) | fn paint( function point_in_text_selection (line 372) | fn point_in_text_selection( function test_point_in_text_selection (line 420) | fn test_point_in_text_selection() { function test_point_in_text_selection_reversed_drag_direction (line 568) | fn test_point_in_text_selection_reversed_drag_direction() { function test_point_in_text_selection_same_visual_line_with_different_y (line 611) | fn test_point_in_text_selection_same_visual_line_with_different_y() { function test_point_in_text_selection_same_visual_line_with_reversed_y (line 641) | fn test_point_in_text_selection_same_visual_line_with_reversed_y() { FILE: crates/ui/src/text/mod.rs function init (line 15) | pub(crate) fn init(cx: &mut App) { function markdown (line 21) | pub fn markdown(source: impl Into) -> TextView { function html (line 28) | pub fn html(source: impl Into) -> TextView { type Text (line 34) | pub enum Text { method from (line 40) | fn from(s: SharedString) -> Self { method from (line 46) | fn from(s: &str) -> Self { method from (line 52) | fn from(s: String) -> Self { method from (line 58) | fn from(e: TextView) -> Self { method style (line 67) | pub fn style(self, style: TextViewStyle) -> Self { method get_text (line 75) | pub(crate) fn get_text(&self, cx: &App) -> SharedString { method render (line 90) | fn render(self, _: &mut Window, _: &mut App) -> impl IntoElement { FILE: crates/ui/src/text/node.rs type BlockNode (line 32) | pub(crate) enum BlockNode { method is_list_item (line 81) | pub(super) fn is_list_item(&self) -> bool { method is_break (line 85) | pub(super) fn is_break(&self) -> bool { method compact (line 90) | pub(super) fn compact(self) -> BlockNode { method span (line 98) | pub(super) fn span(&self) -> Option { method selected_text (line 115) | pub(super) fn selected_text(&self) -> String { method to_markdown (line 790) | pub(crate) fn to_markdown(&self) -> String { method render_list_item (line 925) | fn render_list_item( method render_table (line 1050) | fn render_table( method render_block (line 1152) | pub(crate) fn render_block( type LinkMark (line 202) | pub struct LinkMark { type TextMark (line 210) | pub struct TextMark { method bold (line 219) | pub fn bold(mut self) -> Self { method italic (line 224) | pub fn italic(mut self) -> Self { method strikethrough (line 229) | pub fn strikethrough(mut self) -> Self { method code (line 234) | pub fn code(mut self) -> Self { method link (line 239) | pub fn link(mut self, link: impl Into) -> Self { method merge (line 244) | pub fn merge(&mut self, other: TextMark) { type Span (line 257) | pub struct Span { method from (line 263) | fn from(value: Span) -> Self { type ImageNode (line 270) | pub struct ImageNode { method title (line 280) | pub fn title(&self) -> String { method eq (line 289) | fn eq(&self, other: &Self) -> bool { type InlineNode (line 300) | pub(crate) struct InlineNode { method new (line 317) | pub(crate) fn new(text: impl Into) -> Self { method image (line 326) | pub(crate) fn image(image: ImageNode) -> Self { method marks (line 332) | pub(crate) fn marks(mut self, marks: Vec<(Range, TextMark)>) ->... method eq (line 311) | fn eq(&self, other: &Self) -> bool { type Paragraph (line 343) | pub(crate) struct Paragraph { method new (line 363) | pub(crate) fn new(text: String) -> Self { method selected_text (line 372) | pub(super) fn selected_text(&self) -> String { method take (line 437) | pub(crate) fn take(&mut self) -> Paragraph { method is_image (line 449) | pub(crate) fn is_image(&self) -> bool { method set_span (line 453) | pub(crate) fn set_span(&mut self, span: Span) { method push_str (line 457) | pub(crate) fn push_str(&mut self, text: &str) { method push (line 463) | pub(crate) fn push(&mut self, text: InlineNode) { method push_image (line 467) | pub(crate) fn push_image(&mut self, image: ImageNode) { method is_empty (line 471) | pub(crate) fn is_empty(&self) -> bool { method text_len (line 480) | pub(crate) fn text_len(&self) -> usize { method merge (line 487) | pub(crate) fn merge(&mut self, other: Self) { method render (line 620) | fn render( method to_markdown (line 742) | fn to_markdown(&self) -> String { method eq (line 355) | fn eq(&self, other: &Self) -> bool { type Table (line 394) | pub(crate) struct Table { method column_align (line 401) | pub(crate) fn column_align(&self, index: usize) -> ColumnumnAlign { type ColumnumnAlign (line 407) | pub(crate) enum ColumnumnAlign { method from (line 415) | fn from(value: mdast::AlignKind) -> Self { type TableRow (line 426) | pub(crate) struct TableRow { type TableCell (line 431) | pub(crate) struct TableCell { type CodeBlock (line 493) | pub struct CodeBlock { method lang (line 508) | pub fn lang(&self) -> Option { method code (line 513) | pub fn code(&self) -> SharedString { method new (line 517) | pub(crate) fn new( method selected_text (line 541) | pub(super) fn selected_text(&self) -> String { method render (line 551) | fn render( method eq (line 501) | fn eq(&self, other: &Self) -> bool { type NodeContext (line 597) | pub(crate) struct NodeContext { method add_ref (line 607) | pub(super) fn add_ref(&mut self, identifier: SharedString, link: LinkM... method eq (line 613) | fn eq(&self, other: &Self) -> bool { FILE: crates/ui/src/text/state.rs constant CONTEXT (line 27) | const CONTEXT: &'static str = "TextView"; function init (line 28) | pub(crate) fn init(cx: &mut App) { type TextViewFormat (line 39) | pub(super) enum TextViewFormat { type TextViewState (line 47) | pub struct TextViewState { method markdown (line 73) | pub fn markdown(text: &str, cx: &mut Context) -> Self { method html (line 78) | pub fn html(text: &str, cx: &mut Context) -> Self { method new (line 83) | fn new(format: TextViewFormat, text: &str, cx: &mut Context) -> ... method source (line 132) | pub(crate) fn source(&self) -> SharedString { method selectable (line 137) | pub fn selectable(mut self, selectable: bool) -> Self { method set_selectable (line 143) | pub fn set_selectable(&mut self, selectable: bool, cx: &mut Context Self { method set_scrollable (line 155) | pub fn set_scrollable(&mut self, scrollable: bool, cx: &mut Context) { method push_str (line 172) | pub fn push_str(&mut self, new_text: &str, cx: &mut Context) { method selected_text (line 180) | pub fn selected_text(&self) -> String { method increment_update (line 184) | fn increment_update(&mut self, text: &str, append: bool, cx: &mut Cont... method update_bounds (line 196) | pub(super) fn update_bounds(&mut self, bounds: Bounds) { method clear_selection (line 203) | pub(super) fn clear_selection(&mut self) { method start_selection (line 208) | pub(super) fn start_selection(&mut self, pos: Point) { method update_selection (line 220) | pub(super) fn update_selection(&mut self, pos: Point) { method end_selection (line 232) | pub(super) fn end_selection(&mut self) { method has_selection (line 236) | pub(crate) fn has_selection(&self) -> bool { method selection_points (line 245) | pub(crate) fn selection_points(&self) -> Option<(Point, Point<... method on_action_copy (line 260) | pub(super) fn on_action_copy(&mut self, _: &Copy, _: &mut Window, cx: ... method is_selectable (line 269) | pub(crate) fn is_selectable(&self) -> bool { method render (line 275) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... type ParsedContent (line 312) | pub(crate) struct ParsedContent { type UpdateFuture (line 317) | struct UpdateFuture { method new (line 326) | fn new( type Output (line 348) | type Output = (); method poll (line 350) | fn poll(mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Po... type UpdateOptions (line 381) | struct UpdateOptions { function parse_content (line 388) | fn parse_content(format: TextViewFormat, options: &UpdateOptions) -> Res... function selection_points (line 425) | fn selection_points( function test_text_view_state_selection_points (line 447) | fn test_text_view_state_selection_points() { FILE: crates/ui/src/text/style.rs type TextViewStyle (line 9) | pub struct TextViewStyle { method paragraph_gap (line 49) | pub fn paragraph_gap(mut self, gap: Rems) -> Self { method heading_font_size (line 54) | pub fn heading_font_size(mut self, f: F) -> Self method code_block (line 63) | pub fn code_block(mut self, style: StyleRefinement) -> Self { method eq (line 27) | fn eq(&self, other: &Self) -> bool { method default (line 35) | fn default() -> Self { FILE: crates/ui/src/text/text_view.rs type CodeBlockActionsFn (line 18) | pub(crate) type CodeBlockActionsFn = type TextView (line 38) | pub struct TextView { method new (line 58) | pub fn new(state: &Entity) -> Self { method markdown (line 73) | pub fn markdown(id: impl Into, markdown: impl Into, html: impl Into) -... method style (line 103) | pub fn style(mut self, style: TextViewStyle) -> Self { method selectable (line 109) | pub fn selectable(mut self, selectable: bool) -> Self { method scrollable (line 126) | pub fn scrollable(mut self, scrollable: bool) -> Self { method code_block_actions (line 135) | pub fn code_block_actions(mut self, f: F) -> Self method style (line 51) | fn style(&mut self) -> &mut StyleRefinement { type Element (line 148) | type Element = Self; method into_element (line 150) | fn into_element(self) -> Self::Element { type TextViewLayoutState (line 155) | pub struct TextViewLayoutState { type RequestLayoutState (line 161) | type RequestLayoutState = TextViewLayoutState; type PrepaintState (line 162) | type PrepaintState = Hitbox; method id (line 164) | fn id(&self) -> Option { method source_location (line 168) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 172) | fn request_layout( method prepaint (line 229) | fn prepaint( method paint (line 242) | fn paint( type TextViewTestRoot (line 341) | struct TextViewTestRoot { method new (line 346) | fn new(text: &str, cx: &mut Context) -> Self { method render (line 354) | fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> i... function clipped_markdown_link_does_not_open (line 368) | fn clipped_markdown_link_does_not_open(cx: &mut TestAppContext) { function clipped_markdown_cannot_start_selection (line 381) | fn clipped_markdown_cannot_start_selection(cx: &mut TestAppContext) { FILE: crates/ui/src/text/utils.rs constant NUMBERED_PREFIXES_1 (line 1) | const NUMBERED_PREFIXES_1: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; constant NUMBERED_PREFIXES_2 (line 2) | const NUMBERED_PREFIXES_2: &str = "abcdefghijklmnopqrstuvwxyz"; constant BULLETS (line 4) | const BULLETS: [&str; 5] = ["•", "◦", "▪", "‣", "⁃"]; function list_item_prefix (line 7) | pub(super) fn list_item_prefix(ix: usize, ordered: bool, depth: usize) -... function test_list_item_prefix (line 42) | fn test_list_item_prefix() { FILE: crates/ui/src/theme/color.rs function hsl (line 14) | pub fn hsl(h: f32, s: f32, l: f32) -> Hsla { type Colorize (line 18) | pub trait Colorize: Sized { method opacity (line 22) | fn opacity(&self, opacity: f32) -> Self; method divide (line 26) | fn divide(&self, divisor: f32) -> Self; method invert (line 28) | fn invert(&self) -> Self; method invert_l (line 30) | fn invert_l(&self) -> Self; method lighten (line 34) | fn lighten(&self, amount: f32) -> Self; method darken (line 38) | fn darken(&self, amount: f32) -> Self; method apply (line 40) | fn apply(&self, base_color: Self) -> Self; method mix (line 43) | fn mix(&self, other: Self, factor: f32) -> Self; method mix_oklab (line 47) | fn mix_oklab(&self, other: Self, factor: f32) -> Self; method hue (line 49) | fn hue(&self, hue: f32) -> Self; method saturation (line 51) | fn saturation(&self, saturation: f32) -> Self; method lightness (line 53) | fn lightness(&self, lightness: f32) -> Self; method to_hex (line 56) | fn to_hex(&self) -> String; method parse_hex (line 58) | fn parse_hex(hex: &str) -> Result; method opacity (line 138) | fn opacity(&self, factor: f32) -> Self { method divide (line 145) | fn divide(&self, divisor: f32) -> Self { method invert (line 152) | fn invert(&self) -> Self { method invert_l (line 161) | fn invert_l(&self) -> Self { method lighten (line 168) | fn lighten(&self, factor: f32) -> Self { method darken (line 174) | fn darken(&self, factor: f32) -> Self { method apply (line 180) | fn apply(&self, new_color: Self) -> Self { method mix (line 191) | fn mix(&self, other: Self, factor: f32) -> Self { method mix_oklab (line 210) | fn mix_oklab(&self, other: Self, factor: f32) -> Self { method to_hex (line 267) | fn to_hex(&self) -> String { method parse_hex (line 288) | fn parse_hex(hex: &str) -> Result { method hue (line 309) | fn hue(&self, hue: f32) -> Self { method saturation (line 315) | fn saturation(&self, saturation: f32) -> Self { method lightness (line 321) | fn lightness(&self, lightness: f32) -> Self { function to_linear (line 67) | fn to_linear(c: f32) -> f32 { function from_linear (line 77) | fn from_linear(c: f32) -> f32 { function rgb_to_oklab (line 87) | pub fn rgb_to_oklab(rgb: Rgba) -> (f32, f32, f32) { function oklab_to_rgb (line 112) | pub fn oklab_to_rgb(L: f32, a: f32, b: f32) -> Rgba { type ColorScales (line 334) | type ColorScales = HashMap; function deserialize (line 343) | pub fn deserialize<'de, D>(deserializer: D) -> Result std::result::Result { type Error (line 419) | type Error = anyhow::Error; method try_from (line 420) | fn try_from(value: SharedString) -> std::result::Result [Self; 19] { method scale (line 455) | pub fn scale(&self, scale: usize) -> Hsla { method fmt (line 382) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ShadcnColors (line 495) | pub(crate) struct ShadcnColors { type ShadcnColor (line 545) | pub(crate) struct ShadcnColor { function from_hsl_channel (line 553) | fn from_hsl_channel<'de, D>(deserializer: D) -> Result function black (line 630) | pub fn black() -> Hsla { function white (line 634) | pub fn white() -> Hsla { function try_parse_color (line 675) | pub fn try_parse_color(color: &str) -> Result { function test_default_colors (line 748) | fn test_default_colors() { function test_to_hex_string (line 765) | fn test_to_hex_string() { function test_from_hex_string (line 777) | fn test_from_hex_string() { function test_lighten (line 789) | fn test_lighten() { function test_darken (line 800) | fn test_darken() { function test_mix (line 809) | fn test_mix() { function test_mix_oklab (line 821) | fn test_mix_oklab() { function test_color_name (line 872) | fn test_color_name() { function test_h_s_l (line 888) | fn test_h_s_l() { function test_try_parse_color (line 896) | fn test_try_parse_color() { FILE: crates/ui/src/theme/mod.rs function init (line 24) | pub fn init(cx: &mut App) { type ActiveTheme (line 32) | pub trait ActiveTheme { method theme (line 33) | fn theme(&self) -> &Theme; method theme (line 38) | fn theme(&self) -> &Theme { type Theme (line 45) | pub struct Theme { method global (line 113) | pub fn global(cx: &App) -> &Theme { method global_mut (line 119) | pub fn global_mut(cx: &mut App) -> &mut Theme { method is_dark (line 125) | pub fn is_dark(&self) -> bool { method theme_name (line 130) | pub fn theme_name(&self) -> &SharedString { method sync_system_appearance (line 139) | pub fn sync_system_appearance(window: Option<&mut Window>, cx: &mut Ap... method sync_scrollbar_appearance (line 151) | pub fn sync_scrollbar_appearance(cx: &mut App) { method change (line 160) | pub fn change(mode: impl Into, window: Option<&mut Window>,... method input_background (line 187) | pub fn input_background(&self) -> Hsla { method editor_background (line 197) | pub(crate) fn editor_background(&self) -> Hsla { method from (line 206) | fn from(colors: &ThemeColor) -> Self { method default (line 89) | fn default() -> Self { type Target (line 95) | type Target = ThemeColor; method deref (line 97) | fn deref(&self) -> &Self::Target { method deref_mut (line 103) | fn deref_mut(&mut self) -> &mut Self::Target { type ThemeMode (line 254) | pub enum ThemeMode { method is_dark (line 262) | pub fn is_dark(&self) -> bool { method name (line 267) | pub fn name(&self) -> &'static str { method from (line 276) | fn from(appearance: WindowAppearance) -> Self { FILE: crates/ui/src/theme/registry.rs constant DEFAULT_THEME (line 12) | const DEFAULT_THEME: &str = include_str!("./default-theme.json"); function init (line 41) | pub(super) fn init(cx: &mut App) { type ThemeRegistry (line 76) | pub struct ThemeRegistry { method global (line 86) | pub fn global(cx: &App) -> &Self { method global_mut (line 90) | pub fn global_mut(cx: &mut App) -> &mut Self { method watch_dir (line 98) | pub fn watch_dir(themes_dir: PathBuf, cx: &mut App, on_load: F) -> ... method themes (line 121) | pub fn themes(&self) -> &HashMap> { method sorted_themes (line 126) | pub fn sorted_themes(&self) -> Vec<&Rc> { method default_themes (line 139) | pub fn default_themes(&self) -> &HashMap> { method default_light_theme (line 143) | pub fn default_light_theme(&self) -> &Rc { method default_dark_theme (line 147) | pub fn default_dark_theme(&self) -> &Rc { method load_themes_from_str (line 151) | pub fn load_themes_from_str(&mut self, content: &str) -> anyhow::Resul... method init_default_themes (line 163) | fn init_default_themes(&mut self) { method _watch_themes_dir (line 186) | fn _watch_themes_dir(themes_dir: PathBuf, cx: &mut App) -> anyhow::Res... method reload_themes (line 226) | fn reload_themes(cx: &mut App) { method reload (line 238) | fn reload(&mut self) -> Result<()> { FILE: crates/ui/src/theme/schema.rs type ThemeSet (line 16) | pub struct ThemeSet { type ThemeConfig (line 30) | pub struct ThemeConfig { type ThemeConfigColors (line 73) | pub struct ThemeConfigColors { method apply_config (line 427) | pub(crate) fn apply_config(&mut self, config: &ThemeConfig, default_them... method apply_config (line 669) | pub fn apply_config(&mut self, config: &Rc) { FILE: crates/ui/src/theme/theme_color.rs type ThemeColor (line 11) | pub struct ThemeColor { method light (line 249) | pub fn light() -> Arc { method dark (line 254) | pub fn dark() -> Arc { FILE: crates/ui/src/time/calendar.rs type CalendarEvent (line 21) | pub enum CalendarEvent { type Date (line 28) | pub enum Date { method fmt (line 34) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 47) | fn from(date: NaiveDate) -> Self { method from (line 53) | fn from((start, end): (NaiveDate, NaiveDate)) -> Self { method is_some (line 60) | pub fn is_some(&self) -> bool { method is_complete (line 68) | pub fn is_complete(&self) -> bool { method start (line 77) | pub fn start(&self) -> Option { method end (line 86) | pub fn end(&self) -> Option { method format (line 94) | pub fn format(&self, format: &str) -> Option { method is_active (line 104) | fn is_active(&self, v: &NaiveDate) -> bool { method is_single (line 112) | fn is_single(&self) -> bool { method is_in_range (line 116) | fn is_in_range(&self, v: &NaiveDate) -> bool { type ViewMode (line 136) | enum ViewMode { method is_day (line 143) | fn is_day(&self) -> bool { method is_month (line 147) | fn is_month(&self) -> bool { method is_year (line 151) | fn is_year(&self) -> bool { type IntervalMatcher (line 157) | pub struct IntervalMatcher { type RangeMatcher (line 163) | pub struct RangeMatcher { type Matcher (line 169) | pub enum Matcher { method from (line 201) | fn from(days: Vec) -> Self { method from (line 210) | fn from(f: F) -> Self { method interval (line 217) | pub fn interval(before: Option, after: Option) -... method range (line 222) | pub fn range(from: Option, to: Option) -> Self { method custom (line 227) | pub fn custom(f: F) -> Self method is_match (line 235) | pub fn is_match(&self, date: &Date) -> bool { method matched (line 243) | fn matched(&self, date: &NaiveDate) -> bool { type Calendar (line 262) | pub struct Calendar { method new (line 525) | pub fn new(state: &Entity) -> Self { method number_of_months (line 536) | pub fn number_of_months(mut self, number_of_months: usize) -> Self { method render_day (line 541) | fn render_day( method render_header (line 613) | fn render_header(&self, window: &mut Window, cx: &mut App) -> impl Int... method item_button (line 728) | fn item_button( method render_days (line 775) | fn render_days(&self, window: &mut Window, cx: &mut App) -> impl IntoE... method render_week (line 819) | fn render_week(&self, week: impl Into, _: &mut Window, c... method render_months (line 832) | fn render_months(&self, window: &mut Window, cx: &mut App) -> impl Int... method render_years (line 880) | fn render_years(&self, window: &mut Window, cx: &mut App) -> impl Into... type CalendarState (line 272) | pub struct CalendarState { method new (line 288) | pub fn new(_: &mut Window, cx: &mut Context) -> Self { method disabled_matcher (line 306) | pub fn disabled_matcher(mut self, matcher: impl Into) -> Self { method set_disabled_matcher (line 314) | pub fn set_disabled_matcher( method set_date (line 326) | pub fn set_date(&mut self, date: impl Into, _: &mut Window, cx: ... method date (line 355) | pub fn date(&self) -> Date { method set_number_of_months (line 360) | pub fn set_number_of_months( method year_range (line 373) | pub fn year_range(mut self, range: (i32, i32)) -> Self { method offset_year_month (line 388) | fn offset_year_month(&self, offset_month: usize) -> (i32, u32) { method days (line 404) | fn days(&self) -> Vec> { method has_prev_year_page (line 412) | fn has_prev_year_page(&self) -> bool { method has_next_year_page (line 416) | fn has_next_year_page(&self) -> bool { method prev_year_page (line 420) | fn prev_year_page(&mut self, _: &ClickEvent, _: &mut Window, cx: &mut ... method next_year_page (line 429) | fn next_year_page(&mut self, _: &ClickEvent, _: &mut Window, cx: &mut ... method prev_month (line 438) | fn prev_month(&mut self, _: &ClickEvent, _: &mut Window, cx: &mut Cont... method next_month (line 452) | fn next_month(&mut self, _: &ClickEvent, _: &mut Window, cx: &mut Cont... method month_name (line 466) | fn month_name(&self, offset_month: usize) -> SharedString { method year_name (line 486) | fn year_name(&self, offset_month: usize) -> SharedString { method set_view_mode (line 491) | fn set_view_mode(&mut self, mode: ViewMode, _: &mut Window, cx: &mut C... method months (line 496) | fn months(&self) -> Vec { method render (line 518) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... method with_size (line 929) | fn with_size(mut self, size: impl Into) -> Self { method style (line 936) | fn style(&mut self) -> &mut StyleRefinement { method render (line 943) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { function test_date_to_string (line 982) | fn test_date_to_string() { FILE: crates/ui/src/time/date_picker.rs constant CONTEXT (line 23) | const CONTEXT: &'static str = "DatePicker"; function init (line 24) | pub(crate) fn init(cx: &mut App) { type DatePickerEvent (line 35) | pub enum DatePickerEvent { type DateRangePresetValue (line 41) | pub enum DateRangePresetValue { type DateRangePreset (line 48) | pub struct DateRangePreset { method single (line 55) | pub fn single(label: impl Into, date: NaiveDate) -> Self { method range (line 62) | pub fn range(label: impl Into, start: NaiveDate, end: Na... type DatePickerState (line 71) | pub struct DatePickerState { method new (line 91) | pub fn new(window: &mut Window, cx: &mut Context) -> Self { method range (line 96) | pub fn range(window: &mut Window, cx: &mut Context) -> Self { method new_with_range (line 100) | fn new_with_range(is_range: bool, window: &mut Window, cx: &mut Contex... method date_format (line 137) | pub fn date_format(mut self, format: impl Into) -> Self { method number_of_months (line 143) | pub fn number_of_months(mut self, number_of_months: usize) -> Self { method date (line 149) | pub fn date(&self) -> Date { method set_date (line 154) | pub fn set_date(&mut self, date: impl Into, window: &mut Window,... method disabled_matcher (line 159) | pub fn disabled_matcher(mut self, disabled: impl Into) -> Self { method update_date (line 164) | fn update_date(&mut self, date: Date, emit: bool, window: &mut Window,... method set_canlendar_disabled_matcher (line 177) | fn set_canlendar_disabled_matcher(&mut self, _: &mut Window, cx: &mut ... method on_escape (line 184) | fn on_escape(&mut self, _: &Cancel, window: &mut Window, cx: &mut Cont... method on_enter (line 195) | fn on_enter(&mut self, _: &Confirm, _: &mut Window, cx: &mut Context FocusHandle { type DatePicker (line 260) | pub struct DatePicker { method new (line 306) | pub fn new(state: &Entity) -> Self { method placeholder (line 322) | pub fn placeholder(mut self, placeholder: impl Into) -> ... method cleanable (line 328) | pub fn cleanable(mut self, cleanable: bool) -> Self { method presets (line 334) | pub fn presets(mut self, presets: Vec) -> Self { method number_of_months (line 340) | pub fn number_of_months(mut self, number_of_months: usize) -> Self { method appearance (line 346) | pub fn appearance(mut self, appearance: bool) -> Self { method with_size (line 274) | fn with_size(mut self, size: impl Into) -> Self { method focus_handle (line 280) | fn focus_handle(&self, cx: &App) -> FocusHandle { method style (line 286) | fn style(&mut self) -> &mut StyleRefinement { method disabled (line 292) | fn disabled(mut self, disabled: bool) -> Self { method render (line 299) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl gpui... method render (line 353) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/time/utils.rs type NaiveDateExt (line 3) | trait NaiveDateExt { method days_in_month (line 4) | fn days_in_month(&self) -> i32; method is_leap_year (line 5) | fn is_leap_year(&self) -> bool; method days_in_month (line 9) | fn days_in_month(&self) -> i32 { method is_leap_year (line 25) | fn is_leap_year(&self) -> bool { function days_in_month (line 31) | pub(crate) fn days_in_month(year: i32, month: u32) -> Vec> { function test_days_in_month (line 95) | fn test_days_in_month() { function test_days (line 115) | fn test_days() { FILE: crates/ui/src/title_bar.rs constant TITLE_BAR_HEIGHT (line 14) | pub const TITLE_BAR_HEIGHT: Pixels = px(34.); constant TITLE_BAR_LEFT_PADDING (line 16) | const TITLE_BAR_LEFT_PADDING: Pixels = px(80.); constant TITLE_BAR_LEFT_PADDING (line 18) | const TITLE_BAR_LEFT_PADDING: Pixels = px(12.); type TitleBar (line 24) | pub struct TitleBar { method new (line 32) | pub fn new() -> Self { method title_bar_options (line 41) | pub fn title_bar_options() -> TitlebarOptions { method on_close_window (line 51) | pub fn on_close_window( type ControlIcon (line 67) | enum ControlIcon { method minimize (line 77) | fn minimize() -> Self { method restore (line 81) | fn restore() -> Self { method maximize (line 85) | fn maximize() -> Self { method close (line 89) | fn close(on_close_window: Option &'static str { method icon (line 102) | fn icon(&self) -> IconName { method window_control_area (line 111) | fn window_control_area(&self) -> WindowControlArea { method is_close (line 119) | fn is_close(&self) -> bool { method hover_fg (line 124) | fn hover_fg(&self, cx: &App) -> Hsla { method hover_bg (line 133) | fn hover_bg(&self, cx: &App) -> Hsla { method active_bg (line 142) | fn active_bg(&self, cx: &mut App) -> Hsla { method render (line 152) | fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement { type WindowControls (line 204) | struct WindowControls { method render (line 209) | fn render(self, window: &mut Window, _: &mut App) -> impl IntoElement { method style (line 230) | fn style(&mut self) -> &mut gpui::StyleRefinement { method extend (line 236) | fn extend(&mut self, elements: impl IntoIterator) { type TitleBarState (line 241) | struct TitleBarState { method render (line 247) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... method render (line 253) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { FILE: crates/ui/src/tooltip.rs type TooltipContext (line 8) | enum TooltipContext { type Tooltip (line 15) | pub struct Tooltip { method new (line 24) | pub fn new(text: impl Into) -> Self { method element (line 34) | pub fn element(builder: F) -> Self method action (line 50) | pub fn action(mut self, action: &dyn Action, context: Option<&str>) ->... method key_binding (line 56) | pub fn key_binding(mut self, key_binding: Option) -> Self { method build (line 62) | pub fn build(self, _: &mut Window, cx: &mut App) -> AnyView { method style (line 69) | fn style(&mut self) -> &mut StyleRefinement { method render (line 74) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... FILE: crates/ui/src/tree.rs constant CONTEXT (line 17) | const CONTEXT: &str = "Tree"; function init (line 18) | pub(crate) fn init(cx: &mut App) { function tree (line 49) | pub fn tree(state: &Entity, render_item: R) -> Tree type TreeItemState (line 56) | struct TreeItemState { type TreeItem (line 63) | pub struct TreeItem { method new (line 124) | pub fn new(id: impl Into, label: impl Into... method child (line 137) | pub fn child(mut self, child: TreeItem) -> Self { method children (line 143) | pub fn children(mut self, children: impl IntoIterator... method expanded (line 149) | pub fn expanded(self, expanded: bool) -> Self { method disabled (line 155) | pub fn disabled(self, disabled: bool) -> Self { method is_folder (line 162) | pub fn is_folder(&self) -> bool { method is_disabled (line 167) | pub fn is_disabled(&self) -> bool { method is_expanded (line 173) | pub fn is_expanded(&self) -> bool { method find_ancestors (line 177) | fn find_ancestors(&self, target_id: &SharedString) -> Option &TreeItem { method depth (line 86) | pub fn depth(&self) -> usize { method is_root (line 91) | fn is_root(&self) -> bool { method is_folder (line 97) | pub fn is_folder(&self) -> bool { method is_expanded (line 103) | pub fn is_expanded(&self) -> bool { method is_disabled (line 108) | pub fn is_disabled(&self) -> bool { type TreeState (line 194) | pub struct TreeState { method new (line 204) | pub fn new(cx: &mut App) -> Self { method items (line 215) | pub fn items(mut self, items: impl Into>) -> Self { method set_items (line 225) | pub fn set_items(&mut self, items: impl Into>, cx: &mut ... method selected_index (line 236) | pub fn selected_index(&self) -> Option { method set_selected_index (line 241) | pub fn set_selected_index(&mut self, ix: Option, cx: &mut Conte... method set_selected_item (line 247) | pub fn set_selected_item(&mut self, item: Option<&TreeItem>, cx: &mut ... method selected_item (line 269) | pub fn selected_item(&self) -> Option<&TreeItem> { method scroll_to_item (line 274) | pub fn scroll_to_item(&mut self, ix: usize, strategy: gpui::ScrollStra... method selected_entry (line 279) | pub fn selected_entry(&self) -> Option<&TreeEntry> { method expand_ancestors (line 283) | fn expand_ancestors(&mut self, target_id: SharedString) { method add_entry (line 304) | fn add_entry(&mut self, item: TreeItem, depth: usize) { method toggle_expand (line 316) | fn toggle_expand(&mut self, ix: usize) { method rebuild_entries (line 328) | fn rebuild_entries(&mut self) { method focus (line 341) | pub fn focus(&mut self, window: &mut Window, cx: &mut App) { method on_action_confirm (line 345) | fn on_action_confirm(&mut self, _: &Confirm, _: &mut Window, cx: &mut ... method on_action_left (line 356) | fn on_action_left(&mut self, _: &SelectLeft, _: &mut Window, cx: &mut ... method on_action_right (line 367) | fn on_action_right(&mut self, _: &SelectRight, _: &mut Window, cx: &mu... method on_action_up (line 378) | fn on_action_up(&mut self, _: &SelectUp, _: &mut Window, cx: &mut Cont... method on_action_down (line 393) | fn on_action_down(&mut self, _: &SelectDown, _: &mut Window, cx: &mut ... method on_entry_click (line 407) | fn on_entry_click(&mut self, ix: usize, _: &mut Window, cx: &mut Conte... method render (line 415) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... type Tree (line 458) | pub struct Tree { method new (line 466) | pub fn new(state: &Entity, render_item: R) -> Self method style (line 482) | fn style(&mut self) -> &mut StyleRefinement { method render (line 488) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { function assert_entries (line 518) | fn assert_entries(entries: &Vec, expected: &str) { function test_tree_entry (line 533) | fn test_tree_entry(cx: &mut gpui::TestAppContext) { FILE: crates/ui/src/virtual_list.rs type VirtualListScrollHandleState (line 31) | struct VirtualListScrollHandleState { type VirtualListScrollHandle (line 41) | pub struct VirtualListScrollHandle { method from (line 47) | fn from(handle: ScrollHandle) -> Self { method as_ref (line 55) | fn as_ref(&self) -> &ScrollHandle { method new (line 84) | pub fn new() -> Self { method base_handle (line 96) | pub fn base_handle(&self) -> &ScrollHandle { method scroll_to_item (line 101) | pub fn scroll_to_item(&self, ix: usize, strategy: ScrollStrategy) { method scroll_to_item_with_offset (line 106) | fn scroll_to_item_with_offset(&self, ix: usize, strategy: ScrollStrate... method scroll_to_bottom (line 117) | pub fn scroll_to_bottom(&self) { method offset (line 61) | fn offset(&self) -> Point { method set_offset (line 65) | fn set_offset(&self, offset: Point) { method content_size (line 69) | fn content_size(&self) -> Size { type Target (line 75) | type Target = ScrollHandle; method deref (line 77) | fn deref(&self) -> &Self::Target { function v_virtual_list (line 132) | pub fn v_virtual_list( function h_virtual_list (line 152) | pub fn h_virtual_list( function virtual_list (line 165) | pub(crate) fn virtual_list( type VirtualList (line 204) | pub struct VirtualList { method track_scroll (line 224) | pub fn track_scroll(mut self, scroll_handle: &VirtualListScrollHandle)... method with_sizing_behavior (line 231) | pub fn with_sizing_behavior(mut self, behavior: ListSizingBehavior) ->... method with_scroll_handle (line 239) | pub(crate) fn with_scroll_handle(mut self, scroll_handle: &VirtualList... method scroll_to_deferred_item (line 245) | fn scroll_to_deferred_item( method measure_item (line 294) | fn measure_item( method style (line 218) | fn style(&mut self) -> &mut StyleRefinement { type VirtualListFrameState (line 320) | pub struct VirtualListFrameState { type ItemSizeLayout (line 327) | pub struct ItemSizeLayout { type Element (line 336) | type Element = Self; method into_element (line 338) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 344) | type RequestLayoutState = VirtualListFrameState; type PrepaintState (line 345) | type PrepaintState = Option; method id (line 347) | fn id(&self) -> Option { method source_location (line 351) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 355) | fn request_layout( method prepaint (line 518) | fn prepaint( method paint (line 728) | fn paint( FILE: crates/ui/src/window_border.rs constant SHADOW_SIZE (line 12) | pub(crate) const SHADOW_SIZE: Pixels = px(0.0); constant SHADOW_SIZE (line 14) | pub(crate) const SHADOW_SIZE: Pixels = px(12.0); constant BORDER_SIZE (line 15) | const BORDER_SIZE: Pixels = px(1.0); constant BORDER_RADIUS (line 16) | pub(crate) const BORDER_RADIUS: Pixels = px(0.0); function window_border (line 19) | pub fn window_border() -> WindowBorder { type WindowBorder (line 25) | pub struct WindowBorder { method new (line 40) | pub fn new() -> Self { method shadow_size (line 47) | pub fn shadow_size(mut self, size: impl Into) -> Self { method default (line 31) | fn default() -> Self { function window_paddings (line 54) | pub fn window_paddings(window: &Window) -> Edges { method extend (line 78) | fn extend(&mut self, elements: impl IntoIterator) { method render (line 84) | fn render(self, window: &mut Window, cx: &mut App) -> impl IntoElement { function resize_edge (line 216) | fn resize_edge(pos: Point, shadow_size: Pixels, size: Size(&mut self, cx: &mut App, build: F) method open_sheet_at (line 19) | fn open_sheet_at(&mut self, placement: Placement, cx: &mut App, bui... method has_active_sheet (line 24) | fn has_active_sheet(&mut self, cx: &mut App) -> bool; method close_sheet (line 27) | fn close_sheet(&mut self, cx: &mut App); method open_dialog (line 30) | fn open_dialog(&mut self, cx: &mut App, build: F) method open_alert_dialog (line 51) | fn open_alert_dialog(&mut self, cx: &mut App, build: F) method has_active_dialog (line 56) | fn has_active_dialog(&mut self, cx: &mut App) -> bool; method close_dialog (line 59) | fn close_dialog(&mut self, cx: &mut App); method close_all_dialogs (line 62) | fn close_all_dialogs(&mut self, cx: &mut App); method push_notification (line 65) | fn push_notification(&mut self, note: impl Into, cx: &mu... method remove_notification (line 68) | fn remove_notification(&mut self, cx: &mut App); method clear_notifications (line 71) | fn clear_notifications(&mut self, cx: &mut App); method notifications (line 74) | fn notifications(&mut self, cx: &mut App) -> Rc Option>; method has_focused_input (line 79) | fn has_focused_input(&mut self, cx: &mut App) -> bool; method open_sheet (line 84) | fn open_sheet(&mut self, cx: &mut App, build: F) method open_sheet_at (line 92) | fn open_sheet_at(&mut self, placement: Placement, cx: &mut App, bui... method has_active_sheet (line 102) | fn has_active_sheet(&mut self, cx: &mut App) -> bool { method close_sheet (line 107) | fn close_sheet(&mut self, cx: &mut App) { method open_dialog (line 114) | fn open_dialog(&mut self, cx: &mut App, build: F) method open_alert_dialog (line 124) | fn open_alert_dialog(&mut self, cx: &mut App, build: F) method has_active_dialog (line 134) | fn has_active_dialog(&mut self, cx: &mut App) -> bool { method close_dialog (line 139) | fn close_dialog(&mut self, cx: &mut App) { method close_all_dialogs (line 146) | fn close_all_dialogs(&mut self, cx: &mut App) { method push_notification (line 153) | fn push_notification(&mut self, note: impl Into, cx: &mu... method remove_notification (line 161) | fn remove_notification(&mut self, cx: &mut App) { method clear_notifications (line 168) | fn clear_notifications(&mut self, cx: &mut App) { method notifications (line 175) | fn notifications(&mut self, cx: &mut App) -> Rc bool { method focused_input (line 185) | fn focused_input(&mut self, cx: &mut App) -> Option> { FILE: crates/webview/src/lib.rs type WebView (line 17) | pub struct WebView { method new (line 32) | pub fn new(webview: wry::WebView, _: &mut Window, cx: &mut App) -> Self { method show (line 44) | pub fn show(&mut self) { method hide (line 50) | pub fn hide(&mut self) { method visible (line 57) | pub fn visible(&self) -> bool { method bounds (line 62) | pub fn bounds(&self) -> Bounds { method back (line 67) | pub fn back(&mut self) -> anyhow::Result<()> { method load_url (line 72) | pub fn load_url(&mut self, url: &str) { method raw (line 77) | pub fn raw(&self) -> &wry::WebView { method drop (line 25) | fn drop(&mut self) { type Target (line 83) | type Target = wry::WebView; method deref (line 85) | fn deref(&self) -> &Self::Target { method focus_handle (line 91) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 99) | fn render( type WebViewElement (line 123) | pub struct WebViewElement { method new (line 130) | pub fn new( type Element (line 141) | type Element = WebViewElement; method into_element (line 143) | fn into_element(self) -> Self::Element { type RequestLayoutState (line 149) | type RequestLayoutState = (); type PrepaintState (line 150) | type PrepaintState = Option; method id (line 152) | fn id(&self) -> Option { method source_location (line 156) | fn source_location(&self) -> Option<&'static std::panic::Location<'stati... method request_layout (line 160) | fn request_layout( method prepaint (line 178) | fn prepaint( method paint (line 206) | fn paint( FILE: docs/.vitepress/theme/index.ts method enhanceApp (line 17) | enhanceApp({ app, router, siteData }) { FILE: docs/data/contributors.data.js constant IGNORE_LOGINS (line 1) | const IGNORE_LOGINS = ["dependabot[bot]", "copilot"]; constant API_URL (line 2) | const API_URL = method load (line 6) | async load() { FILE: docs/data/repo.data.js constant API_URL (line 1) | const API_URL = "https://api.github.com/repos/longbridge/gpui-component"; method load (line 4) | async load() { FILE: docs/data/skills.data.js function parseFrontmatter (line 9) | function parseFrontmatter(content) { method load (line 39) | async load() { FILE: examples/app_assets/src/main.rs type Assets (line 11) | pub struct Assets; method load (line 14) | fn load(&self, path: &str) -> Result>> { method list (line 24) | fn list(&self, path: &str) -> Result> { type Example (line 31) | pub struct Example; method render (line 33) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... function main (line 45) | fn main() { FILE: examples/color_mix_oklab.rs type ColorMixDemo (line 10) | struct ColorMixDemo { method new (line 15) | fn new(cx: &mut WindowContext) -> Self { method render (line 23) | fn render(&mut self, cx: &mut ViewContext) -> impl IntoElement { function main (line 148) | fn main() { FILE: examples/dialog_overlay/src/main.rs type HelloWorld (line 7) | pub struct HelloWorld; method show_dialog (line 10) | fn show_dialog(&mut self, _: &ClickEvent, window: &mut Window, cx: &mu... method show_drawer (line 16) | fn show_drawer(&mut self, _: &ClickEvent, window: &mut Window, cx: &mu... method render (line 24) | fn render(&mut self, window: &mut Window, cx: &mut Context) -> imp... function main (line 81) | fn main() { FILE: examples/focus_trap/src/main.rs type Example (line 4) | pub struct Example { method new (line 9) | fn new(cx: &mut App) -> Self { method render (line 18) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 135) | fn main() { FILE: examples/hello_world/src/main.rs type Example (line 4) | pub struct Example; method render (line 6) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... function main (line 23) | fn main() { FILE: examples/input/src/main.rs type Example (line 8) | pub struct Example { method new (line 20) | fn new(window: &mut Window, cx: &mut Context) -> Self { method render (line 44) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... function main (line 56) | fn main() { FILE: examples/system_monitor/src/main.rs constant INTERVAL (line 21) | const INTERVAL: Duration = Duration::from_millis(500); constant MAX_DATA_POINTS (line 22) | const MAX_DATA_POINTS: usize = 120; type MonitorTab (line 26) | enum MonitorTab { method from_index (line 33) | fn from_index(index: usize) -> Self { type MetricPoint (line 44) | struct MetricPoint { type ProcessInfo (line 52) | struct ProcessInfo { type DiskInfo (line 61) | struct DiskInfo { type BatteryInfo (line 70) | struct BatteryInfo { type ProcessSortField (line 79) | enum ProcessSortField { type ProcessTableDelegate (line 88) | struct ProcessTableDelegate { method new (line 96) | fn new() -> Self { method update_processes (line 113) | fn update_processes(&mut self, sys: &System) { method sort_processes (line 128) | fn sort_processes(&mut self) { method columns_count (line 167) | fn columns_count(&self, _cx: &App) -> usize { method rows_count (line 171) | fn rows_count(&self, _cx: &App) -> usize { method column (line 175) | fn column(&self, col_ix: usize, _cx: &App) -> Column { method render_td (line 179) | fn render_td( method perform_sort (line 222) | fn perform_sort( function format_bytes (line 242) | fn format_bytes(bytes: u64) -> String { type SystemMonitor (line 259) | pub struct SystemMonitor { method new (line 271) | fn new(window: &mut Window, cx: &mut Context) -> Self { method collect_metrics (line 319) | fn collect_metrics(&mut self, cx: &mut Context) { method update_battery_info (line 371) | fn update_battery_info(&mut self) { method set_active_tab (line 398) | fn set_active_tab(&mut self, index: usize, _window: &mut Window, cx: &... method render_chart (line 403) | fn render_chart( method render_system_tab (line 450) | fn render_system_tab(&self, cx: &Context) -> impl IntoElement { method render_processes_tab (line 466) | fn render_processes_tab(&self, _cx: &Context) -> impl IntoElement { method render_status_bar (line 475) | fn render_status_bar(&self, cx: &Context) -> impl IntoElement { method render (line 554) | fn render(&mut self, _window: &mut Window, cx: &mut Context) -> im... function main (line 601) | fn main() { FILE: examples/webview/src/main.rs type Example (line 9) | pub struct Example { method new (line 16) | pub fn new(window: &mut Window, cx: &mut App) -> Entity { method hide (line 88) | pub fn hide(&self, _: &mut Window, cx: &mut App) { method go_back (line 93) | fn go_back(&mut self, _: &ClickEvent, window: &mut Window, cx: &mut Co... method focus_handle (line 101) | fn focus_handle(&self, _cx: &gpui::App) -> FocusHandle { method render (line 107) | fn render(&mut self, _: &mut Window, cx: &mut Context) -> impl Int... function main (line 131) | fn main() { FILE: examples/window_title/src/main.rs type Example (line 8) | pub struct Example; method render (line 10) | fn render(&mut self, _: &mut Window, _: &mut Context) -> impl Into... function main (line 42) | fn main() {