pub struct SelectItemAlignedInputs {Show 17 fields
pub direction: LayoutDirection,
pub window: Rect,
pub trigger: Rect,
pub content: Rect,
pub value_node: Rect,
pub selected_item_text: Rect,
pub selected_item: Rect,
pub viewport: Rect,
pub content_border_top: Px,
pub content_padding_top: Px,
pub content_border_bottom: Px,
pub content_padding_bottom: Px,
pub viewport_padding_top: Px,
pub viewport_padding_bottom: Px,
pub selected_item_is_first: bool,
pub selected_item_is_last: bool,
pub items_height: Px,
}Fields§
§direction: LayoutDirection§window: Rect§trigger: Rect§content: RectThe last known content panel rect (used to keep width stable across repositioning).
value_node: RectTrigger value node rect (the text node that displays the selected value).
selected_item_text: RectSelected item’s text rect inside the content.
selected_item: RectSelected item (row) rect inside the content.
viewport: RectThe listbox/viewport rect that establishes scroll offsets for items.
content_border_top: Px§content_padding_top: Px§content_border_bottom: Px§content_padding_bottom: Px§viewport_padding_top: Px§viewport_padding_bottom: Px§selected_item_is_first: boolWhether the alignment item is the first selectable item (Radix items[0]).
selected_item_is_last: boolWhether the alignment item is the last selectable item (Radix items[items.length - 1]).
items_height: PxScrollable height of all items (Radix viewport.scrollHeight).
Trait Implementations§
Source§impl Clone for SelectItemAlignedInputs
impl Clone for SelectItemAlignedInputs
Source§fn clone(&self) -> SelectItemAlignedInputs
fn clone(&self) -> SelectItemAlignedInputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectItemAlignedInputs
impl Debug for SelectItemAlignedInputs
impl Copy for SelectItemAlignedInputs
Auto Trait Implementations§
impl Freeze for SelectItemAlignedInputs
impl RefUnwindSafe for SelectItemAlignedInputs
impl Send for SelectItemAlignedInputs
impl Sync for SelectItemAlignedInputs
impl Unpin for SelectItemAlignedInputs
impl UnsafeUnpin for SelectItemAlignedInputs
impl UnwindSafe for SelectItemAlignedInputs
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