pub struct FloatingPillSlot<'a> {
pub label: &'a str,
pub icon: Option<MaterialIcon>,
}Expand description
Slot descriptor for Frame::floating_pill_app_bar (icon: None delegates to custom_slot).
Fields§
§label: &'a str§icon: Option<MaterialIcon>Trait Implementations§
Source§impl<'a> Clone for FloatingPillSlot<'a>
impl<'a> Clone for FloatingPillSlot<'a>
impl<'a> Copy for FloatingPillSlot<'a>
Auto Trait Implementations§
impl<'a> Forget for FloatingPillSlot<'a>
impl<'a> Freeze for FloatingPillSlot<'a>
impl<'a> Move for FloatingPillSlot<'a>
impl<'a> RefUnwindSafe for FloatingPillSlot<'a>
impl<'a> Send for FloatingPillSlot<'a>
impl<'a> Sync for FloatingPillSlot<'a>
impl<'a> Unpin for FloatingPillSlot<'a>
impl<'a> UnsafeUnpin for FloatingPillSlot<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for FloatingPillSlot<'a>where
&'a str: UnwindSafe,
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