pub enum ProgressSize {
Compact,
Default,
Large,
}Expand description
Built-in geometry and typography choices for progress indicators.
§Examples
use ailloli_ui_widgets::controls::ProgressSize;
assert_eq!(ProgressSize::default(), ProgressSize::Default);Variants§
Compact
180 × 6 bar and 44-pixel ring with 11-pixel label text.
Default
220 × 8 bar and 58-pixel ring with 12-pixel label text.
Large
280 × 12 bar and 72-pixel ring with 14-pixel label text.
Trait Implementations§
Source§impl Clone for ProgressSize
impl Clone for ProgressSize
Source§fn clone(&self) -> ProgressSize
fn clone(&self) -> ProgressSize
Returns a copy of the value. Read more
1.0.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 ProgressSize
impl Debug for ProgressSize
Source§impl Default for ProgressSize
impl Default for ProgressSize
Source§fn default() -> ProgressSize
fn default() -> ProgressSize
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgressSize
impl PartialEq for ProgressSize
impl Copy for ProgressSize
impl Eq for ProgressSize
impl StructuralPartialEq for ProgressSize
Auto Trait Implementations§
impl Freeze for ProgressSize
impl RefUnwindSafe for ProgressSize
impl Send for ProgressSize
impl Sync for ProgressSize
impl Unpin for ProgressSize
impl UnwindSafe for ProgressSize
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.