Enum atk::ScrollType [−][src]
#[non_exhaustive] pub enum ScrollType { TopLeft, BottomRight, TopEdge, BottomEdge, LeftEdge, RightEdge, Anywhere, // some variants omitted }
v2_30
only.Expand description
Specifies where an object should be placed on the screen when using scroll_to.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Scroll the object vertically and horizontally to bring its top left corner to the top left corner of the window.
Scroll the object vertically and horizontally to bring its bottom right corner to the bottom right corner of the window.
Scroll the object vertically to bring its top edge to the top edge of the window.
Scroll the object vertically to bring its bottom edge to the bottom edge of the window.
Scroll the object vertically and horizontally to bring its left edge to the left edge of the window.
Scroll the object vertically and horizontally to bring its right edge to the right edge of the window.
Scroll the object vertically and horizontally so that as much as possible of the object becomes visible. The exact placement is determined by the application.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for ScrollType
impl Send for ScrollType
impl Sync for ScrollType
impl Unpin for ScrollType
impl UnwindSafe for ScrollType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.