pub enum EmptyVariant {
Center,
Inline,
Drop,
Other(String),
}Expand description
An empty state’s look.
Variants§
Center
Icon, title, line and actions, centered (the default).
Inline
One row: icon, title, muted text, actions at the end.
Drop
A dashed zone that takes a dropped file.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for EmptyVariant
impl Clone for EmptyVariant
Source§impl Debug for EmptyVariant
impl Debug for EmptyVariant
Source§impl Display for EmptyVariant
impl Display for EmptyVariant
impl Eq for EmptyVariant
Source§impl From<&str> for EmptyVariant
impl From<&str> for EmptyVariant
Source§impl From<String> for EmptyVariant
impl From<String> for EmptyVariant
Source§impl Hash for EmptyVariant
impl Hash for EmptyVariant
Source§impl PartialEq for EmptyVariant
impl PartialEq for EmptyVariant
Source§impl Serialize for EmptyVariant
impl Serialize for EmptyVariant
impl StructuralPartialEq for EmptyVariant
Auto Trait Implementations§
impl Freeze for EmptyVariant
impl RefUnwindSafe for EmptyVariant
impl Send for EmptyVariant
impl Sync for EmptyVariant
impl Unpin for EmptyVariant
impl UnsafeUnpin for EmptyVariant
impl UnwindSafe for EmptyVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.