pub struct SurfaceInteraction {
pub close_button: bool,
pub dismiss: FloatDismiss,
pub modal: bool,
}Expand description
User interaction contract for a dynamically presented surface.
Fields§
§dismiss: FloatDismiss§modal: boolImplementations§
Trait Implementations§
Source§impl Clone for SurfaceInteraction
impl Clone for SurfaceInteraction
Source§fn clone(&self) -> SurfaceInteraction
fn clone(&self) -> SurfaceInteraction
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 moreimpl Copy for SurfaceInteraction
Source§impl Debug for SurfaceInteraction
impl Debug for SurfaceInteraction
Source§impl Default for SurfaceInteraction
impl Default for SurfaceInteraction
Source§impl<'de> Deserialize<'de> for SurfaceInteraction
impl<'de> Deserialize<'de> for SurfaceInteraction
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
impl Eq for SurfaceInteraction
Source§impl PartialEq for SurfaceInteraction
impl PartialEq for SurfaceInteraction
Source§impl Serialize for SurfaceInteraction
impl Serialize for SurfaceInteraction
impl StructuralPartialEq for SurfaceInteraction
Auto Trait Implementations§
impl Freeze for SurfaceInteraction
impl RefUnwindSafe for SurfaceInteraction
impl Send for SurfaceInteraction
impl Sync for SurfaceInteraction
impl Unpin for SurfaceInteraction
impl UnsafeUnpin for SurfaceInteraction
impl UnwindSafe for SurfaceInteraction
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