Struct webrender_api::display_list::SpatialNodeInfo
source · pub struct SpatialNodeInfo {
accumulated_external_scroll_offset: LayoutVector2D,
}
Expand description
A small portion of a normal spatial node that we store during DL construction to enable snapping and reference frame <-> stacking context coord mapping. In future we’ll aim to remove this and have the full spatial tree available during DL build.
Fields§
§accumulated_external_scroll_offset: LayoutVector2D
The total external scroll offset applicable at this node
Implementations§
Trait Implementations§
source§impl Clone for SpatialNodeInfo
impl Clone for SpatialNodeInfo
source§fn clone(&self) -> SpatialNodeInfo
fn clone(&self) -> SpatialNodeInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SpatialNodeInfo
impl Send for SpatialNodeInfo
impl Sync for SpatialNodeInfo
impl Unpin for SpatialNodeInfo
impl UnwindSafe for SpatialNodeInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more