pub struct DrawerResponse {
pub response: Response,
pub closed: bool,
pub snap_point: DrawerSnapPoint,
}Expand description
Response from showing a drawer
Fields§
§response: ResponseThe UI response
closed: boolWhether the drawer was closed this frame
snap_point: DrawerSnapPointCurrent snap point (for partial open states)
Implementations§
Auto Trait Implementations§
impl Freeze for DrawerResponse
impl !RefUnwindSafe for DrawerResponse
impl Send for DrawerResponse
impl Sync for DrawerResponse
impl Unpin for DrawerResponse
impl UnsafeUnpin for DrawerResponse
impl !UnwindSafe for DrawerResponse
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