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