pub struct ScrollAncestor {
pub ordinal: u32,
pub bounds: Rect,
pub content_bounds: Rect,
pub translation: Vector,
}Expand description
A scrollable enclosing a node.
Fields§
§ordinal: u32Its position among scrollable callbacks across the interface.
bounds: RectIts bounds in window coordinates.
content_bounds: RectIts content’s bounds.
translation: VectorIts scroll translation.
Trait Implementations§
Source§impl Clone for ScrollAncestor
impl Clone for ScrollAncestor
impl Copy for ScrollAncestor
Source§impl Debug for ScrollAncestor
impl Debug for ScrollAncestor
Source§impl<'de> Deserialize<'de> for ScrollAncestor
impl<'de> Deserialize<'de> for ScrollAncestor
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 ScrollAncestor
impl PartialEq for ScrollAncestor
Source§impl Serialize for ScrollAncestor
impl Serialize for ScrollAncestor
impl StructuralPartialEq for ScrollAncestor
Auto Trait Implementations§
impl Forget for ScrollAncestor
impl Freeze for ScrollAncestor
impl Move for ScrollAncestor
impl RefUnwindSafe for ScrollAncestor
impl Send for ScrollAncestor
impl Sync for ScrollAncestor
impl Unpin for ScrollAncestor
impl UnsafeUnpin for ScrollAncestor
impl UnwindSafe for ScrollAncestor
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