pub struct DisplayListScrollFrame {
pub content_rect: LayoutRect,
pub scroll_id: ExternalScrollId,
pub scroll_tag: ScrollTagId,
pub frame: DisplayListFrame,
}
Fields§
§content_rect: LayoutRect
Bounding rect of the (overflowing) content of the scroll frame
scroll_id: ExternalScrollId
The scroll ID is the hash of the DOM node, so that scrolling positions can be tracked across multiple frames
scroll_tag: ScrollTagId
The scroll tag is used for hit-testing
frame: DisplayListFrame
Content + children of the scroll clip
Trait Implementations§
Source§impl Clone for DisplayListScrollFrame
impl Clone for DisplayListScrollFrame
Source§fn clone(&self) -> DisplayListScrollFrame
fn clone(&self) -> DisplayListScrollFrame
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 moreSource§impl Debug for DisplayListScrollFrame
impl Debug for DisplayListScrollFrame
Source§impl PartialEq for DisplayListScrollFrame
impl PartialEq for DisplayListScrollFrame
Source§impl PartialOrd for DisplayListScrollFrame
impl PartialOrd for DisplayListScrollFrame
impl StructuralPartialEq for DisplayListScrollFrame
Auto Trait Implementations§
impl Freeze for DisplayListScrollFrame
impl RefUnwindSafe for DisplayListScrollFrame
impl Send for DisplayListScrollFrame
impl Sync for DisplayListScrollFrame
impl Unpin for DisplayListScrollFrame
impl UnwindSafe for DisplayListScrollFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)