pub struct ArrowOptions {
pub size: Size,
pub padding: Edges,
}Expand description
Arrow positioning options inspired by Floating UI’s arrow() middleware.
Fields§
§size: SizeArrow element size (in the same coordinate space as outer/anchor/content).
padding: EdgesPadding between the arrow and the floating element edges (useful for rounded corners).
Trait Implementations§
Source§impl Clone for ArrowOptions
impl Clone for ArrowOptions
Source§fn clone(&self) -> ArrowOptions
fn clone(&self) -> ArrowOptions
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 ArrowOptions
impl Debug for ArrowOptions
Source§impl PartialEq for ArrowOptions
impl PartialEq for ArrowOptions
impl Copy for ArrowOptions
impl StructuralPartialEq for ArrowOptions
Auto Trait Implementations§
impl Freeze for ArrowOptions
impl RefUnwindSafe for ArrowOptions
impl Send for ArrowOptions
impl Sync for ArrowOptions
impl Unpin for ArrowOptions
impl UnsafeUnpin for ArrowOptions
impl UnwindSafe for ArrowOptions
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