pub enum ArrowSide {
Leading,
Trailing,
}Expand description
Which end of an expander’s header row its disclosure arrow sits at.
A platform convention, like
DialogButtonOrder: KDE’s
KCollapsibleGroupBox and macOS’s disclosure triangle lead the title,
libadwaita’s AdwExpanderRow and WinUI’s Expander end the row with it
(docs/platform-facts.md §2.27, arrow_side). Leading and trailing are
the reading direction’s: left and right in a left-to-right layout.
Variants§
Leading
Before the title, at the row’s start – KDE, macOS.
Trailing
After the title, at the row’s end – GNOME, Windows.
Trait Implementations§
impl Copy for ArrowSide
Source§impl<'de> Deserialize<'de> for ArrowSide
impl<'de> Deserialize<'de> for ArrowSide
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
impl Eq for ArrowSide
impl StructuralPartialEq for ArrowSide
Auto Trait Implementations§
impl Freeze for ArrowSide
impl RefUnwindSafe for ArrowSide
impl Send for ArrowSide
impl Sync for ArrowSide
impl Unpin for ArrowSide
impl UnsafeUnpin for ArrowSide
impl UnwindSafe for ArrowSide
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