pub struct DebugFlags { /* private fields */ }Implementations§
Source§impl DebugFlags
impl DebugFlags
Sourcepub const DUMB_CLIENT: DebugFlags
pub const DUMB_CLIENT: DebugFlags
Godot enumerator name: DEBUG_FLAG_DUMB_CLIENT
Sourcepub const REMOTE_DEBUG: DebugFlags
pub const REMOTE_DEBUG: DebugFlags
Godot enumerator name: DEBUG_FLAG_REMOTE_DEBUG
Sourcepub const REMOTE_DEBUG_LOCALHOST: DebugFlags
pub const REMOTE_DEBUG_LOCALHOST: DebugFlags
Godot enumerator name: DEBUG_FLAG_REMOTE_DEBUG_LOCALHOST
Sourcepub const VIEW_COLLISIONS: DebugFlags
pub const VIEW_COLLISIONS: DebugFlags
Godot enumerator name: DEBUG_FLAG_VIEW_COLLISIONS
Sourcepub const VIEW_NAVIGATION: DebugFlags
pub const VIEW_NAVIGATION: DebugFlags
Godot enumerator name: DEBUG_FLAG_VIEW_NAVIGATION
Trait Implementations§
Source§impl BitOr for DebugFlags
impl BitOr for DebugFlags
Source§type Output = DebugFlags
type Output = DebugFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: DebugFlags) -> <DebugFlags as BitOr>::Output
fn bitor(self, rhs: DebugFlags) -> <DebugFlags as BitOr>::Output
Performs the
| operation. Read moreSource§impl BitOrAssign for DebugFlags
impl BitOrAssign for DebugFlags
Source§fn bitor_assign(&mut self, rhs: DebugFlags)
fn bitor_assign(&mut self, rhs: DebugFlags)
Performs the
|= operation. Read moreSource§impl Clone for DebugFlags
impl Clone for DebugFlags
Source§fn clone(&self) -> DebugFlags
fn clone(&self) -> DebugFlags
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 DebugFlags
impl Debug for DebugFlags
Source§impl Default for DebugFlags
impl Default for DebugFlags
Source§fn default() -> DebugFlags
fn default() -> DebugFlags
Returns the “default value” for a type. Read more
Source§impl EngineBitfield for DebugFlags
impl EngineBitfield for DebugFlags
fn try_from_ord(ord: u64) -> Option<DebugFlags>
Source§fn all_constants() -> &'static [EnumConstant<DebugFlags>]
fn all_constants() -> &'static [EnumConstant<DebugFlags>]
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 DebugFlags
impl FromGodot for DebugFlags
Source§fn try_from_godot(
via: <DebugFlags as GodotConvert>::Via,
) -> Result<DebugFlags, ConvertError>
fn try_from_godot( via: <DebugFlags as GodotConvert>::Via, ) -> Result<DebugFlags, 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 DebugFlags
impl GodotConvert for DebugFlags
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 DebugFlags
impl Hash for DebugFlags
Source§impl PartialEq for DebugFlags
impl PartialEq for DebugFlags
Source§impl ToGodot for DebugFlags
impl ToGodot for DebugFlags
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) -> <DebugFlags as GodotConvert>::Via
fn to_godot(&self) -> <DebugFlags 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 DebugFlags
impl Var for DebugFlags
Source§type PubType = DebugFlags
type PubType = DebugFlags
Type used in generated Rust getters/setters for
#[var(pub)].Source§fn var_get(field: &DebugFlags) -> <DebugFlags as GodotConvert>::Via
fn var_get(field: &DebugFlags) -> <DebugFlags 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 DebugFlags, value: <DebugFlags as GodotConvert>::Via)
fn var_set(field: &mut DebugFlags, value: <DebugFlags 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: &DebugFlags) -> <DebugFlags as Var>::PubType
fn var_pub_get(field: &DebugFlags) -> <DebugFlags as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.Source§fn var_pub_set(field: &mut DebugFlags, value: <DebugFlags as Var>::PubType)
fn var_pub_set(field: &mut DebugFlags, value: <DebugFlags as Var>::PubType)
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for DebugFlags
impl Element for DebugFlags
impl Eq for DebugFlags
impl Export for DebugFlags
impl StructuralPartialEq for DebugFlags
Auto Trait Implementations§
impl Freeze for DebugFlags
impl RefUnwindSafe for DebugFlags
impl Send for DebugFlags
impl Sync for DebugFlags
impl Unpin for DebugFlags
impl UnsafeUnpin for DebugFlags
impl UnwindSafe for DebugFlags
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