pub struct EmptyStatePaint<'a> { /* private fields */ }Implementations§
Source§impl<'a> EmptyStatePaint<'a>
impl<'a> EmptyStatePaint<'a>
pub const fn new(title: &'a str, description: &'a str) -> Self
pub const fn icon(self, icon: IconGlyph) -> Self
pub const fn detail(self, detail: &'a str) -> Self
pub const fn background(self, color: Color) -> Self
pub const fn center_offset_y(self, offset: f32) -> Self
pub const fn reserve_action_space(self, reserve: bool) -> Self
Trait Implementations§
Source§impl<'a> Clone for EmptyStatePaint<'a>
impl<'a> Clone for EmptyStatePaint<'a>
impl<'a> Copy for EmptyStatePaint<'a>
Auto Trait Implementations§
impl<'a> Forget for EmptyStatePaint<'a>
impl<'a> Freeze for EmptyStatePaint<'a>
impl<'a> Move for EmptyStatePaint<'a>
impl<'a> RefUnwindSafe for EmptyStatePaint<'a>
impl<'a> Send for EmptyStatePaint<'a>
impl<'a> Sync for EmptyStatePaint<'a>
impl<'a> Unpin for EmptyStatePaint<'a>
impl<'a> UnsafeUnpin for EmptyStatePaint<'a>
impl<'a> UnwindSafe for EmptyStatePaint<'a>
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