pub struct InputModifiers {
pub zoom: String,
pub horizontal_scroll: String,
pub vertical_scroll: String,
}Expand description
The modifiers egui’s own scrolling follows (egui::InputOptions),
as chords’ modifiers (Ctrl, Shift, Alt+Shift; empty: none):
plain egui widgets (scroll areas) agree with the profile.
Fields§
§zoom: StringHeld: the wheel zooms instead of scrolling.
horizontal_scroll: StringHeld: the wheel scrolls horizontally.
vertical_scroll: StringHeld: the wheel scrolls vertically only.
Trait Implementations§
Source§impl Clone for InputModifiers
impl Clone for InputModifiers
Source§fn clone(&self) -> InputModifiers
fn clone(&self) -> InputModifiers
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 InputModifiers
impl Debug for InputModifiers
Source§impl<'de> Deserialize<'de> for InputModifierswhere
InputModifiers: Default,
impl<'de> Deserialize<'de> for InputModifierswhere
InputModifiers: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InputModifiers
impl Hash for InputModifiers
Source§impl PartialEq for InputModifiers
impl PartialEq for InputModifiers
Source§impl Serialize for InputModifiers
impl Serialize for InputModifiers
impl Eq for InputModifiers
impl StructuralPartialEq for InputModifiers
Auto Trait Implementations§
impl Freeze for InputModifiers
impl RefUnwindSafe for InputModifiers
impl Send for InputModifiers
impl Sync for InputModifiers
impl Unpin for InputModifiers
impl UnsafeUnpin for InputModifiers
impl UnwindSafe for InputModifiers
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