Struct widgetry::CanvasSettings[][src]

pub struct CanvasSettings {
    pub invert_scroll: bool,
    pub touchpad_to_move: bool,
    pub edge_auto_panning: bool,
    pub keys_to_pan: bool,
    pub gui_scroll_speed: usize,
    pub canvas_scroll_speed: usize,
}

Fields

invert_scroll: booltouchpad_to_move: booledge_auto_panning: boolkeys_to_pan: boolgui_scroll_speed: usizecanvas_scroll_speed: usize

Implementations

impl CanvasSettings[src]

pub fn new() -> CanvasSettings[src]

Trait Implementations

impl Clone for CanvasSettings[src]

impl<'de> Deserialize<'de> for CanvasSettings[src]

impl Serialize for CanvasSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for CanvasSettings

impl Send for CanvasSettings

impl Sync for CanvasSettings

impl Unpin for CanvasSettings

impl UnwindSafe for CanvasSettings

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.