pub enum Depth {
Flat,
Raised,
Well,
}Expand description
How a region sits relative to the surface behind it.
Fill and bevel are named together because naming them apart is what let
them disagree. Every consumer measured had at least one region carrying a
raised bevel over a recessed fill: audiofiles fixed it in raised_frame
and recorded the bug in its doc comment, and Balanced Breakfast still had
twelve of them a year later. A single name for the pair makes that
unrepresentable.
Variants§
Flat
Level with its surroundings. No edge.
Raised
A card laid on the panel it sits in.
Well
A hole in the panel, with content down inside it. For anything the user looks into: a table body, a tag tree, a text field.
Implementations§
Trait Implementations§
impl Copy for Depth
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnsafeUnpin for Depth
impl UnwindSafe for Depth
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