[go: up one dir, main page]

Struct egui::style::Interaction[][src]

pub struct Interaction {
    pub resize_grab_radius_side: f32,
    pub resize_grab_radius_corner: f32,
    pub show_tooltips_only_when_still: bool,
}

Fields

resize_grab_radius_side: f32

Mouse must be the close to the side of a window to resize

resize_grab_radius_corner: f32

Mouse must be the close to the corner of a window to resize

show_tooltips_only_when_still: bool

If false, tooltips will show up anytime you hover anything, even is mouse is still moving

Implementations

impl Interaction[src]

pub fn ui(&mut self, ui: &mut Ui)[src]

Trait Implementations

impl Clone for Interaction[src]

impl Debug for Interaction[src]

impl Default for Interaction[src]

impl PartialEq<Interaction> for Interaction[src]

impl StructuralPartialEq for Interaction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.