Struct MarkerType
pub struct MarkerType { /* private fields */ }Implementations§
§impl MarkerType
impl MarkerType
pub const UNKNOWN: MarkerType
pub const UNKNOWN: MarkerType
Godot enumerator name: MARKER_TYPE_UNKNOWN
pub const QRCODE: MarkerType
pub const QRCODE: MarkerType
Godot enumerator name: MARKER_TYPE_QRCODE
pub const MICRO_QRCODE: MarkerType
pub const MICRO_QRCODE: MarkerType
Godot enumerator name: MARKER_TYPE_MICRO_QRCODE
pub const ARUCO: MarkerType
pub const ARUCO: MarkerType
Godot enumerator name: MARKER_TYPE_ARUCO
pub const APRIL_TAG: MarkerType
pub const APRIL_TAG: MarkerType
Godot enumerator name: MARKER_TYPE_APRIL_TAG
pub const MAX: MarkerType
pub const MAX: MarkerType
Godot enumerator name: MARKER_TYPE_MAX
Trait Implementations§
§impl Clone for MarkerType
impl Clone for MarkerType
§fn clone(&self) -> MarkerType
fn clone(&self) -> MarkerType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MarkerType
impl Debug for MarkerType
§impl EngineEnum for MarkerType
impl EngineEnum for MarkerType
fn try_from_ord(ord: i32) -> Option<MarkerType>
§fn ord(self) -> i32
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
§fn values() -> &'static [MarkerType]
fn values() -> &'static [MarkerType]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<MarkerType>]
fn all_constants() -> &'static [EnumConstant<MarkerType>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl FromGodot for MarkerType
impl FromGodot for MarkerType
§fn try_from_godot(
via: <MarkerType as GodotConvert>::Via,
) -> Result<MarkerType, ConvertError>
fn try_from_godot( via: <MarkerType as GodotConvert>::Via, ) -> Result<MarkerType, ConvertError>
Converts the Godot representation to this type, returning
Err on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§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.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for MarkerType
impl GodotConvert for MarkerType
§fn godot_shape() -> GodotShape
fn godot_shape() -> GodotShape
Which “shape” this type has for property registration (e.g. builtin, enum, …). Read more
§impl Hash for MarkerType
impl Hash for MarkerType
§impl IndexEnum for MarkerType
impl IndexEnum for MarkerType
§impl PartialEq for MarkerType
impl PartialEq for MarkerType
§impl ToGodot for MarkerType
impl ToGodot for MarkerType
§fn to_godot(&self) -> <MarkerType as GodotConvert>::Via
fn to_godot(&self) -> <MarkerType as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
§impl Var for MarkerType
impl Var for MarkerType
§type PubType = MarkerType
type PubType = MarkerType
Type used in generated Rust getters/setters for
#[var(pub)].§fn var_get(field: &MarkerType) -> <MarkerType as GodotConvert>::Via
fn var_get(field: &MarkerType) -> <MarkerType as GodotConvert>::Via
Get property value via FFI-level
Via type. Called for internal (non-pub) getters registered with Godot.§fn var_set(field: &mut MarkerType, value: <MarkerType as GodotConvert>::Via)
fn var_set(field: &mut MarkerType, value: <MarkerType as GodotConvert>::Via)
Set property value via FFI-level
Via type. Called for internal (non-pub) setters registered with Godot.§fn var_pub_get(field: &MarkerType) -> <MarkerType as Var>::PubType
fn var_pub_get(field: &MarkerType) -> <MarkerType as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.§fn var_pub_set(field: &mut MarkerType, value: <MarkerType as Var>::PubType)
fn var_pub_set(field: &mut MarkerType, value: <MarkerType as Var>::PubType)
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for MarkerType
impl Element for MarkerType
impl Eq for MarkerType
impl Export for MarkerType
impl StructuralPartialEq for MarkerType
Auto Trait Implementations§
impl Freeze for MarkerType
impl RefUnwindSafe for MarkerType
impl Send for MarkerType
impl Sync for MarkerType
impl Unpin for MarkerType
impl UnsafeUnpin for MarkerType
impl UnwindSafe for MarkerType
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