pub struct ActivityProps {
pub animating: bool,
pub large: bool,
}Expand description
Full props (realize). Both are set at build; only animating patches thereafter.
Fields§
§animating: boolWhether the indicator is spinning (default true).
large: boolUse the platform’s large control size (default false).
Trait Implementations§
Source§impl Clone for ActivityProps
impl Clone for ActivityProps
Source§fn clone(&self) -> ActivityProps
fn clone(&self) -> ActivityProps
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 moreSource§impl Debug for ActivityProps
impl Debug for ActivityProps
Source§impl Default for ActivityProps
impl Default for ActivityProps
Source§impl PartialEq for ActivityProps
impl PartialEq for ActivityProps
Source§fn eq(&self, other: &ActivityProps) -> bool
fn eq(&self, other: &ActivityProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActivityProps
Auto Trait Implementations§
impl Freeze for ActivityProps
impl RefUnwindSafe for ActivityProps
impl Send for ActivityProps
impl Sync for ActivityProps
impl Unpin for ActivityProps
impl UnsafeUnpin for ActivityProps
impl UnwindSafe for ActivityProps
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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§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