pub struct ScrollTarget {
pub path: Vec<usize>,
pub id: Option<String>,
pub bounds: Rect,
pub max_scroll_x: f32,
pub max_scroll_y: f32,
}Expand description
Internal descriptor of a scrollable target container under the cursor.
Fields§
§path: Vec<usize>§id: Option<String>§bounds: Rect§max_scroll_x: f32§max_scroll_y: f32Trait Implementations§
Source§impl Clone for ScrollTarget
impl Clone for ScrollTarget
Auto Trait Implementations§
impl Forget for ScrollTarget
impl Freeze for ScrollTarget
impl Move for ScrollTarget
impl RefUnwindSafe for ScrollTarget
impl Send for ScrollTarget
impl Sync for ScrollTarget
impl Unpin for ScrollTarget
impl UnsafeUnpin for ScrollTarget
impl UnwindSafe for ScrollTarget
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