pub struct EmptyStateBuilder {
pub icon: Option<IconName>,
pub title: Option<&'static str>,
pub description: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub class: Option<&'static str>,
pub __strata_key: Option<String>,
}Fields§
§icon: Option<IconName>§title: Option<&'static str>§description: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§class: Option<&'static str>§__strata_key: Option<String>Implementations§
Source§impl EmptyStateBuilder
impl EmptyStateBuilder
pub fn icon(self, val: impl Into<Option<IconName>>) -> Self
pub fn title(self, val: impl Into<&'static str>) -> Self
pub fn description(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, val: impl Into<Option<Vec<NodeBlueprint>>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EmptyStateBuilder
impl !Send for EmptyStateBuilder
impl !Sync for EmptyStateBuilder
impl !UnwindSafe for EmptyStateBuilder
impl Forget for EmptyStateBuilder
impl Freeze for EmptyStateBuilder
impl Move for EmptyStateBuilder
impl Unpin for EmptyStateBuilder
impl UnsafeUnpin for EmptyStateBuilder
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