Struct respo::dialog::DrawerOptions
source · pub struct DrawerOptions<T>where
T: Debug + Clone,{
pub backdrop_style: RespoStyle,
pub card_style: RespoStyle,
pub title: Option<String>,
pub render: DrawerRenderer<T>,
}
Expand description
The options for custom drawer.
Fields§
§backdrop_style: RespoStyle
inline style for backdrop
card_style: RespoStyle
inline style for card
title: Option<String>
title of the drawer, defaults to drawer
render: DrawerRenderer<T>
render body
Trait Implementations§
source§impl<T> Clone for DrawerOptions<T>where
T: Debug + Clone + Clone,
impl<T> Clone for DrawerOptions<T>where T: Debug + Clone + Clone,
source§fn clone(&self) -> DrawerOptions<T>
fn clone(&self) -> DrawerOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> !RefUnwindSafe for DrawerOptions<T>
impl<T> !Send for DrawerOptions<T>
impl<T> !Sync for DrawerOptions<T>
impl<T> Unpin for DrawerOptions<T>
impl<T> !UnwindSafe for DrawerOptions<T>
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