pub struct PresentSheetOptions {
pub id: String,
pub tint: Option<String>,
pub rows: Vec<SheetRow>,
}Expand description
Present a native Liquid Glass bottom sheet (iOS) with natively-rendered rows.
Fields§
§id: StringStable id reported in sheetRow / sheetDismissed events.
tint: Option<String>Hex accent #RRGGBB[AA] for badges / selection.
rows: Vec<SheetRow>Trait Implementations§
Source§impl Clone for PresentSheetOptions
impl Clone for PresentSheetOptions
Source§fn clone(&self) -> PresentSheetOptions
fn clone(&self) -> PresentSheetOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PresentSheetOptions
impl Debug for PresentSheetOptions
Source§impl<'de> Deserialize<'de> for PresentSheetOptions
impl<'de> Deserialize<'de> for PresentSheetOptions
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 PresentSheetOptions
impl RefUnwindSafe for PresentSheetOptions
impl Send for PresentSheetOptions
impl Sync for PresentSheetOptions
impl Unpin for PresentSheetOptions
impl UnsafeUnpin for PresentSheetOptions
impl UnwindSafe for PresentSheetOptions
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