pub struct MethodFlags { /* private fields */ }Implementations§
Source§impl MethodFlags
 
impl MethodFlags
Sourcepub const NORMAL: MethodFlags
 
pub const NORMAL: MethodFlags
Godot enumerator name: METHOD_FLAG_NORMAL
Sourcepub const EDITOR: MethodFlags
 
pub const EDITOR: MethodFlags
Godot enumerator name: METHOD_FLAG_EDITOR
Sourcepub const CONST: MethodFlags
 
pub const CONST: MethodFlags
Godot enumerator name: METHOD_FLAG_CONST
Sourcepub const VIRTUAL: MethodFlags
 
pub const VIRTUAL: MethodFlags
Godot enumerator name: METHOD_FLAG_VIRTUAL
Sourcepub const VARARG: MethodFlags
 
pub const VARARG: MethodFlags
Godot enumerator name: METHOD_FLAG_VARARG
Sourcepub const STATIC: MethodFlags
 
pub const STATIC: MethodFlags
Godot enumerator name: METHOD_FLAG_STATIC
Sourcepub const OBJECT_CORE: MethodFlags
 
pub const OBJECT_CORE: MethodFlags
Godot enumerator name: METHOD_FLAG_OBJECT_CORE
Sourcepub const VIRTUAL_REQUIRED: MethodFlags
 
pub const VIRTUAL_REQUIRED: MethodFlags
Godot enumerator name: METHOD_FLAG_VIRTUAL_REQUIRED
Sourcepub const DEFAULT: MethodFlags
 
pub const DEFAULT: MethodFlags
Godot enumerator name: METHOD_FLAGS_DEFAULT
Trait Implementations§
Source§impl BitOr for MethodFlags
 
impl BitOr for MethodFlags
Source§impl BitOrAssign for MethodFlags
 
impl BitOrAssign for MethodFlags
Source§fn bitor_assign(&mut self, rhs: Self)
 
fn bitor_assign(&mut self, rhs: Self)
Performs the 
|= operation. Read moreSource§impl Clone for MethodFlags
 
impl Clone for MethodFlags
Source§fn clone(&self) -> MethodFlags
 
fn clone(&self) -> MethodFlags
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 MethodFlags
 
impl Debug for MethodFlags
Source§impl Default for MethodFlags
 
impl Default for MethodFlags
Source§fn default() -> MethodFlags
 
fn default() -> MethodFlags
Returns the “default value” for a type. Read more
Source§impl EngineBitfield for MethodFlags
 
impl EngineBitfield for MethodFlags
fn try_from_ord(ord: u64) -> Option<Self>
Source§fn all_constants() -> &'static [EnumConstant<MethodFlags>]
 
fn all_constants() -> &'static [EnumConstant<MethodFlags>]
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 MethodFlags
 
impl FromGodot for MethodFlags
Source§fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>
 
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
 
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§fn from_variant(variant: &Variant) -> Self
 
fn from_variant(variant: &Variant) -> Self
⚠️ Performs the conversion from a [
Variant]. Read moreSource§impl GodotConvert for MethodFlags
 
impl GodotConvert for MethodFlags
Source§impl Hash for MethodFlags
 
impl Hash for MethodFlags
Source§impl PartialEq for MethodFlags
 
impl PartialEq for MethodFlags
Source§impl ToGodot for MethodFlags
 
impl ToGodot for MethodFlags
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) -> Self::Via
 
fn to_godot(&self) -> Self::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].
impl Copy for MethodFlags
impl Eq for MethodFlags
impl StructuralPartialEq for MethodFlags
Auto Trait Implementations§
impl Freeze for MethodFlags
impl RefUnwindSafe for MethodFlags
impl Send for MethodFlags
impl Sync for MethodFlags
impl Unpin for MethodFlags
impl UnwindSafe for MethodFlags
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