Struct CursorShape
pub struct CursorShape { /* private fields */ }
Implementations§
§impl CursorShape
impl CursorShape
pub const ARROW: CursorShape
pub const ARROW: CursorShape
Godot enumerator name: CURSOR_ARROW
pub const IBEAM: CursorShape
pub const IBEAM: CursorShape
Godot enumerator name: CURSOR_IBEAM
pub const POINTING_HAND: CursorShape
pub const POINTING_HAND: CursorShape
Godot enumerator name: CURSOR_POINTING_HAND
pub const CROSS: CursorShape
pub const CROSS: CursorShape
Godot enumerator name: CURSOR_CROSS
pub const WAIT: CursorShape
pub const WAIT: CursorShape
Godot enumerator name: CURSOR_WAIT
pub const BUSY: CursorShape
pub const BUSY: CursorShape
Godot enumerator name: CURSOR_BUSY
pub const DRAG: CursorShape
pub const DRAG: CursorShape
Godot enumerator name: CURSOR_DRAG
pub const CAN_DROP: CursorShape
pub const CAN_DROP: CursorShape
Godot enumerator name: CURSOR_CAN_DROP
pub const FORBIDDEN: CursorShape
pub const FORBIDDEN: CursorShape
Godot enumerator name: CURSOR_FORBIDDEN
pub const VSIZE: CursorShape
pub const VSIZE: CursorShape
Godot enumerator name: CURSOR_VSIZE
pub const HSIZE: CursorShape
pub const HSIZE: CursorShape
Godot enumerator name: CURSOR_HSIZE
pub const BDIAGSIZE: CursorShape
pub const BDIAGSIZE: CursorShape
Godot enumerator name: CURSOR_BDIAGSIZE
pub const FDIAGSIZE: CursorShape
pub const FDIAGSIZE: CursorShape
Godot enumerator name: CURSOR_FDIAGSIZE
pub const MOVE: CursorShape
pub const MOVE: CursorShape
Godot enumerator name: CURSOR_MOVE
pub const VSPLIT: CursorShape
pub const VSPLIT: CursorShape
Godot enumerator name: CURSOR_VSPLIT
pub const HSPLIT: CursorShape
pub const HSPLIT: CursorShape
Godot enumerator name: CURSOR_HSPLIT
pub const HELP: CursorShape
pub const HELP: CursorShape
Godot enumerator name: CURSOR_HELP
pub const MAX: CursorShape
pub const MAX: CursorShape
Godot enumerator name: CURSOR_MAX
Trait Implementations§
§impl Clone for CursorShape
impl Clone for CursorShape
§fn clone(&self) -> CursorShape
fn clone(&self) -> CursorShape
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 CursorShape
impl Debug for CursorShape
§impl EngineEnum for CursorShape
impl EngineEnum for CursorShape
§impl FromGodot for CursorShape
impl FromGodot for CursorShape
§fn try_from_godot(
via: <CursorShape as GodotConvert>::Via,
) -> Result<CursorShape, ConvertError>
fn try_from_godot( via: <CursorShape as GodotConvert>::Via, ) -> Result<CursorShape, 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 CursorShape
impl GodotConvert for CursorShape
§impl Hash for CursorShape
impl Hash for CursorShape
§impl IndexEnum for CursorShape
impl IndexEnum for CursorShape
§impl PartialEq for CursorShape
impl PartialEq for CursorShape
§impl ToGodot for CursorShape
impl ToGodot for CursorShape
impl Copy for CursorShape
impl Eq for CursorShape
impl StructuralPartialEq for CursorShape
Auto Trait Implementations§
impl Freeze for CursorShape
impl RefUnwindSafe for CursorShape
impl Send for CursorShape
impl Sync for CursorShape
impl Unpin for CursorShape
impl UnwindSafe for CursorShape
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