Struct godot::classes::collision_object_3d::DisableMode
pub struct DisableMode { /* private fields */ }
Implementations§
§impl DisableMode
impl DisableMode
pub const REMOVE: DisableMode = _
pub const REMOVE: DisableMode = _
Godot enumerator name: DISABLE_MODE_REMOVE
pub const MAKE_STATIC: DisableMode = _
pub const MAKE_STATIC: DisableMode = _
Godot enumerator name: DISABLE_MODE_MAKE_STATIC
pub const KEEP_ACTIVE: DisableMode = _
pub const KEEP_ACTIVE: DisableMode = _
Godot enumerator name: DISABLE_MODE_KEEP_ACTIVE
Trait Implementations§
§impl Clone for DisableMode
impl Clone for DisableMode
§fn clone(&self) -> DisableMode
fn clone(&self) -> DisableMode
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 DisableMode
impl Debug for DisableMode
§impl EngineEnum for DisableMode
impl EngineEnum for DisableMode
§impl FromGodot for DisableMode
impl FromGodot for DisableMode
§fn try_from_godot(
via: <DisableMode as GodotConvert>::Via,
) -> Result<DisableMode, ConvertError>
fn try_from_godot( via: <DisableMode as GodotConvert>::Via, ) -> Result<DisableMode, 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 DisableMode
impl GodotConvert for DisableMode
§impl Hash for DisableMode
impl Hash for DisableMode
§impl PartialEq for DisableMode
impl PartialEq for DisableMode
§fn eq(&self, other: &DisableMode) -> bool
fn eq(&self, other: &DisableMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for DisableMode
impl ToGodot for DisableMode
§fn to_godot(&self) -> <DisableMode as GodotConvert>::Via
fn to_godot(&self) -> <DisableMode 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 DisableMode
impl Eq for DisableMode
impl StructuralPartialEq for DisableMode
Auto Trait Implementations§
impl Freeze for DisableMode
impl RefUnwindSafe for DisableMode
impl Send for DisableMode
impl Sync for DisableMode
impl Unpin for DisableMode
impl UnwindSafe for DisableMode
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
)