MCPcopy Create free account

hub / github.com/DavorMar/rustautogui / functions

Functions206 in github.com/DavorMar/rustautogui

↓ 1 callersMethodsend_shifted_key
execute send_key function but press Shift key before, and release it after
src/core/keyboard/linux/mod.rs:113
↓ 1 callersMethodstore_template_from_imagebuffer
Load template from imagebuffer and store prepared template data for multiple image search
src/rustautogui_impl/template_match_impl/load_img_impl.rs:397
↓ 1 callersMethodstore_template_from_imagebuffer_custom
Load template from imagebuffer and store prepared template data for multiple image search
src/rustautogui_impl/template_match_impl/load_img_impl.rs:416
↓ 1 callersFunctiontesting_run
(image_path: &str, template_path: &str, target_positions: (i32, i32))
tests/tmpl_match_tests.rs:227
Methodchange_debug_state
changes debug mode. True activates debug
src/lib.rs:247
Methodchange_ocl_device
(&mut self, device_index: u32)
src/lib.rs:270
Methodcheck_alias_name
(alias: &str)
src/rustautogui_impl/template_match_impl/load_img_impl.rs:267
Methodclick
Mouse click. Choose button Mouseclick::{LEFT,RIGHT,MIDDLE}
src/rustautogui_impl/mouse_impl.rs:206
Methodclick_down
(&self, button: MouseClick)
src/rustautogui_impl/mouse_impl.rs:262
Methodclick_up
(&self, button: MouseClick)
src/rustautogui_impl/mouse_impl.rs:270
Methodclone
(&self)
src/lib.rs:65
Functionconvert_rgba_to_bw
Does conversion from ImageBuffer RGBA to ImageBuffer Black and White(Luma)
src/imgtools/mod.rs:117
Functionconvert_rgba_to_bw_old
Does conversion from ImageBuffer RGBA to ImageBuffer Black and White(Luma)
src/imgtools/mod.rs:137
Methodcreate_keymap
mapping made so bigger variety of strings can be used when sending string as input. for instance, instead of neccessity of sending "period", we can s
src/core/keyboard/windows/mod.rs:172
Methodcreate_keymap
()
src/core/keyboard/macos/mod.rs:154
Methodcreate_keymap
(is_us_layout: bool)
src/core/keyboard/linux/mod.rs:223
Methoddestroy
clear memory and delete screen
src/core/screen/windows/mod.rs:76
Methoddev_setup_opencl
(device_id: Option<u32>)
src/lib.rs:152
Methoddimension
(&self)
src/core/screen/windows/mod.rs:63
Methoddimension
returns screen dimensions. All monitors included
src/core/screen/linux/mod.rs:72
Methoddouble_click
executes double left mouse click
src/rustautogui_impl/mouse_impl.rs:246
Methoddrag_mouse
(x: i32, y: i32, moving_time: f32)
src/core/mouse/windows/mod.rs:56
Methoddrag_mouse
(&self, x: i32, y: i32, moving_time: f32)
src/core/mouse/linux/mod.rs:75
Methoddrag_mouse_to
Moves to position x,y. None values maintain current position. Useful for vertical and horizontal movement
src/rustautogui_impl/mouse_impl.rs:131
Methoddrag_mouse_to_pos
moves mouse to x, y pixel coordinate
src/rustautogui_impl/mouse_impl.rs:174
Methoddrop
(&mut self)
src/lib.rs:332
Methoddrop
(&mut self)
src/core/mouse/mouse_position.rs:46
Functionexecute_tests
()
tests/mouse_tests.rs:8
Methodfmt
(&self, f: &mut fmt::Formatter)
src/errors.rs:25
Methodfrom
(err: NulError)
src/errors.rs:43
Methodget_mouse_position
returns x, y pixel coordinate of mouse position
src/core/mouse/windows/mod.rs:78
Methodgrab_screen_image
captures screen and returns Imagebuffer in RGBA cropped for the selected region
src/core/screen/windows/mod.rs:86
Methodgrab_screen_image
executes convert_bitmap_to_rgba, meaning it converts Vector of values to RGBA and crops the image as inputted region area. Not used anywhere at the mo
src/core/screen/macos/mod.rs:85
Methodgrab_screen_image
( &mut self, region: (u32, u32, u32, u32), )
src/core/screen/linux/mod.rs:98
Methodgrab_screen_image_grayscale
captures screen, and returns grayscale Imagebuffer cropped for the selected region
src/core/screen/windows/mod.rs:102
Methodgrab_screen_image_grayscale
( &mut self, region: &(u32, u32, u32, u32), )
src/core/screen/linux/mod.rs:115
Methodgrab_screenshot
grabs screen image and saves file at provided
src/core/screen/windows/mod.rs:118
Methodgrab_screenshot
captures and saves screenshot of monitors
src/core/screen/linux/mod.rs:130
Methodis_us_layout
currently not developed further
src/core/keyboard/linux/mod.rs:81
Methodkey_down
(&self, key: &str)
src/core/keyboard/windows/mod.rs:77
Methodkey_down
(&self, key: &str)
src/core/keyboard/macos/mod.rs:56
Methodkey_down
(&self, key: &str)
src/core/keyboard/linux/mod.rs:26
Methodkey_down
(&self, key: &str)
src/rustautogui_impl/keyboard_impl.rs:31
Methodkey_up
(&self, key: &str)
src/core/keyboard/windows/mod.rs:85
Methodkey_up
(&self, key: &str)
src/core/keyboard/macos/mod.rs:62
Methodkey_up
(&self, key: &str)
src/core/keyboard/linux/mod.rs:34
Methodkey_up
(&self, key: &str)
src/rustautogui_impl/keyboard_impl.rs:35
Methodload_and_prepare_template
( &mut self, template_path: &str, region: Option<(u32, u32, u32, u32)>, match_
src/rustautogui_impl/template_match_impl/load_img_impl.rs:470
Methodloop_find_image_on_screen
loops until image is found and returns found values, or until it times out
src/rustautogui_impl/template_match_impl/find_img_impl.rs:112
Methodloop_find_stored_image_on_screen
loops until stored image is found and returns found values, or until it times out
src/rustautogui_impl/template_match_impl/find_img_impl.rs:187
Functionmain
()
build.rs:4
Functionmain
()
examples/find_image_move_mouse_and_input.rs:1
Functionmain
()
examples/open_github_page.rs:4
Functionmain
()
examples/opencl_example.rs:5
Functionmain
()
examples/display_mouse_coords.rs:4
Functionmain_test
()
tests/multi_test.rs:8
Functionmerge_picture_segments_old_slow
( segmented_template: Vec<(u32, u32, u32, u32, f32)>, )
src/core/template_match/segmented_ncc.rs:707
Methodmouse_click
click mouse, either left, right or middle "MouseClick::LEFT/RIGHT/MIDDLE enumerator"
src/core/mouse/windows/mod.rs:87
Methodmouse_click
click mouse, either left, right or middle
src/core/mouse/linux/mod.rs:142
Methodmouse_down
(button: MouseClick)
src/core/mouse/windows/mod.rs:108
Methodmouse_down
(&self, button: MouseClick)
src/core/mouse/linux/mod.rs:178
Methodmouse_up
(button: MouseClick)
src/core/mouse/windows/mod.rs:127
Methodmouse_up
(&self, button: MouseClick)
src/core/mouse/linux/mod.rs:209
Methodmove_mouse
separate private function called by move to pos
src/core/mouse/macos/mod.rs:127
Methodmove_mouse_to_pos
moves mouse to x, y pixel coordinate on screen
src/core/mouse/windows/mod.rs:19
Methodnew
(msg: &str)
src/errors.rs:80
Methodnew
initiation of screen, keyboard and mouse that are assigned to new rustautogui struct. all the other struct fields are initiated as 0 or None
src/lib.rs:99
Methodnew
Creates struct that holds information about screen
src/core/screen/windows/mod.rs:39
Methodnew
()
src/core/screen/macos/mod.rs:31
Methodnew
()
src/core/screen/linux/mod.rs:39
Methodnew
()
src/core/mouse/mouse_position.rs:34
Methodnew
()
src/core/mouse/windows/mod.rs:14
Methodnew
()
src/core/mouse/macos/mod.rs:17
Methodnew
(screen: *mut _XDisplay, root_window: u64)
src/core/mouse/linux/mod.rs:19
Methodnew
create new keyboard instance.
src/core/keyboard/windows/mod.rs:18
Methodnew
()
src/core/keyboard/macos/mod.rs:17
Methodnew
create new keyboard instance. Display object is needed as argument
src/core/keyboard/linux/mod.rs:15
Methodnew
( gpu_memory_pointers: &GpuMemoryPointers, program: &ocl::Program, queue: &ocl::Queue,
src/data/opencl.rs:23
Methodprepare_template_from_file_custom
Loads template from file on provided path
src/rustautogui_impl/template_match_impl/load_img_impl.rs:289
Methodprepare_template_from_imagebuffer_custom
( &mut self, image: ImageBuffer<P, Vec<T>>, region: Option<(u32, u32, u32, u32)>,
src/rustautogui_impl/template_match_impl/load_img_impl.rs:318
Methodprepare_template_from_raw_encoded
Only works on encoded images. uses image::load_from_memory() which reads first bytes of image which contain metadata depending on format.
src/rustautogui_impl/template_match_impl/load_img_impl.rs:337
Methodprepare_template_from_raw_encoded_custom
Only works on encoded images. uses image::load_from_memory() which reads first bytes of image which contain metadata depending on format.
src/rustautogui_impl/template_match_impl/load_img_impl.rs:349
Functionprepare_template_picture
( template: &ImageBuffer<Luma<u8>, Vec<u8>>, debug: &bool, corr_threshold: Option<f32>, )
src/core/template_match/segmented_ncc.rs:254
Methodpress_key
(scan_code: &u16)
src/core/keyboard/windows/mod.rs:23
Methodprint_device
(&self)
src/data/opencl.rs:309
Methodregion_dimension
(&self)
src/core/screen/windows/mod.rs:68
Methodregion_dimension
return region dimension which is set up when template is precalculated
src/core/screen/macos/mod.rs:74
Methodregion_dimension
return region dimension which is set up when template is precalculated
src/core/screen/linux/mod.rs:80
Methodrelease_key
(scan_code: &u16)
src/core/keyboard/windows/mod.rs:50
Methodsave_screenshot
saves screenshot and saves it at provided path
src/lib.rs:257
Methodscroll
(direction: MouseScroll, intensity: u32)
src/core/mouse/windows/mod.rs:146
Methodscroll
(&self, direction: MouseScroll, intensity: u32)
src/core/mouse/linux/mod.rs:240
Methodsend_char
Function used when sending input as string. All characters need to be part of the key map, described in Keyboard_commands.md For each character in a s
src/core/keyboard/windows/mod.rs:118
Methodsend_char
top level send character function that converts char to keycode and executes send key
src/core/keyboard/linux/mod.rs:161
Methodsend_command
Function used when sending commands like "return" or "escape"
src/core/keyboard/windows/mod.rs:131
Methodsend_command
similar to send char, but can be string such as return, escape etc
src/core/keyboard/linux/mod.rs:176
Methodsend_key
executes press down of a key, then press up.
src/core/keyboard/windows/mod.rs:94
Methodsend_multi_key
( &self, key_1: &str, key_2: &str, key_3: Option<String>, )
src/core/keyboard/windows/mod.rs:137
Methodsend_multi_key
( &self, key_1: &str, key_2: &str, key_3: Option<String>, )
src/core/keyboard/linux/mod.rs:184
Methodsend_shifted_key
executes press down of shift key, press down and press up for desired key, then press up of shift key
src/core/keyboard/windows/mod.rs:102
← previousnext →101–200 of 206, ranked by callers