Struct NoiseType
pub struct NoiseType { /* private fields */ }
Implementations§
§impl NoiseType
impl NoiseType
pub const VALUE_CUBIC: NoiseType
pub const VALUE_CUBIC: NoiseType
Godot enumerator name: TYPE_VALUE_CUBIC
pub const SIMPLEX_SMOOTH: NoiseType
pub const SIMPLEX_SMOOTH: NoiseType
Godot enumerator name: TYPE_SIMPLEX_SMOOTH
Trait Implementations§
§impl EngineEnum for NoiseType
impl EngineEnum for NoiseType
§impl FromGodot for NoiseType
impl FromGodot for NoiseType
§fn try_from_godot(
via: <NoiseType as GodotConvert>::Via,
) -> Result<NoiseType, ConvertError>
fn try_from_godot( via: <NoiseType as GodotConvert>::Via, ) -> Result<NoiseType, 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 ToGodot for NoiseType
impl ToGodot for NoiseType
impl Copy for NoiseType
impl Eq for NoiseType
impl StructuralPartialEq for NoiseType
Auto Trait Implementations§
impl Freeze for NoiseType
impl RefUnwindSafe for NoiseType
impl Send for NoiseType
impl Sync for NoiseType
impl Unpin for NoiseType
impl UnwindSafe for NoiseType
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