Struct xcb::render::Triangle
[−]
[src]
pub struct Triangle { pub base: xcb_render_triangle_t, }
Fields
base: xcb_render_triangle_t
Methods
impl Triangle
[src]
fn new(p1: Pointfix, p2: Pointfix, p3: Pointfix) -> Triangle
fn p1(&self) -> Pointfix
fn p2(&self) -> Pointfix
fn p3(&self) -> Pointfix
Trait Implementations
impl Copy for Triangle
[src]
impl Clone for Triangle
[src]
fn clone(&self) -> Triangle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more