Struct DecalTexture
pub struct DecalTexture { /* private fields */ }Implementations§
§impl DecalTexture
impl DecalTexture
pub const ALBEDO: DecalTexture
pub const ALBEDO: DecalTexture
Godot enumerator name: TEXTURE_ALBEDO
pub const NORMAL: DecalTexture
pub const NORMAL: DecalTexture
Godot enumerator name: TEXTURE_NORMAL
pub const ORM: DecalTexture
pub const ORM: DecalTexture
Godot enumerator name: TEXTURE_ORM
pub const EMISSION: DecalTexture
pub const EMISSION: DecalTexture
Godot enumerator name: TEXTURE_EMISSION
pub const MAX: DecalTexture
pub const MAX: DecalTexture
Godot enumerator name: TEXTURE_MAX
Trait Implementations§
§impl Clone for DecalTexture
impl Clone for DecalTexture
§fn clone(&self) -> DecalTexture
fn clone(&self) -> DecalTexture
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 DecalTexture
impl Debug for DecalTexture
§impl EngineEnum for DecalTexture
impl EngineEnum for DecalTexture
fn try_from_ord(ord: i32) -> Option<DecalTexture>
§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 [DecalTexture]
fn values() -> &'static [DecalTexture]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<DecalTexture>]
fn all_constants() -> &'static [EnumConstant<DecalTexture>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl FromGodot for DecalTexture
impl FromGodot for DecalTexture
§fn try_from_godot(
via: <DecalTexture as GodotConvert>::Via,
) -> Result<DecalTexture, ConvertError>
fn try_from_godot( via: <DecalTexture as GodotConvert>::Via, ) -> Result<DecalTexture, 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 DecalTexture
impl GodotConvert for DecalTexture
§fn godot_shape() -> GodotShape
fn godot_shape() -> GodotShape
Which “shape” this type has for property registration (e.g. builtin, enum, …). Read more
§impl Hash for DecalTexture
impl Hash for DecalTexture
§impl IndexEnum for DecalTexture
impl IndexEnum for DecalTexture
§impl PartialEq for DecalTexture
impl PartialEq for DecalTexture
§impl ToGodot for DecalTexture
impl ToGodot for DecalTexture
§fn to_godot(&self) -> <DecalTexture as GodotConvert>::Via
fn to_godot(&self) -> <DecalTexture 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 Var for DecalTexture
impl Var for DecalTexture
§type PubType = DecalTexture
type PubType = DecalTexture
Type used in generated Rust getters/setters for
#[var(pub)].§fn var_get(field: &DecalTexture) -> <DecalTexture as GodotConvert>::Via
fn var_get(field: &DecalTexture) -> <DecalTexture as GodotConvert>::Via
Get property value via FFI-level
Via type. Called for internal (non-pub) getters registered with Godot.§fn var_set(field: &mut DecalTexture, value: <DecalTexture as GodotConvert>::Via)
fn var_set(field: &mut DecalTexture, value: <DecalTexture as GodotConvert>::Via)
Set property value via FFI-level
Via type. Called for internal (non-pub) setters registered with Godot.§fn var_pub_get(field: &DecalTexture) -> <DecalTexture as Var>::PubType
fn var_pub_get(field: &DecalTexture) -> <DecalTexture as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.§fn var_pub_set(field: &mut DecalTexture, value: <DecalTexture as Var>::PubType)
fn var_pub_set(field: &mut DecalTexture, value: <DecalTexture as Var>::PubType)
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for DecalTexture
impl Element for DecalTexture
impl Eq for DecalTexture
impl Export for DecalTexture
impl StructuralPartialEq for DecalTexture
Auto Trait Implementations§
impl Freeze for DecalTexture
impl RefUnwindSafe for DecalTexture
impl Send for DecalTexture
impl Sync for DecalTexture
impl Unpin for DecalTexture
impl UnsafeUnpin for DecalTexture
impl UnwindSafe for DecalTexture
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