pub enum ControlAffinity {
Leading,
Trailing,
}Expand description
Which side the chevron sits on — the reference’s ListTileControlAffinity.
Variants§
Leading
In front of the title, where a checkbox would go. What a file tree wants: the chevrons line up down the left and the indentation reads as a hierarchy.
Trailing
After it, at the end of the row. The reference’s default, and this one’s.
Trait Implementations§
Source§impl Clone for ControlAffinity
impl Clone for ControlAffinity
impl Copy for ControlAffinity
Source§impl Debug for ControlAffinity
impl Debug for ControlAffinity
Source§impl Default for ControlAffinity
impl Default for ControlAffinity
impl Eq for ControlAffinity
Source§impl PartialEq for ControlAffinity
impl PartialEq for ControlAffinity
impl StructuralPartialEq for ControlAffinity
Auto Trait Implementations§
impl Freeze for ControlAffinity
impl RefUnwindSafe for ControlAffinity
impl Send for ControlAffinity
impl Sync for ControlAffinity
impl Unpin for ControlAffinity
impl UnsafeUnpin for ControlAffinity
impl UnwindSafe for ControlAffinity
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