pub struct Spinner { /* private fields */ }Expand description
A loading indicator.
Implementations§
Source§impl Spinner
impl Spinner
pub fn new() -> Self
Sourcepub fn class(self, v: impl Into<String>) -> Self
pub fn class(self, v: impl Into<String>) -> Self
Extra classes for the outer element. They win over the defaults.
Sourcepub fn with(self, part: impl Part) -> Self
pub fn with(self, part: impl Part) -> Self
Add an attribute (class(..), id(..), aria(..), …) or a child.
pub fn color(self, v: Color) -> Self
pub fn size(self, v: Size) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Spinner
impl !Sync for Spinner
impl !UnwindSafe for Spinner
impl Forget for Spinner
impl Freeze for Spinner
impl Move for Spinner
impl Send for Spinner
impl Unpin for Spinner
impl UnsafeUnpin for Spinner
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