Struct druid_shell::Modifiers [−][src]
pub struct Modifiers(_);
Expand description
The modifiers.
This type is a thin wrappers around keyboard_types::Modifiers
,
mostly for the convenience methods. If those get upstreamed, it
will simply become that type.
Implementations
Get the inner value.
Note that this function might go away if our changes are upstreamed.
Returns true
if all the modifiers in other
are set.
Trait Implementations
Performs the &=
operation. Read more
Performs the |=
operation. Read more
Performs the ^=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for Modifiers
impl UnwindSafe for Modifiers
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more