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 for ScrollType
impl PartialEq for ScrollType
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 StructuralPartialEq for ScrollType
Auto Trait Implementations§
impl Freeze for ScrollType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§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>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more