[][src]Struct azul_core::display_list::SolvedLayout

pub struct SolvedLayout {
    pub solved_layout_cache: SolvedLayoutCache,
    pub gl_texture_cache: GlTextureCache,
}

Fields

solved_layout_cache: SolvedLayoutCachegl_texture_cache: GlTextureCache

Implementations

impl SolvedLayout[src]

pub fn new<U: FontImageApi>(
    epoch: Epoch,
    pipeline_id: PipelineId,
    full_window_state: &FullWindowState,
    gl_context: Rc<dyn Gl>,
    render_api: &mut U,
    app_resources: &mut AppResources,
    ui_states: &mut BTreeMap<DomId, UiState>,
    ui_descriptions: &mut BTreeMap<DomId, UiDescription>,
    insert_into_active_gl_textures: GlStoreImageFn,
    layout_func: LayoutFn,
    load_font_fn: LoadFontFn,
    load_image_fn: LoadImageFn
) -> Self
[src]

Does the layout, updates the image + font resources for the RenderAPI

Trait Implementations

impl Default for SolvedLayout[src]

Auto Trait Implementations

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<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.