pub struct CodeCompletionLocation { /* private fields */ }Implementations§
Source§impl CodeCompletionLocation
impl CodeCompletionLocation
Sourcepub const LOCAL: CodeCompletionLocation
pub const LOCAL: CodeCompletionLocation
Godot enumerator name: LOCATION_LOCAL
Sourcepub const PARENT_MASK: CodeCompletionLocation
pub const PARENT_MASK: CodeCompletionLocation
Godot enumerator name: LOCATION_PARENT_MASK
Sourcepub const OTHER_USER_CODE: CodeCompletionLocation
pub const OTHER_USER_CODE: CodeCompletionLocation
Godot enumerator name: LOCATION_OTHER_USER_CODE
Sourcepub const OTHER: CodeCompletionLocation
pub const OTHER: CodeCompletionLocation
Godot enumerator name: LOCATION_OTHER
Trait Implementations§
Source§impl Clone for CodeCompletionLocation
impl Clone for CodeCompletionLocation
Source§fn clone(&self) -> CodeCompletionLocation
fn clone(&self) -> CodeCompletionLocation
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 CodeCompletionLocation
impl Debug for CodeCompletionLocation
Source§impl EngineEnum for CodeCompletionLocation
impl EngineEnum for CodeCompletionLocation
fn try_from_ord(ord: i32) -> Option<CodeCompletionLocation>
Source§fn ord(self) -> i32
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
Source§fn values() -> &'static [CodeCompletionLocation]
fn values() -> &'static [CodeCompletionLocation]
Returns a slice of distinct enum values. Read more
Source§fn all_constants() -> &'static [EnumConstant<CodeCompletionLocation>]
fn all_constants() -> &'static [EnumConstant<CodeCompletionLocation>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
Source§impl FromGodot for CodeCompletionLocation
impl FromGodot for CodeCompletionLocation
Source§fn try_from_godot(
via: <CodeCompletionLocation as GodotConvert>::Via,
) -> Result<CodeCompletionLocation, ConvertError>
fn try_from_godot( via: <CodeCompletionLocation as GodotConvert>::Via, ) -> Result<CodeCompletionLocation, 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 CodeCompletionLocation
impl GodotConvert for CodeCompletionLocation
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 CodeCompletionLocation
impl Hash for CodeCompletionLocation
Source§impl PartialEq for CodeCompletionLocation
impl PartialEq for CodeCompletionLocation
Source§impl ToGodot for CodeCompletionLocation
impl ToGodot for CodeCompletionLocation
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) -> <CodeCompletionLocation as GodotConvert>::Via
fn to_godot(&self) -> <CodeCompletionLocation 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 CodeCompletionLocation
impl Var for CodeCompletionLocation
Source§type PubType = CodeCompletionLocation
type PubType = CodeCompletionLocation
Type used in generated Rust getters/setters for
#[var(pub)].Source§fn var_get(
field: &CodeCompletionLocation,
) -> <CodeCompletionLocation as GodotConvert>::Via
fn var_get( field: &CodeCompletionLocation, ) -> <CodeCompletionLocation 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 CodeCompletionLocation,
value: <CodeCompletionLocation as GodotConvert>::Via,
)
fn var_set( field: &mut CodeCompletionLocation, value: <CodeCompletionLocation 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: &CodeCompletionLocation,
) -> <CodeCompletionLocation as Var>::PubType
fn var_pub_get( field: &CodeCompletionLocation, ) -> <CodeCompletionLocation as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.Source§fn var_pub_set(
field: &mut CodeCompletionLocation,
value: <CodeCompletionLocation as Var>::PubType,
)
fn var_pub_set( field: &mut CodeCompletionLocation, value: <CodeCompletionLocation as Var>::PubType, )
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for CodeCompletionLocation
impl Element for CodeCompletionLocation
impl Eq for CodeCompletionLocation
impl Export for CodeCompletionLocation
impl StructuralPartialEq for CodeCompletionLocation
Auto Trait Implementations§
impl Freeze for CodeCompletionLocation
impl RefUnwindSafe for CodeCompletionLocation
impl Send for CodeCompletionLocation
impl Sync for CodeCompletionLocation
impl Unpin for CodeCompletionLocation
impl UnsafeUnpin for CodeCompletionLocation
impl UnwindSafe for CodeCompletionLocation
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