pub enum Popup {
IsOpen(Property),
Direction(PopupDirection),
Size(u32, u32),
Offset(u32),
}Expand description
Attributes associated with controlling a popup
Variants§
IsOpen(Property)
Whether or not this popup is open (popups are closed by default)
Direction(PopupDirection)
The direction in which this popup should appear relative to its parent control
Size(u32, u32)
The size in pixels of this popup
Offset(u32)
The offset in pixels for the popup along the direction it’s opening in
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Popup
impl<'de> Deserialize<'de> for Popup
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 Popup
Auto Trait Implementations§
impl Freeze for Popup
impl RefUnwindSafe for Popup
impl Send for Popup
impl Sync for Popup
impl Unpin for Popup
impl UnsafeUnpin for Popup
impl UnwindSafe for Popup
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