Struct Feature
pub struct Feature { /* private fields */ }Implementations§
§impl Feature
impl Feature
pub const FEATURE_3D: Feature
pub const SCENE_TREE: Feature
pub const SCENE_TREE: Feature
Godot enumerator name: FEATURE_SCENE_TREE
pub const FILESYSTEM_DOCK: Feature
pub const FILESYSTEM_DOCK: Feature
Godot enumerator name: FEATURE_FILESYSTEM_DOCK
pub const IMPORT_DOCK: Feature
pub const IMPORT_DOCK: Feature
Godot enumerator name: FEATURE_IMPORT_DOCK
pub const HISTORY_DOCK: Feature
pub const HISTORY_DOCK: Feature
Godot enumerator name: FEATURE_HISTORY_DOCK
pub const SIGNALS_DOCK: Feature
pub const SIGNALS_DOCK: Feature
Godot enumerator name: FEATURE_SIGNALS_DOCK
pub const GROUPS_DOCK: Feature
pub const GROUPS_DOCK: Feature
Godot enumerator name: FEATURE_GROUPS_DOCK
Trait Implementations§
§impl EngineEnum for Feature
impl EngineEnum for Feature
§impl FromGodot for Feature
impl FromGodot for Feature
§fn try_from_godot(
via: <Feature as GodotConvert>::Via,
) -> Result<Feature, ConvertError>
fn try_from_godot( via: <Feature as GodotConvert>::Via, ) -> Result<Feature, 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 Feature
impl GodotConvert for Feature
§fn godot_shape() -> GodotShape
fn godot_shape() -> GodotShape
Which “shape” this type has for property registration (e.g. builtin, enum, …). Read more
§impl ToGodot for Feature
impl ToGodot for Feature
§fn to_godot(&self) -> <Feature as GodotConvert>::Via
fn to_godot(&self) -> <Feature 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 Feature
impl Var for Feature
§fn var_get(field: &Feature) -> <Feature as GodotConvert>::Via
fn var_get(field: &Feature) -> <Feature 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 Feature, value: <Feature as GodotConvert>::Via)
fn var_set(field: &mut Feature, value: <Feature as GodotConvert>::Via)
Set property value via FFI-level
Via type. Called for internal (non-pub) setters registered with Godot.impl Copy for Feature
impl Element for Feature
impl Eq for Feature
impl Export for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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