pub struct FloatSpec {
pub anchor: FloatAnchor,
pub dismiss: FloatDismiss,
pub modal: bool,
}Expand description
Minimal semantics carried only by float surfaces (§1.1).
Fields§
§anchor: FloatAnchor§dismiss: FloatDismiss§modal: boolWhether it blocks input to layers below (drives focus-restore, §1.5).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FloatSpec
impl<'de> Deserialize<'de> for FloatSpec
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 StructuralPartialEq for FloatSpec
Auto Trait Implementations§
impl Freeze for FloatSpec
impl RefUnwindSafe for FloatSpec
impl Send for FloatSpec
impl Sync for FloatSpec
impl Unpin for FloatSpec
impl UnsafeUnpin for FloatSpec
impl UnwindSafe for FloatSpec
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