[][src]Trait ringui::ControlGeometry

pub trait ControlGeometry {
    fn flexible() -> bool
    where
        Self: Sized
;
fn geometry(
        &self,
        container: Option<&Rect<f32>>
    ) -> Option<Vec<Vertex2DColor>>;
fn text_geometry(
        &self,
        container: Option<&Rect<f32>>
    ) -> Option<Vec<Vertex2DTex>>;
fn texture_geometry(
        &self,
        container: Option<&Rect<f32>>
    ) -> Option<Vec<Vertex2DTex>>;
fn font(&self) -> Option<&Ttf>;
fn color(&self) -> &Rgb<f32>;
fn position(&self) -> &Property<'static, Pnt2>;
fn width(&self) -> &Property<'static, f32>;
fn height(&self) -> &Property<'static, f32>; fn rect(&self) -> Rect<f32> { ... } }

Required Methods

Provided Methods

Trait Implementations

impl Render3d for dyn ControlGeometry
[src]

Implementors

impl ControlGeometry for GroupH
[src]

impl ControlGeometry for GroupV
[src]

impl ControlGeometry for Button
[src]

impl ControlGeometry for Graph
[src]

impl ControlGeometry for Label
[src]

impl ControlGeometry for Panel
[src]

impl ControlGeometry for Scrollbar
[src]

impl ControlGeometry for Separator
[src]

impl ControlGeometry for Tabs
[src]

impl ControlGeometry for Toggle
[src]

impl ControlGeometry for Tree
[src]

impl ControlGeometry for TreeFromDebug
[src]

impl<E: EnumIter + Clone> ControlGeometry for ListBox<E>
[src]

impl<E: EnumIter + Clone> ControlGeometry for ListBoxMulti<E>
[src]

impl<E: EnumIter + Clone> ControlGeometry for ListBoxOption<E>
[src]

impl<T: Clone + Debug + 'static> ControlGeometry for ReadnOnlyRange<T>
[src]

impl<T: Debug + Clone + 'static> ControlGeometry for Slider<T>
[src]

impl<T: FromStr + ToString + Clone + Debug + 'static> ControlGeometry for TextBox<T>
[src]