Struct godot::global::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 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 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
§fn eq(&self, other: &MouseButtonMask) -> bool
fn eq(&self, other: &MouseButtonMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for MouseButtonMask
impl ToGodot for MouseButtonMask
§fn to_godot(&self) -> <MouseButtonMask as GodotConvert>::Via
fn to_godot(&self) -> <MouseButtonMask as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)