pub struct ComboBoxPopoverGeometry {
pub popover_rect: Rect,
pub popover_pos: Pos2,
pub item_height: f32,
pub popover_height: f32,
pub popover_width: f32,
}Expand description
Resolved geometry for the popover dropdown list, clamped to screen boundaries.
Fields§
§popover_rect: RectOuter popover bounding box.
popover_pos: Pos2Popover top-left screen position.
item_height: f32Single row height in points.
popover_height: f32Total popover height in points.
popover_width: f32Total popover width in points.
Trait Implementations§
Source§impl Clone for ComboBoxPopoverGeometry
impl Clone for ComboBoxPopoverGeometry
impl Copy for ComboBoxPopoverGeometry
Source§impl Debug for ComboBoxPopoverGeometry
impl Debug for ComboBoxPopoverGeometry
Source§impl PartialEq for ComboBoxPopoverGeometry
impl PartialEq for ComboBoxPopoverGeometry
impl StructuralPartialEq for ComboBoxPopoverGeometry
Auto Trait Implementations§
impl Forget for ComboBoxPopoverGeometry
impl Freeze for ComboBoxPopoverGeometry
impl RefUnwindSafe for ComboBoxPopoverGeometry
impl Send for ComboBoxPopoverGeometry
impl Sync for ComboBoxPopoverGeometry
impl Unpin for ComboBoxPopoverGeometry
impl UnsafeUnpin for ComboBoxPopoverGeometry
impl UnwindSafe for ComboBoxPopoverGeometry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more