Enum wayland_protocols::unstable::tablet::v1::server::zwp_tablet_tool_v1::Capability
source · #[repr(u32)]
pub enum Capability {
Tilt,
Pressure,
Distance,
Rotation,
Slider,
Wheel,
}
Expand description
capability flags for a tool
Describes extra capabilities on a tablet.
Any tool must provide x and y values, extra axes are device-specific.
Variants§
Tilt
Tilt axes
Pressure
Pressure axis
Distance
Distance axis
Rotation
Z-rotation axis
Slider
Slider axis
Wheel
Wheel axis
Implementations§
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
Returns a copy 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 more