pub struct ComboBoxHeaderLayout {
pub total_rect: Rect,
pub button_rect: Rect,
pub text_rect: Rect,
pub corner_radius: f32,
}Expand description
Computed layout geometry for the combo box text field and trigger button header.
Fields§
§total_rect: RectOuter bounding rectangle.
Bounding rectangle for the right-hand dropdown trigger button.
text_rect: RectBounding rectangle for the editable text input field.
corner_radius: f32Resolved corner radius.
Trait Implementations§
Source§impl Clone for ComboBoxHeaderLayout
impl Clone for ComboBoxHeaderLayout
impl Copy for ComboBoxHeaderLayout
Source§impl Debug for ComboBoxHeaderLayout
impl Debug for ComboBoxHeaderLayout
Source§impl PartialEq for ComboBoxHeaderLayout
impl PartialEq for ComboBoxHeaderLayout
impl StructuralPartialEq for ComboBoxHeaderLayout
Auto Trait Implementations§
impl Forget for ComboBoxHeaderLayout
impl Freeze for ComboBoxHeaderLayout
impl RefUnwindSafe for ComboBoxHeaderLayout
impl Send for ComboBoxHeaderLayout
impl Sync for ComboBoxHeaderLayout
impl Unpin for ComboBoxHeaderLayout
impl UnsafeUnpin for ComboBoxHeaderLayout
impl UnwindSafe for ComboBoxHeaderLayout
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