pub struct Skeleton { /* private fields */ }Expand description
Implementations§
Source§impl Skeleton
impl Skeleton
Sourcepub fn shape(self, shape: SkeletonShape) -> Self
pub fn shape(self, shape: SkeletonShape) -> Self
Set shape
Sourcepub fn no_animate(self) -> Self
pub fn no_animate(self) -> Self
Disable animation
Trait Implementations§
Source§impl StyledView for Skeleton
impl StyledView for Skeleton
Source§fn remove_class(&mut self, class: &str)
fn remove_class(&mut self, class: &str)
Remove a CSS class
Source§fn toggle_class(&mut self, class: &str)
fn toggle_class(&mut self, class: &str)
Toggle a CSS class
Auto Trait Implementations§
impl Freeze for Skeleton
impl RefUnwindSafe for Skeleton
impl Send for Skeleton
impl Sync for Skeleton
impl Unpin for Skeleton
impl UnwindSafe for Skeleton
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