pub enum Orientation {
Horizontal,
Vertical,
}Expand description
How a container arranges its items, for the platform to announce
(AXOrientation, UIA’s Orientation). Derived from the container’s
dir and never declared: the layout is what arranges the items, so a
row that says it is a column would be a fact with two owners. It is an
announcement and not a gate — the arrows move both ways whatever this
says — so a container whose visual arrangement does not match its dir
costs a less precise announcement rather than a dead keyboard.
Variants§
Implementations§
Source§impl Orientation
impl Orientation
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
impl Copy for Orientation
Source§impl Debug for Orientation
impl Debug for Orientation
impl Eq for Orientation
Source§impl Hash for Orientation
impl Hash for Orientation
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.