Struct PropertyUsageFlags

Source
pub struct PropertyUsageFlags { /* private fields */ }

Implementations§

Source§

impl PropertyUsageFlags

Source

pub const NONE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NONE

Source

pub const STORAGE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_STORAGE

Source

pub const EDITOR: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_EDITOR

Source

pub const INTERNAL: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_INTERNAL

Source

pub const CHECKABLE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_CHECKABLE

Source

pub const CHECKED: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_CHECKED

Source

pub const GROUP: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_GROUP

Source

pub const CATEGORY: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_CATEGORY

Source

pub const SUBGROUP: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_SUBGROUP

Source

pub const CLASS_IS_BITFIELD: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_CLASS_IS_BITFIELD

Source

pub const NO_INSTANCE_STATE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NO_INSTANCE_STATE

Source

pub const RESTART_IF_CHANGED: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_RESTART_IF_CHANGED

Source

pub const SCRIPT_VARIABLE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_SCRIPT_VARIABLE

Source

pub const STORE_IF_NULL: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_STORE_IF_NULL

Source

pub const UPDATE_ALL_IF_MODIFIED: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED

Source

pub const SCRIPT_DEFAULT_VALUE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_SCRIPT_DEFAULT_VALUE

Source

pub const CLASS_IS_ENUM: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_CLASS_IS_ENUM

Source

pub const NIL_IS_VARIANT: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NIL_IS_VARIANT

Source

pub const ARRAY: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_ARRAY

Source

pub const ALWAYS_DUPLICATE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_ALWAYS_DUPLICATE

Source

pub const NEVER_DUPLICATE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NEVER_DUPLICATE

Source

pub const HIGH_END_GFX: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_HIGH_END_GFX

Source

pub const NODE_PATH_FROM_SCENE_ROOT: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT

Source

pub const RESOURCE_NOT_PERSISTENT: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT

Source

pub const KEYING_INCREMENTS: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_KEYING_INCREMENTS

Source

pub const DEFERRED_SET_RESOURCE: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_DEFERRED_SET_RESOURCE

Source

pub const EDITOR_INSTANTIATE_OBJECT: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT

Source

pub const EDITOR_BASIC_SETTING: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_EDITOR_BASIC_SETTING

Source

pub const READ_ONLY: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_READ_ONLY

Source

pub const SECRET: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_SECRET

Source

pub const DEFAULT: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_DEFAULT

Source

pub const NO_EDITOR: PropertyUsageFlags

Godot enumerator name: PROPERTY_USAGE_NO_EDITOR

Trait Implementations§

Source§

impl BitOr for PropertyUsageFlags

Source§

type Output = PropertyUsageFlags

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOrAssign for PropertyUsageFlags

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl Clone for PropertyUsageFlags

Source§

fn clone(&self) -> PropertyUsageFlags

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PropertyUsageFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PropertyUsageFlags

Source§

fn default() -> PropertyUsageFlags

Returns the “default value” for a type. Read more
Source§

impl EngineBitfield for PropertyUsageFlags

Source§

fn try_from_ord(ord: u64) -> Option<Self>

Source§

fn ord(self) -> u64

Ordinal value of the bit flag, as specified in Godot.
Source§

fn from_ord(ord: u64) -> Self

Source§

fn is_set(self, flag: Self) -> bool

Source§

impl FromGodot for PropertyUsageFlags

Source§

fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>

Converts the Godot representation to this type, returning Err on failure.
Source§

fn from_godot(via: Self::Via) -> Self

⚠️ Converts the Godot representation to this type. Read more
Source§

fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>

Performs the conversion from a [Variant], returning Err on failure.
Source§

fn from_variant(variant: &Variant) -> Self

⚠️ Performs the conversion from a [Variant]. Read more
Source§

impl GodotConvert for PropertyUsageFlags

Source§

type Via = u64

The type through which Self is represented in Godot.
Source§

impl Hash for PropertyUsageFlags

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for PropertyUsageFlags

Source§

fn eq(&self, other: &PropertyUsageFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToGodot for PropertyUsageFlags

Source§

type ToVia<'v> = u64

Target type of to_godot(), which can differ from Via for pass-by-reference types. Read more
Source§

fn to_godot(&self) -> Self::ToVia<'_>

Converts this type to the Godot type by reference, usually by cloning.
Source§

fn to_variant(&self) -> Variant

Converts this type to a [Variant].
Source§

impl Copy for PropertyUsageFlags

Source§

impl Eq for PropertyUsageFlags

Source§

impl StructuralPartialEq for PropertyUsageFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.