pub struct MessagePlacement {
pub vertical: MessageVertical,
pub horizontal: MessageHorizontal,
}Expand description
Where a transient message is drawn, for an application that wants a place other than the design system’s.
Wherever it is, the message stays clear of the safe area and of the application’s own bars: a message at the bottom sits above a bottom tab bar, and one at the top below the top bar.
Fields§
§vertical: MessageVertical§horizontal: MessageHorizontalTrait Implementations§
Source§impl Clone for MessagePlacement
impl Clone for MessagePlacement
impl Copy for MessagePlacement
Source§impl Debug for MessagePlacement
impl Debug for MessagePlacement
impl Eq for MessagePlacement
Source§impl PartialEq for MessagePlacement
impl PartialEq for MessagePlacement
impl StructuralPartialEq for MessagePlacement
Auto Trait Implementations§
impl Forget for MessagePlacement
impl Freeze for MessagePlacement
impl Move for MessagePlacement
impl RefUnwindSafe for MessagePlacement
impl Send for MessagePlacement
impl Sync for MessagePlacement
impl Unpin for MessagePlacement
impl UnsafeUnpin for MessagePlacement
impl UnwindSafe for MessagePlacement
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