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: bool
touchpad_to_move: bool
edge_auto_panning: bool
keys_to_pan: bool
gui_scroll_speed: usize
canvas_scroll_speed: usize
Implementations
impl CanvasSettings
[src]
impl CanvasSettings
[src]pub fn new() -> CanvasSettings
[src]
Trait Implementations
impl Clone for CanvasSettings
[src]
impl Clone for CanvasSettings
[src]fn clone(&self) -> CanvasSettings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CanvasSettings
[src]
impl<'de> Deserialize<'de> for CanvasSettings
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize 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> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,