Struct TargetRayMode
pub struct TargetRayMode { /* private fields */ }
Implementations§
§impl TargetRayMode
impl TargetRayMode
pub const UNKNOWN: TargetRayMode = _
pub const UNKNOWN: TargetRayMode = _
Godot enumerator name: TARGET_RAY_MODE_UNKNOWN
pub const GAZE: TargetRayMode = _
pub const GAZE: TargetRayMode = _
Godot enumerator name: TARGET_RAY_MODE_GAZE
pub const TRACKED_POINTER: TargetRayMode = _
pub const TRACKED_POINTER: TargetRayMode = _
Godot enumerator name: TARGET_RAY_MODE_TRACKED_POINTER
pub const SCREEN: TargetRayMode = _
pub const SCREEN: TargetRayMode = _
Godot enumerator name: TARGET_RAY_MODE_SCREEN
Trait Implementations§
§impl Clone for TargetRayMode
impl Clone for TargetRayMode
§fn clone(&self) -> TargetRayMode
fn clone(&self) -> TargetRayMode
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 TargetRayMode
impl Debug for TargetRayMode
§impl EngineEnum for TargetRayMode
impl EngineEnum for TargetRayMode
§impl FromGodot for TargetRayMode
impl FromGodot for TargetRayMode
§fn try_from_godot(
via: <TargetRayMode as GodotConvert>::Via,
) -> Result<TargetRayMode, ConvertError>
fn try_from_godot( via: <TargetRayMode as GodotConvert>::Via, ) -> Result<TargetRayMode, 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 TargetRayMode
impl GodotConvert for TargetRayMode
§impl Hash for TargetRayMode
impl Hash for TargetRayMode
§impl PartialEq for TargetRayMode
impl PartialEq for TargetRayMode
§impl ToGodot for TargetRayMode
impl ToGodot for TargetRayMode
impl Copy for TargetRayMode
impl Eq for TargetRayMode
impl StructuralPartialEq for TargetRayMode
Auto Trait Implementations§
impl Freeze for TargetRayMode
impl RefUnwindSafe for TargetRayMode
impl Send for TargetRayMode
impl Sync for TargetRayMode
impl Unpin for TargetRayMode
impl UnwindSafe for TargetRayMode
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§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
)