Struct nuklear::CommandBuffer [−][src]
#[repr(C)]pub struct CommandBuffer { /* fields omitted */ }
Methods
impl CommandBuffer[src]
impl CommandBufferpub fn stroke_line(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
line_thickness: f32,
color: Color
)[src]
pub fn stroke_line(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
line_thickness: f32,
color: Color
)pub fn stroke_curve(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
x3: f32,
y3: f32,
line_thickness: f32,
color: Color
)[src]
pub fn stroke_curve(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
x3: f32,
y3: f32,
line_thickness: f32,
color: Color
)pub fn stroke_rect(
&mut self,
bounds: Rect,
rounding: f32,
line_thickness: f32,
color: Color
)[src]
pub fn stroke_rect(
&mut self,
bounds: Rect,
rounding: f32,
line_thickness: f32,
color: Color
)pub fn stroke_circle(&mut self, arg2: Rect, line_thickness: f32, color: Color)[src]
pub fn stroke_circle(&mut self, arg2: Rect, line_thickness: f32, color: Color)pub fn stroke_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
line_thickness: f32,
color: Color
)[src]
pub fn stroke_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
line_thickness: f32,
color: Color
)pub fn stroke_triangle(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
line_thichness: f32,
color: Color
)[src]
pub fn stroke_triangle(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
line_thichness: f32,
color: Color
)pub fn stroke_polyline(
&mut self,
points: &mut [f32],
line_thickness: f32,
color: Color
)[src]
pub fn stroke_polyline(
&mut self,
points: &mut [f32],
line_thickness: f32,
color: Color
)pub fn stroke_polygon(
&mut self,
points: &mut [f32],
line_thickness: f32,
color: Color
)[src]
pub fn stroke_polygon(
&mut self,
points: &mut [f32],
line_thickness: f32,
color: Color
)pub fn fill_rect(&mut self, arg2: Rect, rounding: f32, color: Color)[src]
pub fn fill_rect(&mut self, arg2: Rect, rounding: f32, color: Color)pub fn fill_rect_multi_color(
&mut self,
arg2: Rect,
left: Color,
top: Color,
right: Color,
bottom: Color
)[src]
pub fn fill_rect_multi_color(
&mut self,
arg2: Rect,
left: Color,
top: Color,
right: Color,
bottom: Color
)pub fn fill_circle(&mut self, arg2: Rect, color: Color)[src]
pub fn fill_circle(&mut self, arg2: Rect, color: Color)pub fn fill_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
color: Color
)[src]
pub fn fill_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
color: Color
)pub fn fill_triangle(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
color: Color
)[src]
pub fn fill_triangle(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
x2: f32,
y2: f32,
color: Color
)pub fn fill_polygon(&mut self, points: &mut [f32], color: Color)[src]
pub fn fill_polygon(&mut self, points: &mut [f32], color: Color)pub fn push_scissor(&mut self, arg2: Rect)[src]
pub fn push_scissor(&mut self, arg2: Rect)pub fn draw_image(&mut self, arg2: Rect, arg3: &Image, arg4: Color)[src]
pub fn draw_image(&mut self, arg2: Rect, arg3: &Image, arg4: Color)pub fn draw_text(
&mut self,
arg2: Rect,
text: &str,
arg3: &UserFont,
arg4: Color,
arg5: Color
)[src]
pub fn draw_text(
&mut self,
arg2: Rect,
text: &str,
arg3: &UserFont,
arg4: Color,
arg5: Color
)Trait Implementations
impl Clone for CommandBuffer[src]
impl Clone for CommandBufferfn clone(&self) -> CommandBuffer[src]
fn clone(&self) -> CommandBufferReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for CommandBuffer[src]
impl Debug for CommandBufferfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<nk_command_buffer> for CommandBuffer[src]
impl AsRef<nk_command_buffer> for CommandBufferfn as_ref(&self) -> &nk_command_buffer[src]
fn as_ref(&self) -> &nk_command_bufferPerforms the conversion.
impl AsMut<nk_command_buffer> for CommandBuffer[src]
impl AsMut<nk_command_buffer> for CommandBufferfn as_mut(&mut self) -> &mut nk_command_buffer[src]
fn as_mut(&mut self) -> &mut nk_command_bufferPerforms the conversion.
impl AsRef<CommandBuffer> for nk_command_buffer[src]
impl AsRef<CommandBuffer> for nk_command_bufferfn as_ref(&self) -> &CommandBuffer[src]
fn as_ref(&self) -> &CommandBufferPerforms the conversion.
impl AsMut<CommandBuffer> for nk_command_buffer[src]
impl AsMut<CommandBuffer> for nk_command_bufferfn as_mut(&mut self) -> &mut CommandBuffer[src]
fn as_mut(&mut self) -> &mut CommandBufferPerforms the conversion.
impl Default for CommandBuffer[src]
impl Default for CommandBufferAuto Trait Implementations
impl !Send for CommandBuffer
impl !Send for CommandBufferimpl !Sync for CommandBuffer
impl !Sync for CommandBuffer