This repository has been archived on 2022-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
ludum-dare-50/rustdoc/raylib/core/drawing/struct.RaylibDrawHandle.html

130 lines
167 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `RaylibDrawHandle` struct in crate `raylib`."><meta name="keywords" content="rust, rustlang, rust-lang, RaylibDrawHandle"><title>RaylibDrawHandle in raylib::core::drawing - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><script defer src="../../../main.js"></script>
<noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a class="sidebar-logo" href="../../../raylib/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.png" alt="logo"></div>
</a><h2 class="location">Struct RaylibDrawHandle</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#deref-methods-RaylibHandle">Methods from Deref&lt;Target=RaylibHandle&gt;</a></h3><div class="sidebar-links"><a href="#method.get_clipboard_text">get_clipboard_text</a><a href="#method.get_dropped_files">get_dropped_files</a><a href="#method.get_font_default">get_font_default</a><a href="#method.get_fps">get_fps</a><a href="#method.get_frame_time">get_frame_time</a><a href="#method.get_gamepad_axis_count">get_gamepad_axis_count</a><a href="#method.get_gamepad_axis_movement">get_gamepad_axis_movement</a><a href="#method.get_gamepad_button_pressed">get_gamepad_button_pressed</a><a href="#method.get_gamepad_name">get_gamepad_name</a><a href="#method.get_gesture_detected">get_gesture_detected</a><a href="#method.get_gesture_drag_angle">get_gesture_drag_angle</a><a href="#method.get_gesture_drag_vector">get_gesture_drag_vector</a><a href="#method.get_gesture_hold_duration">get_gesture_hold_duration</a><a href="#method.get_gesture_pinch_angle">get_gesture_pinch_angle</a><a href="#method.get_gesture_pinch_vector">get_gesture_pinch_vector</a><a href="#method.get_mouse_position">get_mouse_position</a><a href="#method.get_mouse_ray">get_mouse_ray</a><a href="#method.get_mouse_wheel_move">get_mouse_wheel_move</a><a href="#method.get_mouse_x">get_mouse_x</a><a href="#method.get_mouse_y">get_mouse_y</a><a href="#method.get_screen_height">get_screen_height</a><a href="#method.get_screen_to_world2D">get_screen_to_world2D</a><a href="#method.get_screen_width">get_screen_width</a><a href="#method.get_time">get_time</a><a href="#method.get_touch_points_count">get_touch_points_count</a><a href="#method.get_touch_position">get_touch_position</a><a href="#method.get_touch_x">get_touch_x</a><a href="#method.get_touch_y">get_touch_y</a><a href="#method.get_window_position">get_window_position</a><a href="#method.get_window_scale_dpi">get_window_scale_dpi</a><a href="#method.get_window_state">get_window_state</a><a href="#method.get_world_to_screen">get_world_to_screen</a><a href="#method.get_world_to_screen2D">get_world_to_screen2D</a><a href="#method.get_world_to_screen_ex">get_world_to_screen_ex</a><a href="#method.is_cursor_hidden">is_cursor_hidden</a><a href="#method.is_cursor_on_screen">is_cursor_on_screen</a><a href="#method.is_file_dropped">is_file_dropped</a><a href="#method.is_gamepad_available">is_gamepad_available</a><a href="#method.is_gamepad_button_down">is_gamepad_button_down</a><a href="#method.is_gamepad_button_pressed">is_gamepad_button_pressed</a><a href="#method.is_gamepad_button_released">is_gamepad_button_released</a><a href="#method.is_gamepad_button_up">is_gamepad_button_up</a><a href="#method.is_gamepad_name">is_gamepad_name</a><a href="#method.is_gesture_detected">is_gesture_detected</a><a href="#method.is_key_down">is_key_down</a><a href="#method.is_key_pressed">is_key_pressed</a><a href="#method.is_key_released">is_key_released</a><a href="#method.is_key_up">is_key_up</a><a href="#method.is_mouse_button_down">is_mouse_button_down</a><a href="#method.is_mouse_button_pressed">is_mouse_button_pressed</a><a href="#method.is_mouse_button_released">is_mouse_button_released</a><a href="#method.is_mouse_button_up">is_mouse_button_up</a><a href="#method.is_window_focused">is_window_focused</a><a href="#method.is_window_fullscreen">is_window_fullscreen</a><a href="#method.is_window_hidden">is_window_hidden</a><a href="#method.is_window_minimized">is_window_minimized</a><a href="#method.is_window_ready">is_window_ready</a><a href="#method.is_window_resized">is_window_resized</a><a href="#method.load_material_default">load_material_default</a><a href="#method.set_gestures_enabled">set_gestures_enabled</a><a href="#method.set_mouse_cursor">set_mouse_cursor</a><a href="#method.set_window_title">set_window_title</a><a href="#method.update_camera">update_camera</a><a href="#method.window_should_close">window_should_close</a></div><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-Deref">Deref</a><a href="#impl-Drop">Drop</a><a href="#impl-RaylibDraw">RaylibDraw</a><a href="#impl-RaylibTextureModeExt">RaylibTextureModeExt</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-RaylibBlendModeExt">RaylibBlendModeExt</a><a href="#impl-RaylibMode2DExt">RaylibMode2DExt</a><a href="#impl-RaylibMode3DExt">RaylibMode3DExt</a><a href="#impl-RaylibScissorModeExt">RaylibScissorModeExt</a><a href="#impl-RaylibShaderModeExt">RaylibShaderModeExt</a><a href="#impl-RaylibVRModeExt">RaylibVRModeExt</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><h2 class="location">Other items in<br><a href="../../index.html">raylib</a>::<wbr><a href="../index.html">core</a>::<wbr><a href="index.html">drawing</a></h2><div id="sidebar-vars" data-name="RaylibDrawHandle" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../raylib/index.html"><img class="rust-logo" src="../../../rust-logo.png" alt="logo"></a><nav class="sub"><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">raylib</a>::<wbr><a href="../index.html">core</a>::<wbr><a href="index.html">drawing</a>::<wbr><a class="struct" href="#">RaylibDrawHandle</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#26" title="goto source code">[src]</a></span></h1><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RaylibDrawHandle&lt;'a&gt;(_);</code></pre></div><h2 id="deref-methods-RaylibHandle" class="small-section-header"><span>Methods from <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="../struct.RaylibHandle.html" title="struct raylib::core::RaylibHandle">RaylibHandle</a>&gt;</span><a href="#deref-methods-RaylibHandle" class="anchor"></a></h2><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.update_camera" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/camera.rs.html#112-118" title="goto source code">[src]</a></div><a href="#method.update_camera" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.update_camera" class="fnname">update_camera</a>(&amp;self, camera: &amp;mut <a class="struct" href="../camera/struct.Camera3D.html" title="struct raylib::core::camera::Camera3D">Camera3D</a>)</h4></div></summary><div class="docblock"><p>Updates camera position for selected mode.</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_file_dropped" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/file.rs.html#10-12" title="goto source code">[src]</a></div><a href="#method.is_file_dropped" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_file_dropped" class="fnname">is_file_dropped</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if a file has been dropped into the window.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_dropped_files" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/file.rs.html#15-29" title="goto source code">[src]</a></div><a href="#method.get_dropped_files" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_dropped_files" class="fnname">get_dropped_files</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.59.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></div></summary><div class="docblock"><p>Gets dropped filenames.</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_key_pressed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#12-14" title="goto source code">[src]</a></div><a href="#method.is_key_pressed" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_key_pressed" class="fnname">is_key_pressed</a>(&amp;self, key: <a class="enum" href="../../ffi/enum.KeyboardKey.html" title="enum raylib::ffi::KeyboardKey">KeyboardKey</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a key has been pressed once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_key_down" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#18-20" title="goto source code">[src]</a></div><a href="#method.is_key_down" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_key_down" class="fnname">is_key_down</a>(&amp;self, key: <a class="enum" href="../../ffi/enum.KeyboardKey.html" title="enum raylib::ffi::KeyboardKey">KeyboardKey</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a key is being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_key_released" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#24-26" title="goto source code">[src]</a></div><a href="#method.is_key_released" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_key_released" class="fnname">is_key_released</a>(&amp;self, key: <a class="enum" href="../../ffi/enum.KeyboardKey.html" title="enum raylib::ffi::KeyboardKey">KeyboardKey</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a key has been released once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_key_up" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#30-32" title="goto source code">[src]</a></div><a href="#method.is_key_up" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_key_up" class="fnname">is_key_up</a>(&amp;self, key: <a class="enum" href="../../ffi/enum.KeyboardKey.html" title="enum raylib::ffi::KeyboardKey">KeyboardKey</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a key is NOT being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_available" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#67-69" title="goto source code">[src]</a></div><a href="#method.is_gamepad_available" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_available" class="fnname">is_gamepad_available</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a gamepad is available.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_name" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#73-76" title="goto source code">[src]</a></div><a href="#method.is_gamepad_name" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_name" class="fnname">is_gamepad_name</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks gamepad name (if available).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gamepad_name" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#80-88" title="goto source code">[src]</a></div><a href="#method.get_gamepad_name" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gamepad_name" class="fnname">get_gamepad_name</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></div></summary><div class="docblock"><p>Returns gamepad internal name id.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_button_pressed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#92-98" title="goto source code">[src]</a></div><a href="#method.is_gamepad_button_pressed" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_button_pressed" class="fnname">is_gamepad_button_pressed</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;button: <a class="enum" href="../../ffi/enum.GamepadButton.html" title="enum raylib::ffi::GamepadButton">GamepadButton</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a gamepad button has been pressed once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_button_down" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#102-108" title="goto source code">[src]</a></div><a href="#method.is_gamepad_button_down" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_button_down" class="fnname">is_gamepad_button_down</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;button: <a class="enum" href="../../ffi/enum.GamepadButton.html" title="enum raylib::ffi::GamepadButton">GamepadButton</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a gamepad button is being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_button_released" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#112-118" title="goto source code">[src]</a></div><a href="#method.is_gamepad_button_released" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_button_released" class="fnname">is_gamepad_button_released</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;button: <a class="enum" href="../../ffi/enum.GamepadButton.html" title="enum raylib::ffi::GamepadButton">GamepadButton</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a gamepad button has been released once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gamepad_button_up" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#122-124" title="goto source code">[src]</a></div><a href="#method.is_gamepad_button_up" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gamepad_button_up" class="fnname">is_gamepad_button_up</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, button: <a class="enum" href="../../ffi/enum.GamepadButton.html" title="enum raylib::ffi::GamepadButton">GamepadButton</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a gamepad button is NOT being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gamepad_button_pressed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#128-134" title="goto source code">[src]</a></div><a href="#method.get_gamepad_button_pressed" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gamepad_button_pressed" class="fnname">get_gamepad_button_pressed</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../../ffi/enum.GamepadButton.html" title="enum raylib::ffi::GamepadButton">GamepadButton</a>&gt;</h4></div></summary><div class="docblock"><p>Gets the last gamepad button pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gamepad_axis_count" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#138-140" title="goto source code">[src]</a></div><a href="#method.get_gamepad_axis_count" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gamepad_axis_count" class="fnname">get_gamepad_axis_count</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Returns gamepad axis count for a gamepad.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gamepad_axis_movement" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#144-146" title="goto source code">[src]</a></div><a href="#method.get_gamepad_axis_movement" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gamepad_axis_movement" class="fnname">get_gamepad_axis_movement</a>(&amp;self, gamepad: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, axis: <a class="enum" href="../../ffi/enum.GamepadAxis.html" title="enum raylib::ffi::GamepadAxis">GamepadAxis</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Returns axis movement value for a gamepad axis.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_mouse_button_pressed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#150-152" title="goto source code">[src]</a></div><a href="#method.is_mouse_button_pressed" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_mouse_button_pressed" class="fnname">is_mouse_button_pressed</a>(&amp;self, button: <a class="enum" href="../../ffi/enum.MouseButton.html" title="enum raylib::ffi::MouseButton">MouseButton</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a mouse button has been pressed once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_mouse_button_down" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#156-158" title="goto source code">[src]</a></div><a href="#method.is_mouse_button_down" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_mouse_button_down" class="fnname">is_mouse_button_down</a>(&amp;self, button: <a class="enum" href="../../ffi/enum.MouseButton.html" title="enum raylib::ffi::MouseButton">MouseButton</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a mouse button is being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_mouse_button_released" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#162-164" title="goto source code">[src]</a></div><a href="#method.is_mouse_button_released" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_mouse_button_released" class="fnname">is_mouse_button_released</a>(&amp;self, button: <a class="enum" href="../../ffi/enum.MouseButton.html" title="enum raylib::ffi::MouseButton">MouseButton</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a mouse button has been released once.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_mouse_button_up" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#168-170" title="goto source code">[src]</a></div><a href="#method.is_mouse_button_up" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_mouse_button_up" class="fnname">is_mouse_button_up</a>(&amp;self, button: <a class="enum" href="../../ffi/enum.MouseButton.html" title="enum raylib::ffi::MouseButton">MouseButton</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Detect if a mouse button is NOT being pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_mouse_x" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#174-176" title="goto source code">[src]</a></div><a href="#method.get_mouse_x" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mouse_x" class="fnname">get_mouse_x</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Returns mouse position X.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_mouse_y" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#180-182" title="goto source code">[src]</a></div><a href="#method.get_mouse_y" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mouse_y" class="fnname">get_mouse_y</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Returns mouse position Y.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_mouse_position" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#186-188" title="goto source code">[src]</a></div><a href="#method.get_mouse_position" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mouse_position" class="fnname">get_mouse_position</a>(&amp;self) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns mouse position.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_mouse_wheel_move" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#218-220" title="goto source code">[src]</a></div><a href="#method.get_mouse_wheel_move" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mouse_wheel_move" class="fnname">get_mouse_wheel_move</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Returns mouse wheel movement Y.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_touch_x" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#224-226" title="goto source code">[src]</a></div><a href="#method.get_touch_x" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_touch_x" class="fnname">get_touch_x</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Returns touch position X for touch point 0 (relative to screen size).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_touch_y" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#230-232" title="goto source code">[src]</a></div><a href="#method.get_touch_y" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_touch_y" class="fnname">get_touch_y</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Returns touch position Y for touch point 0 (relative to screen size).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_touch_position" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#236-238" title="goto source code">[src]</a></div><a href="#method.get_touch_position" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_touch_position" class="fnname">get_touch_position</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.u32.html">u32</a>) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns touch position XY for a touch point index (relative to screen size).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_gestures_enabled" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#242-246" title="goto source code">[src]</a></div><a href="#method.set_gestures_enabled" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_gestures_enabled" class="fnname">set_gestures_enabled</a>(&amp;self, gesture_flags: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.u32.html">u32</a>)</h4></div></summary><div class="docblock"><p>Enables a set of gestures using flags.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_gesture_detected" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#250-252" title="goto source code">[src]</a></div><a href="#method.is_gesture_detected" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_gesture_detected" class="fnname">is_gesture_detected</a>(&amp;self, gesture: <a class="enum" href="../../ffi/enum.Gestures.html" title="enum raylib::ffi::Gestures">Gestures</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if a gesture have been detected.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_detected" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#256-258" title="goto source code">[src]</a></div><a href="#method.get_gesture_detected" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_detected" class="fnname">get_gesture_detected</a>(&amp;self) -&gt; <a class="enum" href="../../ffi/enum.Gestures.html" title="enum raylib::ffi::Gestures">Gestures</a></h4></div></summary><div class="docblock"><p>Gets latest detected gesture.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_touch_points_count" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#262-264" title="goto source code">[src]</a></div><a href="#method.get_touch_points_count" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_touch_points_count" class="fnname">get_touch_points_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.u32.html">u32</a></h4></div></summary><div class="docblock"><p>Gets touch points count.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_hold_duration" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#268-270" title="goto source code">[src]</a></div><a href="#method.get_gesture_hold_duration" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_hold_duration" class="fnname">get_gesture_hold_duration</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Gets gesture hold time in milliseconds.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_drag_vector" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#274-276" title="goto source code">[src]</a></div><a href="#method.get_gesture_drag_vector" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_drag_vector" class="fnname">get_gesture_drag_vector</a>(&amp;self) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Gets gesture drag vector.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_drag_angle" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#280-282" title="goto source code">[src]</a></div><a href="#method.get_gesture_drag_angle" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_drag_angle" class="fnname">get_gesture_drag_angle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Gets gesture drag angle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_pinch_vector" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#286-288" title="goto source code">[src]</a></div><a href="#method.get_gesture_pinch_vector" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_pinch_vector" class="fnname">get_gesture_pinch_vector</a>(&amp;self) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Gets gesture pinch delta.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_gesture_pinch_angle" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/input.rs.html#292-294" title="goto source code">[src]</a></div><a href="#method.get_gesture_pinch_angle" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_gesture_pinch_angle" class="fnname">get_gesture_pinch_angle</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Gets gesture pinch angle.</p>
</div></details></div><div class="impl-items"><div id="method.load_material_default" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/models.rs.html#563-565" title="goto source code">[src]</a></div><a href="#method.load_material_default" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.load_material_default" class="fnname">load_material_default</a>(&amp;self, _: &amp;<a class="struct" href="../struct.RaylibThread.html" title="struct raylib::core::RaylibThread">RaylibThread</a>) -&gt; <a class="struct" href="../models/struct.WeakMaterial.html" title="struct raylib::core::models::WeakMaterial">WeakMaterial</a></h4></div></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_font_default" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/text.rs.html#317-319" title="goto source code">[src]</a></div><a href="#method.get_font_default" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_font_default" class="fnname">get_font_default</a>(&amp;self) -&gt; <a class="struct" href="../text/struct.WeakFont.html" title="struct raylib::core::text::WeakFont">WeakFont</a></h4></div></summary><div class="docblock"><p>Gets the default font.</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_clipboard_text" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#381-387" title="goto source code">[src]</a></div><a href="#method.get_clipboard_text" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_clipboard_text" class="fnname">get_clipboard_text</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.59.0/core/str/error/struct.Utf8Error.html" title="struct core::str::error::Utf8Error">Utf8Error</a>&gt;</h4></div></summary><div class="docblock"><p>Get clipboard text content</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_mouse_ray" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#402-408" title="goto source code">[src]</a></div><a href="#method.get_mouse_ray" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_mouse_ray" class="fnname">get_mouse_ray</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;mouse_position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="type" href="../../ffi/type.Camera.html" title="type raylib::ffi::Camera">Camera</a>&gt;<br>) -&gt; <a class="struct" href="../math/struct.Ray.html" title="struct raylib::core::math::Ray">Ray</a></h4></div></summary><div class="docblock"><p>Returns a ray trace from mouse position</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_world_to_screen" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#411-417" title="goto source code">[src]</a></div><a href="#method.get_world_to_screen" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_world_to_screen" class="fnname">get_world_to_screen</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector3.html" title="struct raylib::ffi::Vector3">Vector3</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="type" href="../../ffi/type.Camera.html" title="type raylib::ffi::Camera">Camera</a>&gt;<br>) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns the screen space position for a 3d world space position</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_world_to_screen2D" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#421-427" title="goto source code">[src]</a></div><a href="#method.get_world_to_screen2D" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_world_to_screen2D" class="fnname">get_world_to_screen2D</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Camera2D.html" title="struct raylib::ffi::Camera2D">Camera2D</a>&gt;<br>) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns the screen space position for a 2d camera world space position</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_world_to_screen_ex" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#430-438" title="goto source code">[src]</a></div><a href="#method.get_world_to_screen_ex" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_world_to_screen_ex" class="fnname">get_world_to_screen_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector3.html" title="struct raylib::ffi::Vector3">Vector3</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="type" href="../../ffi/type.Camera.html" title="type raylib::ffi::Camera">Camera</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns size position for a 3d world space position</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_screen_to_world2D" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#442-448" title="goto source code">[src]</a></div><a href="#method.get_screen_to_world2D" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_screen_to_world2D" class="fnname">get_screen_to_world2D</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Camera2D.html" title="struct raylib::ffi::Camera2D">Camera2D</a>&gt;<br>) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Returns the world space position for a 2d camera screen space position</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_fps" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#461-463" title="goto source code">[src]</a></div><a href="#method.get_fps" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_fps" class="fnname">get_fps</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.u32.html">u32</a></h4></div></summary><div class="docblock"><p>Returns current FPS</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_frame_time" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#466-468" title="goto source code">[src]</a></div><a href="#method.get_frame_time" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_frame_time" class="fnname">get_frame_time</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a></h4></div></summary><div class="docblock"><p>Returns time in seconds for last frame drawn</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_time" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#471-473" title="goto source code">[src]</a></div><a href="#method.get_time" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_time" class="fnname">get_time</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f64.html">f64</a></h4></div></summary><div class="docblock"><p>Returns elapsed time in seconds since InitWindow()</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.window_should_close" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#480-482" title="goto source code">[src]</a></div><a href="#method.window_should_close" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.window_should_close" class="fnname">window_should_close</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if <code>KEY_ESCAPE</code> or Close icon was pressed.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_window_ready" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#486-488" title="goto source code">[src]</a></div><a href="#method.is_window_ready" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_ready" class="fnname">is_window_ready</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if window has been initialized successfully.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_window_minimized" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#492-494" title="goto source code">[src]</a></div><a href="#method.is_window_minimized" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_minimized" class="fnname">is_window_minimized</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if window has been minimized (or lost focus).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_window_resized" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#498-500" title="goto source code">[src]</a></div><a href="#method.is_window_resized" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_resized" class="fnname">is_window_resized</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if window has been resized.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_window_hidden" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#504-506" title="goto source code">[src]</a></div><a href="#method.is_window_hidden" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_hidden" class="fnname">is_window_hidden</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if window has been hidden.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_window_fullscreen" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#510-512" title="goto source code">[src]</a></div><a href="#method.is_window_fullscreen" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_fullscreen" class="fnname">is_window_fullscreen</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Returns whether or not window is in fullscreen mode</p>
</div></details><div id="method.is_window_focused" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#516-518" title="goto source code">[src]</a></div><a href="#method.is_window_focused" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_window_focused" class="fnname">is_window_focused</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_window_scale_dpi" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#522-524" title="goto source code">[src]</a></div><a href="#method.get_window_scale_dpi" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_window_scale_dpi" class="fnname">get_window_scale_dpi</a>(&amp;self) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Check if window is currently focused (only PLATFORM_DESKTOP)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_cursor_on_screen" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#528-530" title="goto source code">[src]</a></div><a href="#method.is_cursor_on_screen" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_cursor_on_screen" class="fnname">is_cursor_on_screen</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Check if cursor is on the current screen.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_mouse_cursor" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#534-536" title="goto source code">[src]</a></div><a href="#method.set_mouse_cursor" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_mouse_cursor" class="fnname">set_mouse_cursor</a>(&amp;self, cursor: <a class="enum" href="../../ffi/enum.MouseCursor.html" title="enum raylib::ffi::MouseCursor">MouseCursor</a>)</h4></div></summary><div class="docblock"><p>Set mouse cursor</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_window_state" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#557-605" title="goto source code">[src]</a></div><a href="#method.get_window_state" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_window_state" class="fnname">get_window_state</a>(&amp;self) -&gt; <a class="struct" href="../window/struct.WindowState.html" title="struct raylib::core::window::WindowState">WindowState</a></h4></div></summary><div class="docblock"><p>Get the window config state</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_window_title" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#617-622" title="goto source code">[src]</a></div><a href="#method.set_window_title" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_window_title" class="fnname">set_window_title</a>(&amp;self, _: &amp;<a class="struct" href="../struct.RaylibThread.html" title="struct raylib::core::RaylibThread">RaylibThread</a>, title: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>)</h4></div></summary><div class="docblock"><p>Sets title for window (only on desktop platforms).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_screen_width" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#660-662" title="goto source code">[src]</a></div><a href="#method.get_screen_width" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_screen_width" class="fnname">get_screen_width</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Gets current screen width.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_screen_height" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#666-668" title="goto source code">[src]</a></div><a href="#method.get_screen_height" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_screen_height" class="fnname">get_screen_height</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a></h4></div></summary><div class="docblock"><p>Gets current screen height.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_window_position" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#672-674" title="goto source code">[src]</a></div><a href="#method.get_window_position" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_window_position" class="fnname">get_window_position</a>(&amp;self) -&gt; <a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a></h4></div></summary><div class="docblock"><p>Get window position</p>
</div></details></div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.is_cursor_hidden" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/window.rs.html#697-699" title="goto source code">[src]</a></div><a href="#method.is_cursor_hidden" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_cursor_hidden" class="fnname">is_cursor_hidden</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></h4></div></summary><div class="docblock"><p>Checks if mouse cursor is not visible.</p>
</div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Deref" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#36-42" title="goto source code">[src]</a></div><a href="#impl-Deref" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Target" class="type trait-impl has-srclink"><a href="#associatedtype.Target" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.59.0/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="../struct.RaylibHandle.html" title="struct raylib::core::RaylibHandle">RaylibHandle</a></h4></div></summary><div class='docblock'><p>The resulting type after dereferencing.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deref" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#39-41" title="goto source code">[src]</a></div><a href="#method.deref" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.59.0/core/ops/deref/trait.Deref.html#tymethod.deref" class="fnname">deref</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.59.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></div></summary><div class='docblock'><p>Dereferences the value.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Drop" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#28-34" title="goto source code">[src]</a></div><a href="#impl-Drop" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.drop" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#29-33" title="goto source code">[src]</a></div><a href="#method.drop" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.59.0/core/ops/drop/trait.Drop.html#tymethod.drop" class="fnname">drop</a>(&amp;mut self)</h4></div></summary><div class='docblock'><p>Executes the destructor for this type. <a href="https://doc.rust-lang.org/1.59.0/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibDraw" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#44" title="goto source code">[src]</a></div><a href="#impl-RaylibDraw" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.clear_background" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#286-290" title="goto source code">[src]</a></div><a href="#method.clear_background" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.clear_background" class="fnname">clear_background</a>(&amp;mut self, color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;)</h4></div></summary><div class='docblock'><p>Sets background color (framebuffer clear color).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_shapes_texture" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#293-299" title="goto source code">[src]</a></div><a href="#method.set_shapes_texture" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.set_shapes_texture" class="fnname">set_shapes_texture</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;source: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Define default texture used to draw shapes</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_pixel" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#309-313" title="goto source code">[src]</a></div><a href="#method.draw_pixel" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_pixel" class="fnname">draw_pixel</a>(&amp;mut self, x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;)</h4></div></summary><div class='docblock'><p>Draws a pixel.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_pixel_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#317-321" title="goto source code">[src]</a></div><a href="#method.draw_pixel_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_pixel_v" class="fnname">draw_pixel_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a pixel (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#325-336" title="goto source code">[src]</a></div><a href="#method.draw_line" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line" class="fnname">draw_line</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a line.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#340-349" title="goto source code">[src]</a></div><a href="#method.draw_line_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line_v" class="fnname">draw_line_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a line (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#353-363" title="goto source code">[src]</a></div><a href="#method.draw_line_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line_ex" class="fnname">draw_line_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;thick: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a line with thickness.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line_bezier" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#367-377" title="goto source code">[src]</a></div><a href="#method.draw_line_bezier" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line_bezier" class="fnname">draw_line_bezier</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;thick: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a line using cubic-bezier curves in-out.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line_bezier_quad" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#380-397" title="goto source code">[src]</a></div><a href="#method.draw_line_bezier_quad" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line_bezier_quad" class="fnname">draw_line_bezier_quad</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;control_pos: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;thick: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw line using quadratic bezier curves with a control point</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_line_strip" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#401-409" title="goto source code">[src]</a></div><a href="#method.draw_line_strip" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_line_strip" class="fnname">draw_line_strip</a>(&amp;mut self, points: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">&amp;[</a><a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a><a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">]</a>, color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;)</h4></div></summary><div class='docblock'><p>Draw lines sequence</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#413-423" title="goto source code">[src]</a></div><a href="#method.draw_circle" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle" class="fnname">draw_circle</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled circle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle_sector" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#426-445" title="goto source code">[src]</a></div><a href="#method.draw_circle_sector" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle_sector" class="fnname">draw_circle_sector</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw a piece of a circle</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle_sector_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#449-468" title="goto source code">[src]</a></div><a href="#method.draw_circle_sector_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle_sector_lines" class="fnname">draw_circle_sector_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw circle sector outline</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle_gradient" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#472-483" title="goto source code">[src]</a></div><a href="#method.draw_circle_gradient" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle_gradient" class="fnname">draw_circle_gradient</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a gradient-filled circle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#487-496" title="goto source code">[src]</a></div><a href="#method.draw_circle_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle_v" class="fnname">draw_circle_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled circle (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_circle_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#500-510" title="goto source code">[src]</a></div><a href="#method.draw_circle_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_circle_lines" class="fnname">draw_circle_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws circle outline.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_ellipse" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#514-525" title="goto source code">[src]</a></div><a href="#method.draw_ellipse" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_ellipse" class="fnname">draw_ellipse</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius_h: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius_v: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws ellipse.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_ellipse_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#529-540" title="goto source code">[src]</a></div><a href="#method.draw_ellipse_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_ellipse_lines" class="fnname">draw_ellipse_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;center_y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius_h: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius_v: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws ellipse.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_ring" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#544-565" title="goto source code">[src]</a></div><a href="#method.draw_ring" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_ring" class="fnname">draw_ring</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;inner_radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;outer_radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw ring</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_ring_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#569-590" title="goto source code">[src]</a></div><a href="#method.draw_ring_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_ring_lines" class="fnname">draw_ring_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;inner_radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;outer_radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;start_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;end_angle: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw ring lines</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#594-605" title="goto source code">[src]</a></div><a href="#method.draw_rectangle" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle" class="fnname">draw_rectangle</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled rectangle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#609-618" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_v" class="fnname">draw_rectangle_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;size: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled rectangle (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_rec" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#622-626" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_rec" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_rec" class="fnname">draw_rectangle_rec</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled rectangle from <code>rec</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_pro" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#630-640" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_pro" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_pro" class="fnname">draw_rectangle_pro</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;origin: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a color-filled rectangle with pro parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_gradient_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#646-658" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_gradient_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_v" class="fnname">draw_rectangle_gradient_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a vertical-gradient-filled rectangle. <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_v">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_gradient_h" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#664-676" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_gradient_h" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_h" class="fnname">draw_rectangle_gradient_h</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a horizontal-gradient-filled rectangle. <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_h">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_gradient_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#682-699" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_gradient_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_ex" class="fnname">draw_rectangle_gradient_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;col1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;col2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;col3: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;col4: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a gradient-filled rectangle with custom vertex colors. <a href="trait.RaylibDraw.html#method.draw_rectangle_gradient_ex">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#703-714" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_lines" class="fnname">draw_rectangle_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws rectangle outline.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_lines_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#718-727" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_lines_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_lines_ex" class="fnname">draw_rectangle_lines_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;line_thick: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws rectangle outline with extended parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_rounded" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#730-740" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_rounded" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_rounded" class="fnname">draw_rectangle_rounded</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;roundness: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws rectangle outline with extended parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_rectangle_rounded_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#744-761" title="goto source code">[src]</a></div><a href="#method.draw_rectangle_rounded_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_rectangle_rounded_lines" class="fnname">draw_rectangle_rounded_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;roundness: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;segments: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;line_thickness: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws rectangle outline with extended parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_triangle" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#765-775" title="goto source code">[src]</a></div><a href="#method.draw_triangle" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_triangle" class="fnname">draw_triangle</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;v1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;v2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;v3: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a triangle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_triangle_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#779-789" title="goto source code">[src]</a></div><a href="#method.draw_triangle_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_triangle_lines" class="fnname">draw_triangle_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;v1: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;v2: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;v3: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a triangle using lines.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_triangle_fan" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#793-801" title="goto source code">[src]</a></div><a href="#method.draw_triangle_fan" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_triangle_fan" class="fnname">draw_triangle_fan</a>(&amp;mut self, points: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">&amp;[</a><a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a><a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">]</a>, color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;)</h4></div></summary><div class='docblock'><p>Draw a triangle fan defined by points.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_triangle_strip" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#805-813" title="goto source code">[src]</a></div><a href="#method.draw_triangle_strip" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_triangle_strip" class="fnname">draw_triangle_strip</a>(&amp;mut self, points: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">&amp;[</a><a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a><a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">]</a>, color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;)</h4></div></summary><div class='docblock'><p>Draw a triangle strip defined by points</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_poly" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#817-828" title="goto source code">[src]</a></div><a href="#method.draw_poly" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_poly" class="fnname">draw_poly</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;sides: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a regular polygon of n sides (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_poly_lines" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#832-843" title="goto source code">[src]</a></div><a href="#method.draw_poly_lines" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_poly_lines" class="fnname">draw_poly_lines</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;sides: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;radius: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a regular polygon of n sides (Vector version).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#847-857" title="goto source code">[src]</a></div><a href="#method.draw_texture" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture" class="fnname">draw_texture</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a <code>texture</code> using specified position and <code>tint</code> color.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_v" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#861-870" title="goto source code">[src]</a></div><a href="#method.draw_texture_v" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_v" class="fnname">draw_texture_v</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a <code>texture</code> using specified <code>position</code> vector and <code>tint</code> color.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#874-891" title="goto source code">[src]</a></div><a href="#method.draw_texture_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_ex" class="fnname">draw_texture_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;scale: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a <code>texture</code> with extended parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_rec" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#895-910" title="goto source code">[src]</a></div><a href="#method.draw_texture_rec" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_rec" class="fnname">draw_texture_rec</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;source_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws from a region of <code>texture</code> defined by the <code>source_rec</code> rectangle.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_quad" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#914-931" title="goto source code">[src]</a></div><a href="#method.draw_texture_quad" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_quad" class="fnname">draw_texture_quad</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;tiling: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;offset: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;quad: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw texture quad with tiling and offset parameters</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_pro" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#935-954" title="goto source code">[src]</a></div><a href="#method.draw_texture_pro" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_pro" class="fnname">draw_texture_pro</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;source_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dest_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;origin: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw from a region of <code>texture</code> defined by the <code>source_rec</code> rectangle with pro parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_tiled" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#958-979" title="goto source code">[src]</a></div><a href="#method.draw_texture_tiled" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_tiled" class="fnname">draw_texture_tiled</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;source_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dest_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;origin: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;scale: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_n_patch" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#983-1002" title="goto source code">[src]</a></div><a href="#method.draw_texture_n_patch" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_n_patch" class="fnname">draw_texture_n_patch</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;n_patch_info: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.NPatchInfo.html" title="struct raylib::ffi::NPatchInfo">NPatchInfo</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;dest_rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;origin: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;rotation: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a texture (or part of it) that stretches or shrinks nicely</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_texture_poly" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1006-1025" title="goto source code">[src]</a></div><a href="#method.draw_texture_poly" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_texture_poly" class="fnname">draw_texture_poly</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;texture: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="type" href="../../ffi/type.Texture2D.html" title="type raylib::ffi::Texture2D">Texture2D</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;center: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;points: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">&amp;[</a><a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a><a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;texcoords: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">&amp;[</a><a class="struct" href="../math/struct.Vector2.html" title="struct raylib::core::math::Vector2">Vector2</a><a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws a texture (or part of it) that stretches or shrinks nicely</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_fps" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1029-1033" title="goto source code">[src]</a></div><a href="#method.draw_fps" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_fps" class="fnname">draw_fps</a>(&amp;mut self, x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>)</h4></div></summary><div class='docblock'><p>Shows current FPS.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_text" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1037-1049" title="goto source code">[src]</a></div><a href="#method.draw_text" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_text" class="fnname">draw_text</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;font_size: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;color: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws text (using default font).</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_text_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1053-1073" title="goto source code">[src]</a></div><a href="#method.draw_text_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_text_ex" class="fnname">draw_text_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;font: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../../ffi/struct.Font.html" title="struct raylib::ffi::Font">Font</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;font_size: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;spacing: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws text using <code>font</code> and additional parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_text_rec" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1077-1099" title="goto source code">[src]</a></div><a href="#method.draw_text_rec" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_text_rec" class="fnname">draw_text_rec</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;font: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../../ffi/struct.Font.html" title="struct raylib::ffi::Font">Font</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;font_size: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;spacing: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;word_wrap: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws text using <code>font</code> and additional parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_text_rec_ex" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1103-1133" title="goto source code">[src]</a></div><a href="#method.draw_text_rec_ex" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_text_rec_ex" class="fnname">draw_text_rec_ex</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;font: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../../ffi/struct.Font.html" title="struct raylib::ffi::Font">Font</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;rec: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Rectangle.html" title="struct raylib::ffi::Rectangle">Rectangle</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;font_size: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;spacing: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;word_wrap: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;select_start: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;select_length: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;select_text: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;select_back: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draws text using <code>font</code> and additional parameters.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_text_codepoint" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#1137-1154" title="goto source code">[src]</a></div><a href="#method.draw_text_codepoint" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibDraw.html#method.draw_text_codepoint" class="fnname">draw_text_codepoint</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;font: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../../ffi/struct.Font.html" title="struct raylib::ffi::Font">Font</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;codepoint: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;position: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Vector2.html" title="struct raylib::ffi::Vector2">Vector2</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;scale: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.f32.html">f32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;tint: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Color.html" title="struct raylib::ffi::Color">Color</a>&gt;<br>)</h4></div></summary><div class='docblock'><p>Draw one character (codepoint)</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibTextureModeExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#78" title="goto source code">[src]</a></div><a href="#impl-RaylibTextureModeExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="trait.RaylibTextureModeExt.html" title="trait raylib::core::drawing::RaylibTextureModeExt">RaylibTextureModeExt</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div></summary><div class="impl-items"><div id="method.begin_texture_mode" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#67-74" title="goto source code">[src]</a></div><a href="#method.begin_texture_mode" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibTextureModeExt.html#method.begin_texture_mode" class="fnname">begin_texture_mode</a>&lt;'a&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'a mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_: &amp;<a class="struct" href="../struct.RaylibThread.html" title="struct raylib::core::RaylibThread">RaylibThread</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;framebuffer: &amp;'a mut <a class="type" href="../../ffi/type.RenderTexture2D.html" title="type raylib::ffi::RenderTexture2D">RenderTexture2D</a><br>) -&gt; <a class="struct" href="struct.RaylibTextureMode.html" title="struct raylib::core::drawing::RaylibTextureMode">RaylibTextureMode</a>&lt;'_, Self&gt;</h4></div></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.RaylibDrawHandle.html" title="struct raylib::core::drawing::RaylibDrawHandle">RaylibDrawHandle</a>&lt;'a&gt;</h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.59.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></div></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Borrow%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#209-214" title="goto source code">[src]</a></div><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#211" title="goto source code">[src]</a></div><a href="#method.borrow" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.reference.html">&amp;</a>T</h4></div></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#218-222" title="goto source code">[src]</a></div><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow_mut" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#219" title="goto source code">[src]</a></div><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.reference.html">&amp;mut </a>T</h4></div></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#550-554" title="goto source code">[src]</a></div><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#551" title="goto source code">[src]</a></div><a href="#method.from" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -&gt; T</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Into%3CU%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#538-545" title="goto source code">[src]</a></div><a href="#impl-Into%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.into" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#542" title="goto source code">[src]</a></div><a href="#method.into" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -&gt; U</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibBlendModeExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#240" title="goto source code">[src]</a></div><a href="#impl-RaylibBlendModeExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibBlendModeExt.html" title="trait raylib::core::drawing::RaylibBlendModeExt">RaylibBlendModeExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_blend_mode" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#234-237" title="goto source code">[src]</a></div><a href="#method.begin_blend_mode" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibBlendModeExt.html#method.begin_blend_mode" class="fnname">begin_blend_mode</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;blend_mode: <a class="enum" href="../../ffi/enum.BlendMode.html" title="enum raylib::ffi::BlendMode">BlendMode</a><br>) -&gt; <a class="struct" href="struct.RaylibBlendMode.html" title="struct raylib::core::drawing::RaylibBlendMode">RaylibBlendMode</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibMode2DExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#145" title="goto source code">[src]</a></div><a href="#impl-RaylibMode2DExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibMode2DExt.html" title="trait raylib::core::drawing::RaylibMode2DExt">RaylibMode2DExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_mode2D" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#137-142" title="goto source code">[src]</a></div><a href="#method.begin_mode2D" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibMode2DExt.html#method.begin_mode2D" class="fnname">begin_mode2D</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Camera2D.html" title="struct raylib::ffi::Camera2D">Camera2D</a>&gt;<br>) -&gt; <a class="struct" href="struct.RaylibMode2D.html" title="struct raylib::core::drawing::RaylibMode2D">RaylibMode2D</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibMode3DExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#178" title="goto source code">[src]</a></div><a href="#impl-RaylibMode3DExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibMode3DExt.html" title="trait raylib::core::drawing::RaylibMode3DExt">RaylibMode3DExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_mode3D" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#170-175" title="goto source code">[src]</a></div><a href="#method.begin_mode3D" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibMode3DExt.html#method.begin_mode3D" class="fnname">begin_mode3D</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;camera: impl <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../ffi/struct.Camera3D.html" title="struct raylib::ffi::Camera3D">Camera3D</a>&gt;<br>) -&gt; <a class="struct" href="struct.RaylibMode3D.html" title="struct raylib::core::drawing::RaylibMode3D">RaylibMode3D</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibScissorModeExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#277" title="goto source code">[src]</a></div><a href="#impl-RaylibScissorModeExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibScissorModeExt.html" title="trait raylib::core::drawing::RaylibScissorModeExt">RaylibScissorModeExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_scissor_mode" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#265-274" title="goto source code">[src]</a></div><a href="#method.begin_scissor_mode" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibScissorModeExt.html#method.begin_scissor_mode" class="fnname">begin_scissor_mode</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;x: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;y: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;width: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;height: <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.i32.html">i32</a><br>) -&gt; <a class="struct" href="struct.RaylibScissorMode.html" title="struct raylib::core::drawing::RaylibScissorMode">RaylibScissorMode</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibShaderModeExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#209" title="goto source code">[src]</a></div><a href="#impl-RaylibShaderModeExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibShaderModeExt.html" title="trait raylib::core::drawing::RaylibShaderModeExt">RaylibShaderModeExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_shader_mode" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#203-206" title="goto source code">[src]</a></div><a href="#method.begin_shader_mode" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibShaderModeExt.html#method.begin_shader_mode" class="fnname">begin_shader_mode</a>&lt;'a&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'a mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;shader: &amp;'a <a class="struct" href="../../ffi/struct.Shader.html" title="struct raylib::ffi::Shader">Shader</a><br>) -&gt; <a class="struct" href="struct.RaylibShaderMode.html" title="struct raylib::core::drawing::RaylibShaderMode">RaylibShaderMode</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-RaylibVRModeExt" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#112" title="goto source code">[src]</a></div><a href="#impl-RaylibVRModeExt" class="anchor"></a><h3 class="code-header in-band">impl&lt;D&gt; <a class="trait" href="trait.RaylibVRModeExt.html" title="trait raylib::core::drawing::RaylibVRModeExt">RaylibVRModeExt</a> for D <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;D: <a class="trait" href="trait.RaylibDraw.html" title="trait raylib::core::drawing::RaylibDraw">RaylibDraw</a>,&nbsp;</span></h3></div></summary><div class="impl-items"><div id="method.begin_vr_stereo_mode" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/raylib/core/drawing.rs.html#103-109" title="goto source code">[src]</a></div><a href="#method.begin_vr_stereo_mode" class="anchor"></a><h4 class="code-header">fn <a href="trait.RaylibVRModeExt.html#method.begin_vr_stereo_mode" class="fnname">begin_vr_stereo_mode</a>&lt;'a&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'a mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;vr_config: &amp;'a mut <a class="struct" href="../vr/struct.VrStereoConfig.html" title="struct raylib::core::vr::VrStereoConfig">VrStereoConfig</a><br>) -&gt; <a class="struct" href="struct.RaylibVRMode.html" title="struct raylib::core::drawing::RaylibVRMode">RaylibVRMode</a>&lt;'_, Self&gt;</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-TryFrom%3CU%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#588-597" title="goto source code">[src]</a></div><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Error-1" class="type trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></div></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_from" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#594" title="goto source code">[src]</a></div><a href="#method.try_from" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-TryInto%3CU%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#574-583" title="goto source code">[src]</a></div><a href="#impl-TryInto%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Error" class="type trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></div></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.try_into" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#580" title="goto source code">[src]</a></div><a href="#method.try_into" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="raylib" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.59.0 (9d1b2106e 2022-02-23)" ></div>
</body></html>