pub struct PathMetadataFlags { /* private fields */ }Available on crate feature
experimental-godot-api only.Implementations§
Source§impl PathMetadataFlags
impl PathMetadataFlags
Sourcepub const NONE: PathMetadataFlags
pub const NONE: PathMetadataFlags
Godot enumerator name: PATH_METADATA_INCLUDE_NONE
Sourcepub const TYPES: PathMetadataFlags
pub const TYPES: PathMetadataFlags
Godot enumerator name: PATH_METADATA_INCLUDE_TYPES
Sourcepub const RIDS: PathMetadataFlags
pub const RIDS: PathMetadataFlags
Godot enumerator name: PATH_METADATA_INCLUDE_RIDS
Sourcepub const OWNERS: PathMetadataFlags
pub const OWNERS: PathMetadataFlags
Godot enumerator name: PATH_METADATA_INCLUDE_OWNERS
Sourcepub const ALL: PathMetadataFlags
pub const ALL: PathMetadataFlags
Godot enumerator name: PATH_METADATA_INCLUDE_ALL
Trait Implementations§
Source§impl BitOr for PathMetadataFlags
impl BitOr for PathMetadataFlags
Source§type Output = PathMetadataFlags
type Output = PathMetadataFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: PathMetadataFlags) -> <PathMetadataFlags as BitOr>::Output
fn bitor(self, rhs: PathMetadataFlags) -> <PathMetadataFlags as BitOr>::Output
Performs the
| operation. Read moreSource§impl BitOrAssign for PathMetadataFlags
impl BitOrAssign for PathMetadataFlags
Source§fn bitor_assign(&mut self, rhs: PathMetadataFlags)
fn bitor_assign(&mut self, rhs: PathMetadataFlags)
Performs the
|= operation. Read moreSource§impl Clone for PathMetadataFlags
impl Clone for PathMetadataFlags
Source§fn clone(&self) -> PathMetadataFlags
fn clone(&self) -> PathMetadataFlags
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 moreSource§impl Debug for PathMetadataFlags
impl Debug for PathMetadataFlags
Source§impl Default for PathMetadataFlags
impl Default for PathMetadataFlags
Source§fn default() -> PathMetadataFlags
fn default() -> PathMetadataFlags
Returns the “default value” for a type. Read more
Source§impl EngineBitfield for PathMetadataFlags
impl EngineBitfield for PathMetadataFlags
fn try_from_ord(ord: u64) -> Option<PathMetadataFlags>
Source§fn all_constants() -> &'static [EnumConstant<PathMetadataFlags>]
fn all_constants() -> &'static [EnumConstant<PathMetadataFlags>]
Returns metadata for all bitfield constants. Read more
fn from_ord(ord: u64) -> Self
fn is_set(self, flag: Self) -> bool
Source§impl FromGodot for PathMetadataFlags
impl FromGodot for PathMetadataFlags
Source§fn try_from_godot(
via: <PathMetadataFlags as GodotConvert>::Via,
) -> Result<PathMetadataFlags, ConvertError>
fn try_from_godot( via: <PathMetadataFlags as GodotConvert>::Via, ) -> Result<PathMetadataFlags, ConvertError>
Converts the Godot representation to this type, returning
Err on failure.Source§fn from_godot(via: Self::Via) -> Self
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>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant, returning Err on failure.Source§impl GodotConvert for PathMetadataFlags
impl GodotConvert for PathMetadataFlags
Source§fn godot_shape() -> GodotShape
fn godot_shape() -> GodotShape
Which “shape” this type has for property registration (e.g. builtin, enum, …). Read more
Source§impl Hash for PathMetadataFlags
impl Hash for PathMetadataFlags
Source§impl PartialEq for PathMetadataFlags
impl PartialEq for PathMetadataFlags
Source§impl ToGodot for PathMetadataFlags
impl ToGodot for PathMetadataFlags
Source§type Pass = ByValue
type Pass = ByValue
Whether arguments of this type are passed by value or by reference. Read more
Source§fn to_godot(&self) -> <PathMetadataFlags as GodotConvert>::Via
fn to_godot(&self) -> <PathMetadataFlags as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
Source§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
Source§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
Source§impl Var for PathMetadataFlags
impl Var for PathMetadataFlags
Source§type PubType = PathMetadataFlags
type PubType = PathMetadataFlags
Type used in generated Rust getters/setters for
#[var(pub)].Source§fn var_get(
field: &PathMetadataFlags,
) -> <PathMetadataFlags as GodotConvert>::Via
fn var_get( field: &PathMetadataFlags, ) -> <PathMetadataFlags as GodotConvert>::Via
Get property value via FFI-level
Via type. Called for internal (non-pub) getters registered with Godot.Source§fn var_set(
field: &mut PathMetadataFlags,
value: <PathMetadataFlags as GodotConvert>::Via,
)
fn var_set( field: &mut PathMetadataFlags, value: <PathMetadataFlags as GodotConvert>::Via, )
Set property value via FFI-level
Via type. Called for internal (non-pub) setters registered with Godot.Source§fn var_pub_get(field: &PathMetadataFlags) -> <PathMetadataFlags as Var>::PubType
fn var_pub_get(field: &PathMetadataFlags) -> <PathMetadataFlags as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.Source§fn var_pub_set(
field: &mut PathMetadataFlags,
value: <PathMetadataFlags as Var>::PubType,
)
fn var_pub_set( field: &mut PathMetadataFlags, value: <PathMetadataFlags as Var>::PubType, )
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for PathMetadataFlags
impl Element for PathMetadataFlags
impl Eq for PathMetadataFlags
impl Export for PathMetadataFlags
impl StructuralPartialEq for PathMetadataFlags
Auto Trait Implementations§
impl Freeze for PathMetadataFlags
impl RefUnwindSafe for PathMetadataFlags
impl Send for PathMetadataFlags
impl Sync for PathMetadataFlags
impl Unpin for PathMetadataFlags
impl UnsafeUnpin for PathMetadataFlags
impl UnwindSafe for PathMetadataFlags
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