Enum atspi_common::ScrollType
source · pub enum ScrollType {
TopLeft,
BottomRight,
TopEdge,
BottomEdge,
LeftEdge,
RightEdge,
Anywhere,
}
Expand description
Enumeration used by interface the crate::interface::Interface::Accessible
to specify where an object should be placed on the screen when using scroll_to
.
Variants§
TopLeft
Scroll the object to the top left corner of the window.
BottomRight
Scroll the object to the bottom right corner of the window.
TopEdge
Scroll the object to the top edge of the window.
BottomEdge
Scroll the object to the bottom edge of the window.
LeftEdge
Scroll the object to the left edge of the window.
RightEdge
Scroll the object to the right edge of the window.
Anywhere
Scroll the object to application-dependent position on the window.
Trait Implementations§
source§impl Clone for ScrollType
impl Clone for ScrollType
source§fn clone(&self) -> ScrollType
fn clone(&self) -> ScrollType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScrollType
impl Debug for ScrollType
source§impl<'de> Deserialize<'de> for ScrollType
impl<'de> Deserialize<'de> for ScrollType
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<ScrollType> for ScrollType
impl PartialEq<ScrollType> for ScrollType
source§fn eq(&self, other: &ScrollType) -> bool
fn eq(&self, other: &ScrollType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ScrollType
impl Serialize for ScrollType
source§impl Type for ScrollType
impl Type for ScrollType
impl Copy for ScrollType
impl Eq for ScrollType
impl StructuralEq for ScrollType
impl StructuralPartialEq for ScrollType
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§
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
source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more