Enum dessin::ShapeType [−][src]
pub enum ShapeType { Drawing(Vec<Shape>), Text { text: String, align: TextAlign, font_size: f32, font_weight: FontWeight, }, Line { from: Vec2, to: Vec2, }, Circle { radius: f32, }, Arc { inner_radius: f32, outer_radius: f32, start_angle: Angle, end_angle: Angle, }, Image { data: ImageFormat, }, }
Variants
Show fields
Fields of Text
Show fields
Fields of Circle
radius: f32
Show fields
Fields of Image
data: ImageFormat
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShapeType
impl UnwindSafe for ShapeType
Blanket Implementations
Mutably borrows from an owned value. Read more