[−][src]Struct nuklear::CommandBuffer
Methods
impl CommandBuffer
[src]
pub fn stroke_line(
&mut self,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
line_thickness: f32,
color: Color
)
[src]
&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]
&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]
&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_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
line_thickness: f32,
color: Color
)
[src]
&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]
&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]
&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]
&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_multi_color(
&mut self,
arg2: Rect,
left: Color,
top: Color,
right: Color,
bottom: Color
)
[src]
&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_arc(
&mut self,
cx: f32,
cy: f32,
radius: f32,
a_min: f32,
a_max: f32,
color: Color
)
[src]
&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]
&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 push_scissor(&mut self, arg2: Rect)
[src]
pub fn draw_image(&mut self, arg2: Rect, arg3: &Image, arg4: Color)
[src]
pub fn draw_text(
&mut self,
arg2: Rect,
text: &str,
arg3: &UserFont,
arg4: Color,
arg5: Color
)
[src]
&mut self,
arg2: Rect,
text: &str,
arg3: &UserFont,
arg4: Color,
arg5: Color
)
Trait Implementations
impl Default for CommandBuffer
[src]
impl AsMut<nk_command_buffer> for CommandBuffer
[src]
fn as_mut(&mut self) -> &mut nk_command_buffer
[src]
impl AsMut<CommandBuffer> for nk_command_buffer
[src]
fn as_mut(&mut self) -> &mut CommandBuffer
[src]
impl AsRef<nk_command_buffer> for CommandBuffer
[src]
fn as_ref(&self) -> &nk_command_buffer
[src]
impl AsRef<CommandBuffer> for nk_command_buffer
[src]
fn as_ref(&self) -> &CommandBuffer
[src]
impl Clone for CommandBuffer
[src]
fn clone(&self) -> CommandBuffer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for CommandBuffer
impl !Sync for CommandBuffer
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,