[][src]Struct conrod_floatwin::windowing_area::WindowingArea

pub struct WindowingArea<'a> {
    pub common: CommonBuilder,
    pub style: Style,
    pub windowing_state: &'a mut WindowingState,
    pub hidpi_factor: f64,
    pub enable_debug: bool,
}

Fields

common: CommonBuilderstyle: Stylewindowing_state: &'a mut WindowingStatehidpi_factor: f64enable_debug: bool

Implementations

impl<'a> WindowingArea<'a>[src]

pub fn new(windowing_state: &'a mut WindowingState, hidpi_factor: f64) -> Self[src]

pub fn with_debug(self, enabled: bool) -> Self[src]

Trait Implementations

impl<'a> Common for WindowingArea<'a>[src]

impl<'a> Widget for WindowingArea<'a>[src]

type State = State

State to be stored within the Uis widget cache. Read more

type Style = Style

Every widget is required to have its own associated Style type. This type is intended to contain high-level styling information for the widget that can be optionally specified by a user of the widget. Read more

type Event = WindowingContext<'a>

The type of event yielded by the widget, returned via the Widget::set function. Read more

Auto Trait Implementations

impl<'a> RefUnwindSafe for WindowingArea<'a>

impl<'a> Send for WindowingArea<'a>

impl<'a> Sync for WindowingArea<'a>

impl<'a> Unpin for WindowingArea<'a>

impl<'a> !UnwindSafe for WindowingArea<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<W> Positionable for W where
    W: Widget
[src]

impl<W> Sizeable for W where
    W: Widget
[src]

fn get_x_dimension(&self, ui: &Ui) -> Dimension[src]

We attempt to retrieve the x Dimension for the widget via the following:

  • Check for specified value at maybe_x_dimension
  • Otherwise, use the default returned by Widget::default_x_dimension.

fn get_y_dimension(&self, ui: &Ui) -> Dimension[src]

We attempt to retrieve the y Dimension for the widget via the following:

  • Check for specified value at maybe_y_dimension
  • Otherwise, use the default returned by Widget::default_y_dimension.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.