pub enum TextPosition {
CaptionOnly = 0,
IconOnly = 1,
Below = 2,
Above = 3,
Right = 4,
Left = 5,
Overlaid = 6,
}
Expand description
The position the text of the widget annotation’s caption relative to its icon.
Variants§
CaptionOnly = 0
Hide icon, show only caption.
IconOnly = 1
Hide caption, show only icon.
Below = 2
The caption should be placed below the icon.
Above = 3
The caption should be placed above the icon.
Right = 4
The caption should be placed to the right of the icon.
Left = 5
The caption should be placed to the left of the icon.
Overlaid = 6
The caption should be placed overlaid directly on the icon.
Trait Implementations§
source§impl Clone for TextPosition
impl Clone for TextPosition
source§fn clone(&self) -> TextPosition
fn clone(&self) -> TextPosition
Returns a copy of the value. Read more
1.6.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 TextPosition
impl Debug for TextPosition
source§impl Hash for TextPosition
impl Hash for TextPosition
source§impl PartialEq for TextPosition
impl PartialEq for TextPosition
impl Copy for TextPosition
impl Eq for TextPosition
impl StructuralPartialEq for TextPosition
Auto Trait Implementations§
impl Freeze for TextPosition
impl RefUnwindSafe for TextPosition
impl Send for TextPosition
impl Sync for TextPosition
impl Unpin for TextPosition
impl UnwindSafe for TextPosition
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§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
)