pub struct StickyOutput {
pub index: u32,
pub dx: f32,
pub dy: f32,
}Expand description
Round 2 (§2, §5): a node pinned by position: sticky (or a List’s
pinned section header): paint it (and its subtree) translated by
(dx, dy) on top of its frame, inside the same scroll translation as
its siblings. Only nodes that move are listed.
Fields§
§index: u32§dx: f32§dy: f32Trait Implementations§
Source§impl Clone for StickyOutput
impl Clone for StickyOutput
impl Copy for StickyOutput
Source§impl Debug for StickyOutput
impl Debug for StickyOutput
Source§impl<'de> Deserialize<'de> for StickyOutput
impl<'de> Deserialize<'de> for StickyOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StickyOutput
impl PartialEq for StickyOutput
Source§impl Serialize for StickyOutput
impl Serialize for StickyOutput
impl StructuralPartialEq for StickyOutput
Auto Trait Implementations§
impl Freeze for StickyOutput
impl RefUnwindSafe for StickyOutput
impl Send for StickyOutput
impl Sync for StickyOutput
impl Unpin for StickyOutput
impl UnsafeUnpin for StickyOutput
impl UnwindSafe for StickyOutput
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