[−][src]Struct azul_core::window::WindowInternal
Fields
document_id: DocumentId
A "document" in WebRender usually corresponds to one tab (i.e. in Azuls case, the whole window).
pipeline_id: PipelineId
One "document" (tab) can have multiple "pipelines" (important for hit-testing).
A document can have multiple pipelines, for example in Firefox the tab / navigation bar, the actual browser window and the inspector are seperate pipelines, but contained in one document. In Azul, one pipeline = one document (this could be improved later on).
epoch: Epoch
The "epoch" is a frame counter, to remove outdated images, fonts and OpenGL textures when they're not in use anymore.
cached_display_list: CachedDisplayList
Current display list active in this window (useful for debugging)
layout_result: SolvedLayoutCache
Currently active, layouted rectangles
gl_texture_cache: GlTextureCache
Currently GL textures inside the active CachedDisplayList
scrolled_nodes: BTreeMap<DomId, ScrolledNodes>
Current scroll states of nodes (x and y position of where they are scrolled)
scroll_states: ScrollStates
States of scrolling animations, updated every frame
Implementations
impl WindowInternal
[src]
pub fn get_current_scroll_states(
&self,
ui_states: &BTreeMap<DomId, UiState>
) -> BTreeMap<DomId, BTreeMap<NodeId, ScrollPosition>>
[src]
&self,
ui_states: &BTreeMap<DomId, UiState>
) -> BTreeMap<DomId, BTreeMap<NodeId, ScrollPosition>>
Returns a copy of the current scroll states + scroll positions
Auto Trait Implementations
impl RefUnwindSafe for WindowInternal
impl Send for WindowInternal
impl Sync for WindowInternal
impl Unpin for WindowInternal
impl UnwindSafe for WindowInternal
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,