pub struct CircularProgressFrame {
pub rotation_degrees: f32,
pub sweep: f32,
}Expand description
A circular arc’s start in clockwise degrees from three o’clock and its fraction.
Fields§
§rotation_degrees: f32§sweep: f32Implementations§
Source§impl CircularProgressFrame
impl CircularProgressFrame
Sourcepub fn determinate(fraction: f32) -> Self
pub fn determinate(fraction: f32) -> Self
Measured progress begins at twelve o’clock. This does not animate the value.
Trait Implementations§
Source§impl Clone for CircularProgressFrame
impl Clone for CircularProgressFrame
Source§fn clone(&self) -> CircularProgressFrame
fn clone(&self) -> CircularProgressFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CircularProgressFrame
Source§impl Debug for CircularProgressFrame
impl Debug for CircularProgressFrame
Source§impl PartialEq for CircularProgressFrame
impl PartialEq for CircularProgressFrame
impl StructuralPartialEq for CircularProgressFrame
Auto Trait Implementations§
impl Freeze for CircularProgressFrame
impl RefUnwindSafe for CircularProgressFrame
impl Send for CircularProgressFrame
impl Sync for CircularProgressFrame
impl Unpin for CircularProgressFrame
impl UnsafeUnpin for CircularProgressFrame
impl UnwindSafe for CircularProgressFrame
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more