[−][src]Struct raylib::core::drawing::RaylibVRMode
Trait Implementations
impl<'a, T> Deref for RaylibVRMode<'a, T>[src]
impl<'a, T> Drop for RaylibVRMode<'a, T>[src]
impl<'a, T> RaylibDraw for RaylibVRMode<'a, T>[src]
fn clear_background(&mut self, color: impl Into<Color>)[src]
fn set_shapes_texture(
&mut self,
texture: impl AsRef<Texture2D>,
source: impl Into<Rectangle>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
source: impl Into<Rectangle>
)
fn draw_pixel(&mut self, x: i32, y: i32, color: impl Into<Color>)[src]
fn draw_pixel_v(
&mut self,
position: impl Into<Vector2>,
color: impl Into<Color>
)[src]
&mut self,
position: impl Into<Vector2>,
color: impl Into<Color>
)
fn draw_line(
&mut self,
start_pos_x: i32,
start_pos_y: i32,
end_pos_x: i32,
end_pos_y: i32,
color: impl Into<Color>
)[src]
&mut self,
start_pos_x: i32,
start_pos_y: i32,
end_pos_x: i32,
end_pos_y: i32,
color: impl Into<Color>
)
fn draw_line_v(
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
color: impl Into<Color>
)[src]
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
color: impl Into<Color>
)
fn draw_line_ex(
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
thick: f32,
color: impl Into<Color>
)[src]
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
thick: f32,
color: impl Into<Color>
)
fn draw_line_bezier(
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
thick: f32,
color: impl Into<Color>
)[src]
&mut self,
start_pos: impl Into<Vector2>,
end_pos: impl Into<Vector2>,
thick: f32,
color: impl Into<Color>
)
fn draw_line_strip(&mut self, points: &[Vector2], color: impl Into<Color>)[src]
fn draw_circle(
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color: impl Into<Color>
)[src]
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color: impl Into<Color>
)
fn draw_circle_sector(
&mut self,
center: impl Into<Vector2>,
radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)
fn draw_circle_sector_lines(
&mut self,
center: impl Into<Vector2>,
radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)
fn draw_circle_gradient(
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color1: impl Into<Color>,
color2: impl Into<Color>
)[src]
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color1: impl Into<Color>,
color2: impl Into<Color>
)
fn draw_circle_v(
&mut self,
center: impl Into<Vector2>,
radius: f32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
radius: f32,
color: impl Into<Color>
)
fn draw_circle_lines(
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color: impl Into<Color>
)[src]
&mut self,
center_x: i32,
center_y: i32,
radius: f32,
color: impl Into<Color>
)
fn draw_ellipse(
&mut self,
center_x: i32,
center_y: i32,
radius_h: f32,
radius_v: f32,
color: impl Into<Color>
)[src]
&mut self,
center_x: i32,
center_y: i32,
radius_h: f32,
radius_v: f32,
color: impl Into<Color>
)
fn draw_ellipse_lines(
&mut self,
center_x: i32,
center_y: i32,
radius_h: f32,
radius_v: f32,
color: impl Into<Color>
)[src]
&mut self,
center_x: i32,
center_y: i32,
radius_h: f32,
radius_v: f32,
color: impl Into<Color>
)
fn draw_ring(
&mut self,
center: impl Into<Vector2>,
inner_radius: f32,
outer_radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
inner_radius: f32,
outer_radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)
fn draw_ring_lines(
&mut self,
center: impl Into<Vector2>,
inner_radius: f32,
outer_radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
inner_radius: f32,
outer_radius: f32,
start_angle: i32,
end_angle: i32,
segments: i32,
color: impl Into<Color>
)
fn draw_rectangle(
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color: impl Into<Color>
)[src]
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color: impl Into<Color>
)
fn draw_rectangle_v(
&mut self,
position: impl Into<Vector2>,
size: impl Into<Vector2>,
color: impl Into<Color>
)[src]
&mut self,
position: impl Into<Vector2>,
size: impl Into<Vector2>,
color: impl Into<Color>
)
fn draw_rectangle_rec(
&mut self,
rec: impl Into<Rectangle>,
color: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
color: impl Into<Color>
)
fn draw_rectangle_pro(
&mut self,
rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
color: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
color: impl Into<Color>
)
fn draw_rectangle_gradient_v(
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color1: impl Into<Color>,
color2: impl Into<Color>
)[src]
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color1: impl Into<Color>,
color2: impl Into<Color>
)
fn draw_rectangle_gradient_h(
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color1: impl Into<Color>,
color2: impl Into<Color>
)[src]
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color1: impl Into<Color>,
color2: impl Into<Color>
)
fn draw_rectangle_gradient_ex(
&mut self,
rec: impl Into<Rectangle>,
col1: impl Into<Color>,
col2: impl Into<Color>,
col3: impl Into<Color>,
col4: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
col1: impl Into<Color>,
col2: impl Into<Color>,
col3: impl Into<Color>,
col4: impl Into<Color>
)
fn draw_rectangle_lines(
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color: impl Into<Color>
)[src]
&mut self,
x: i32,
y: i32,
width: i32,
height: i32,
color: impl Into<Color>
)
fn draw_rectangle_lines_ex(
&mut self,
rec: impl Into<Rectangle>,
line_thick: i32,
color: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
line_thick: i32,
color: impl Into<Color>
)
fn draw_rectangle_rounded(
&mut self,
rec: impl Into<Rectangle>,
roundness: f32,
segments: i32,
color: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
roundness: f32,
segments: i32,
color: impl Into<Color>
)
fn draw_rectangle_rounded_lines(
&mut self,
rec: impl Into<Rectangle>,
roundness: f32,
segments: i32,
line_thickness: i32,
color: impl Into<Color>
)[src]
&mut self,
rec: impl Into<Rectangle>,
roundness: f32,
segments: i32,
line_thickness: i32,
color: impl Into<Color>
)
fn draw_triangle(
&mut self,
v1: impl Into<Vector2>,
v2: impl Into<Vector2>,
v3: impl Into<Vector2>,
color: impl Into<Color>
)[src]
&mut self,
v1: impl Into<Vector2>,
v2: impl Into<Vector2>,
v3: impl Into<Vector2>,
color: impl Into<Color>
)
fn draw_triangle_lines(
&mut self,
v1: impl Into<Vector2>,
v2: impl Into<Vector2>,
v3: impl Into<Vector2>,
color: impl Into<Color>
)[src]
&mut self,
v1: impl Into<Vector2>,
v2: impl Into<Vector2>,
v3: impl Into<Vector2>,
color: impl Into<Color>
)
fn draw_triangle_fan(&mut self, points: &[Vector2], color: impl Into<Color>)[src]
fn draw_triangle_strip(&mut self, points: &[Vector2], color: impl Into<Color>)[src]
fn draw_poly(
&mut self,
center: impl Into<Vector2>,
sides: i32,
radius: f32,
rotation: f32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
sides: i32,
radius: f32,
rotation: f32,
color: impl Into<Color>
)
fn draw_poly_lines(
&mut self,
center: impl Into<Vector2>,
sides: i32,
radius: f32,
rotation: f32,
color: impl Into<Color>
)[src]
&mut self,
center: impl Into<Vector2>,
sides: i32,
radius: f32,
rotation: f32,
color: impl Into<Color>
)
fn draw_texture(
&mut self,
texture: impl AsRef<Texture2D>,
x: i32,
y: i32,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
x: i32,
y: i32,
tint: impl Into<Color>
)
fn draw_texture_v(
&mut self,
texture: impl AsRef<Texture2D>,
position: impl Into<Vector2>,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
position: impl Into<Vector2>,
tint: impl Into<Color>
)
fn draw_texture_ex(
&mut self,
texture: impl AsRef<Texture2D>,
position: impl Into<Vector2>,
rotation: f32,
scale: f32,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
position: impl Into<Vector2>,
rotation: f32,
scale: f32,
tint: impl Into<Color>
)
fn draw_texture_rec(
&mut self,
texture: impl AsRef<Texture2D>,
source_rec: impl Into<Rectangle>,
position: impl Into<Vector2>,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
source_rec: impl Into<Rectangle>,
position: impl Into<Vector2>,
tint: impl Into<Color>
)
fn draw_texture_quad(
&mut self,
texture: impl AsRef<Texture2D>,
tiling: impl Into<Vector2>,
offset: impl Into<Vector2>,
quad: impl Into<Rectangle>,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
tiling: impl Into<Vector2>,
offset: impl Into<Vector2>,
quad: impl Into<Rectangle>,
tint: impl Into<Color>
)
fn draw_texture_pro(
&mut self,
texture: impl AsRef<Texture2D>,
source_rec: impl Into<Rectangle>,
dest_rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
source_rec: impl Into<Rectangle>,
dest_rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
tint: impl Into<Color>
)
fn draw_texture_n_patch(
&mut self,
texture: impl AsRef<Texture2D>,
n_patch_info: impl Into<NPatchInfo>,
dest_rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
tint: impl Into<Color>
)[src]
&mut self,
texture: impl AsRef<Texture2D>,
n_patch_info: impl Into<NPatchInfo>,
dest_rec: impl Into<Rectangle>,
origin: impl Into<Vector2>,
rotation: f32,
tint: impl Into<Color>
)
fn draw_fps(&mut self, x: i32, y: i32)[src]
fn draw_text(
&mut self,
text: &str,
x: i32,
y: i32,
font_size: i32,
color: impl Into<Color>
)[src]
&mut self,
text: &str,
x: i32,
y: i32,
font_size: i32,
color: impl Into<Color>
)
fn draw_text_ex(
&mut self,
font: impl AsRef<Font>,
text: &str,
position: impl Into<Vector2>,
font_size: f32,
spacing: f32,
tint: impl Into<Color>
)[src]
&mut self,
font: impl AsRef<Font>,
text: &str,
position: impl Into<Vector2>,
font_size: f32,
spacing: f32,
tint: impl Into<Color>
)
fn draw_text_rec(
&mut self,
font: impl AsRef<Font>,
text: &str,
rec: impl Into<Rectangle>,
font_size: f32,
spacing: f32,
word_wrap: bool,
tint: impl Into<Color>
)[src]
&mut self,
font: impl AsRef<Font>,
text: &str,
rec: impl Into<Rectangle>,
font_size: f32,
spacing: f32,
word_wrap: bool,
tint: impl Into<Color>
)
fn draw_text_rec_ex(
&mut self,
font: impl AsRef<Font>,
text: &str,
rec: impl Into<Rectangle>,
font_size: f32,
spacing: f32,
word_wrap: bool,
tint: impl Into<Color>,
select_start: i32,
select_length: i32,
select_text: impl Into<Color>,
select_back: impl Into<Color>
)[src]
&mut self,
font: impl AsRef<Font>,
text: &str,
rec: impl Into<Rectangle>,
font_size: f32,
spacing: f32,
word_wrap: bool,
tint: impl Into<Color>,
select_start: i32,
select_length: i32,
select_text: impl Into<Color>,
select_back: impl Into<Color>
)
fn draw_text_codepoint(
&mut self,
font: impl AsRef<Font>,
codepoint: i32,
position: impl Into<Vector2>,
scale: f32,
tint: impl Into<Color>
)[src]
&mut self,
font: impl AsRef<Font>,
codepoint: i32,
position: impl Into<Vector2>,
scale: f32,
tint: impl Into<Color>
)
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for RaylibVRMode<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for RaylibVRMode<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Sync for RaylibVRMode<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for RaylibVRMode<'a, T>
impl<'a, T> UnwindSafe for RaylibVRMode<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D> RaylibBlendModeExt for D where
D: RaylibDraw, [src]
D: RaylibDraw,
#[must_use]fn begin_blend_mode(
&mut self,
blend_mode: BlendMode
) -> RaylibBlendMode<'_, Self>[src]
&mut self,
blend_mode: BlendMode
) -> RaylibBlendMode<'_, Self>
impl<D> RaylibMode2DExt for D where
D: RaylibDraw, [src]
D: RaylibDraw,
#[must_use]fn begin_mode2D(
&mut self,
camera: impl Into<Camera2D>
) -> RaylibMode2D<'_, Self>[src]
&mut self,
camera: impl Into<Camera2D>
) -> RaylibMode2D<'_, Self>
impl<D> RaylibMode3DExt for D where
D: RaylibDraw, [src]
D: RaylibDraw,
#[must_use]fn begin_mode3D(
&mut self,
camera: impl Into<Camera3D>
) -> RaylibMode3D<'_, Self>[src]
&mut self,
camera: impl Into<Camera3D>
) -> RaylibMode3D<'_, Self>
impl<D> RaylibScissorModeExt for D where
D: RaylibDraw, [src]
D: RaylibDraw,
#[must_use]fn begin_scissor_mode(
&mut self,
x: i32,
y: i32,
width: i32,
height: i32
) -> RaylibScissorMode<'_, Self>[src]
&mut self,
x: i32,
y: i32,
width: i32,
height: i32
) -> RaylibScissorMode<'_, Self>
impl<D> RaylibShaderModeExt for D where
D: RaylibDraw, [src]
D: RaylibDraw,
#[must_use]fn begin_shader_mode<'a>(
&'a mut self,
shader: &'a Shader
) -> RaylibShaderMode<'_, Self>[src]
&'a mut self,
shader: &'a Shader
) -> RaylibShaderMode<'_, Self>
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,