Struct DomainWarpType
pub struct DomainWarpType { /* private fields */ }Implementations§
§impl DomainWarpType
impl DomainWarpType
pub const SIMPLEX: DomainWarpType
pub const SIMPLEX: DomainWarpType
Godot enumerator name: DOMAIN_WARP_SIMPLEX
pub const SIMPLEX_REDUCED: DomainWarpType
pub const SIMPLEX_REDUCED: DomainWarpType
Godot enumerator name: DOMAIN_WARP_SIMPLEX_REDUCED
pub const BASIC_GRID: DomainWarpType
pub const BASIC_GRID: DomainWarpType
Godot enumerator name: DOMAIN_WARP_BASIC_GRID
Trait Implementations§
§impl Clone for DomainWarpType
impl Clone for DomainWarpType
§fn clone(&self) -> DomainWarpType
fn clone(&self) -> DomainWarpType
Returns a duplicate 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 DomainWarpType
impl Debug for DomainWarpType
§impl EngineEnum for DomainWarpType
impl EngineEnum for DomainWarpType
fn try_from_ord(ord: i32) -> Option<DomainWarpType>
§fn ord(self) -> i32
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
§fn values() -> &'static [DomainWarpType]
fn values() -> &'static [DomainWarpType]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<DomainWarpType>]
fn all_constants() -> &'static [EnumConstant<DomainWarpType>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl FromGodot for DomainWarpType
impl FromGodot for DomainWarpType
§fn try_from_godot(
via: <DomainWarpType as GodotConvert>::Via,
) -> Result<DomainWarpType, ConvertError>
fn try_from_godot( via: <DomainWarpType as GodotConvert>::Via, ) -> Result<DomainWarpType, 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 DomainWarpType
impl GodotConvert for DomainWarpType
§impl Hash for DomainWarpType
impl Hash for DomainWarpType
§impl PartialEq for DomainWarpType
impl PartialEq for DomainWarpType
§impl ToGodot for DomainWarpType
impl ToGodot for DomainWarpType
§fn to_godot(&self) -> <DomainWarpType as GodotConvert>::Via
fn to_godot(&self) -> <DomainWarpType as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for DomainWarpType
impl Eq for DomainWarpType
impl StructuralPartialEq for DomainWarpType
Auto Trait Implementations§
impl Freeze for DomainWarpType
impl RefUnwindSafe for DomainWarpType
impl Send for DomainWarpType
impl Sync for DomainWarpType
impl Unpin for DomainWarpType
impl UnwindSafe for DomainWarpType
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