#[repr(C)]pub struct Sheet {
pub title: String,
pub child: Box<Widget>,
pub on_dismiss: ActionToken,
}Expand description
A modal bottom sheet anchored over the scaffold body (a scrim behind, a panel rising from
the bottom). Present (Some) ⇒ open; tapping the scrim/handle sends on_dismiss.
Fields§
§title: String§child: Box<Widget>§on_dismiss: ActionTokenTrait Implementations§
Source§impl<'de> Deserialize<'de> for Sheet
impl<'de> Deserialize<'de> for Sheet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnsafeUnpin for Sheet
impl UnwindSafe for Sheet
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