Struct conrod::render::Primitive[][src]

pub struct Primitive<'a> {
    pub id: Id,
    pub kind: PrimitiveKind<'a>,
    pub scizzor: Rect,
    pub rect: Rect,

Data required for rendering a single primitive widget.


The id of the widget within the widget graph.

State and style for this primitive widget.

The Rect to which the primitive widget should be cropped.

Only parts of the widget within this Rect should be drawn.

The bounding rectangle for the Primitive.

Auto Trait Implementations

impl<'a> !Send for Primitive<'a>

impl<'a> !Sync for Primitive<'a>