pub struct ProgressIndicatorDefaults;Expand description
Material Design 3 defaults for progress indicators.
Implementations§
Source§impl ProgressIndicatorDefaults
impl ProgressIndicatorDefaults
Sourcepub const LINEAR_INDICATOR_WIDTH: Dp
pub const LINEAR_INDICATOR_WIDTH: Dp
Default width for linear progress indicators.
Sourcepub const LINEAR_INDICATOR_HEIGHT: Dp
pub const LINEAR_INDICATOR_HEIGHT: Dp
Default height for linear progress indicators.
Sourcepub const LINEAR_TRACK_STOP_INDICATOR_SIZE: Dp
pub const LINEAR_TRACK_STOP_INDICATOR_SIZE: Dp
Default stop indicator size for linear progress indicators.
Sourcepub const LINEAR_INDICATOR_TRACK_GAP_SIZE: Dp
pub const LINEAR_INDICATOR_TRACK_GAP_SIZE: Dp
Default gap between the indicator and the track for linear indicators.
Sourcepub const STOP_INDICATOR_TRAILING_SPACE: Dp
pub const STOP_INDICATOR_TRAILING_SPACE: Dp
Maximum trailing inset for the stop indicator.
Sourcepub const CIRCULAR_INDICATOR_DIAMETER: Dp
pub const CIRCULAR_INDICATOR_DIAMETER: Dp
Default diameter for circular progress indicators.
Sourcepub const CIRCULAR_STROKE_WIDTH: Dp
pub const CIRCULAR_STROKE_WIDTH: Dp
Default stroke width for circular progress indicators.
Sourcepub const CIRCULAR_INDICATOR_TRACK_GAP_SIZE: Dp
pub const CIRCULAR_INDICATOR_TRACK_GAP_SIZE: Dp
Default gap between the indicator and the track for circular indicators.
Auto Trait Implementations§
impl Freeze for ProgressIndicatorDefaults
impl RefUnwindSafe for ProgressIndicatorDefaults
impl Send for ProgressIndicatorDefaults
impl Sync for ProgressIndicatorDefaults
impl Unpin for ProgressIndicatorDefaults
impl UnsafeUnpin for ProgressIndicatorDefaults
impl UnwindSafe for ProgressIndicatorDefaults
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.