Struct MouseButtonMask
pub struct MouseButtonMask { /* private fields */ }
Implementations§
§impl MouseButtonMask
impl MouseButtonMask
pub const LEFT: MouseButtonMask = _
pub const LEFT: MouseButtonMask = _
Godot enumerator name: MOUSE_BUTTON_MASK_LEFT
pub const RIGHT: MouseButtonMask = _
pub const RIGHT: MouseButtonMask = _
Godot enumerator name: MOUSE_BUTTON_MASK_RIGHT
pub const MIDDLE: MouseButtonMask = _
pub const MIDDLE: MouseButtonMask = _
Godot enumerator name: MOUSE_BUTTON_MASK_MIDDLE
pub const MB_XBUTTON1: MouseButtonMask = _
pub const MB_XBUTTON1: MouseButtonMask = _
Godot enumerator name: MOUSE_BUTTON_MASK_MB_XBUTTON1
pub const MB_XBUTTON2: MouseButtonMask = _
pub const MB_XBUTTON2: MouseButtonMask = _
Godot enumerator name: MOUSE_BUTTON_MASK_MB_XBUTTON2
Trait Implementations§
§impl BitOr<MouseButton> for MouseButtonMask
impl BitOr<MouseButton> for MouseButtonMask
§type Output = MouseButton
type Output = MouseButton
The resulting type after applying the
|
operator.§fn bitor(
self,
rhs: MouseButton,
) -> <MouseButtonMask as BitOr<MouseButton>>::Output
fn bitor( self, rhs: MouseButton, ) -> <MouseButtonMask as BitOr<MouseButton>>::Output
Performs the
|
operation. Read more§impl BitOr<MouseButtonMask> for MouseButton
impl BitOr<MouseButtonMask> for MouseButton
§type Output = MouseButton
type Output = MouseButton
The resulting type after applying the
|
operator.§fn bitor(
self,
rhs: MouseButtonMask,
) -> <MouseButton as BitOr<MouseButtonMask>>::Output
fn bitor( self, rhs: MouseButtonMask, ) -> <MouseButton as BitOr<MouseButtonMask>>::Output
Performs the
|
operation. Read more§impl BitOr for MouseButtonMask
impl BitOr for MouseButtonMask
§type Output = MouseButtonMask
type Output = MouseButtonMask
The resulting type after applying the
|
operator.§fn bitor(self, rhs: MouseButtonMask) -> <MouseButtonMask as BitOr>::Output
fn bitor(self, rhs: MouseButtonMask) -> <MouseButtonMask as BitOr>::Output
Performs the
|
operation. Read more§impl BitOrAssign<MouseButtonMask> for MouseButton
impl BitOrAssign<MouseButtonMask> for MouseButton
§fn bitor_assign(&mut self, rhs: MouseButtonMask)
fn bitor_assign(&mut self, rhs: MouseButtonMask)
Performs the
|=
operation. Read more§impl Clone for MouseButtonMask
impl Clone for MouseButtonMask
§fn clone(&self) -> MouseButtonMask
fn clone(&self) -> MouseButtonMask
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§impl Debug for MouseButtonMask
impl Debug for MouseButtonMask
§impl Default for MouseButtonMask
impl Default for MouseButtonMask
§fn default() -> MouseButtonMask
fn default() -> MouseButtonMask
Returns the “default value” for a type. Read more
§impl EngineBitfield for MouseButtonMask
impl EngineBitfield for MouseButtonMask
§impl FromGodot for MouseButtonMask
impl FromGodot for MouseButtonMask
§fn try_from_godot(
via: <MouseButtonMask as GodotConvert>::Via,
) -> Result<MouseButtonMask, ConvertError>
fn try_from_godot( via: <MouseButtonMask as GodotConvert>::Via, ) -> Result<MouseButtonMask, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for MouseButtonMask
impl GodotConvert for MouseButtonMask
§impl Hash for MouseButtonMask
impl Hash for MouseButtonMask
§impl PartialEq for MouseButtonMask
impl PartialEq for MouseButtonMask
§impl ToGodot for MouseButtonMask
impl ToGodot for MouseButtonMask
impl Copy for MouseButtonMask
impl Eq for MouseButtonMask
impl StructuralPartialEq for MouseButtonMask
Auto Trait Implementations§
impl Freeze for MouseButtonMask
impl RefUnwindSafe for MouseButtonMask
impl Send for MouseButtonMask
impl Sync for MouseButtonMask
impl Unpin for MouseButtonMask
impl UnwindSafe for MouseButtonMask
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