Enum tiled::ObjectShape
[−]
[src]
pub enum ObjectShape { Rect { width: f32, height: f32, }, Ellipse { width: f32, height: f32, }, Polyline { points: Vec<(f32, f32)>, }, Polygon { points: Vec<(f32, f32)>, }, }
Variants
Rect
Fields of Rect
width: f32 | |
height: f32 |
Ellipse
Fields of Ellipse
width: f32 | |
height: f32 |
Polyline
Fields of Polyline
points: Vec<(f32, f32)> |
Polygon
Fields of Polygon
points: Vec<(f32, f32)> |
Trait Implementations
impl Debug for ObjectShape
[src]
impl PartialEq for ObjectShape
[src]
fn eq(&self, __arg_0: &ObjectShape) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ObjectShape) -> bool
This method tests for !=
.