Struct godot::builtin::meta::PropertyInfo
pub struct PropertyInfo {
pub variant_type: VariantType,
pub class_name: ClassName,
pub property_name: StringName,
pub hint: PropertyHint,
pub hint_string: GString,
pub usage: PropertyUsageFlags,
}
Expand description
Rusty abstraction of sys::GDExtensionPropertyInfo
.
Keeps the actual allocated values (the sys
equivalent only keeps pointers, which fall out of scope).
Fields§
§variant_type: VariantType
§class_name: ClassName
§property_name: StringName
§hint: PropertyHint
§hint_string: GString
§usage: PropertyUsageFlags
Implementations§
§impl PropertyInfo
impl PropertyInfo
pub fn property_sys(&self) -> GDExtensionPropertyInfo
pub fn property_sys(&self) -> GDExtensionPropertyInfo
Converts to the FFI type. Keep this object allocated while using that!
pub fn empty_sys() -> GDExtensionPropertyInfo
Trait Implementations§
§impl Clone for PropertyInfo
impl Clone for PropertyInfo
§fn clone(&self) -> PropertyInfo
fn clone(&self) -> PropertyInfo
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 moreAuto Trait Implementations§
impl Freeze for PropertyInfo
impl RefUnwindSafe for PropertyInfo
impl !Send for PropertyInfo
impl !Sync for PropertyInfo
impl Unpin for PropertyInfo
impl UnwindSafe for PropertyInfo
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