[−][src]Struct azul_core::callbacks::ScrollPosition
Information about a scroll frame, given to the user by the framework
Fields
scroll_frame_rect: LayoutRect
How big is the scroll rect (i.e. the union of all children)?
parent_rect: LayoutedRectangle
How big is the parent container (so that things like "scroll to left edge" can be implemented)?
scroll_location: LayoutPoint
Where (measured from the top left corner) is the frame currently scrolled to?
Trait Implementations
impl Clone for ScrollPosition
[src]
fn clone(&self) -> ScrollPosition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ScrollPosition
[src]
impl Debug for ScrollPosition
[src]
impl PartialEq<ScrollPosition> for ScrollPosition
[src]
fn eq(&self, other: &ScrollPosition) -> bool
[src]
fn ne(&self, other: &ScrollPosition) -> bool
[src]
impl PartialOrd<ScrollPosition> for ScrollPosition
[src]
fn partial_cmp(&self, other: &ScrollPosition) -> Option<Ordering>
[src]
fn lt(&self, other: &ScrollPosition) -> bool
[src]
fn le(&self, other: &ScrollPosition) -> bool
[src]
fn gt(&self, other: &ScrollPosition) -> bool
[src]
fn ge(&self, other: &ScrollPosition) -> bool
[src]
impl StructuralPartialEq for ScrollPosition
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollPosition
impl Send for ScrollPosition
impl Sync for ScrollPosition
impl Unpin for ScrollPosition
impl UnwindSafe for ScrollPosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,