Struct PlaneSemanticLabel
pub struct PlaneSemanticLabel { /* private fields */ }Implementations§
§impl PlaneSemanticLabel
impl PlaneSemanticLabel
pub const UNCATEGORIZED: PlaneSemanticLabel
pub const UNCATEGORIZED: PlaneSemanticLabel
Godot enumerator name: PLANE_SEMANTIC_LABEL_UNCATEGORIZED
pub const FLOOR: PlaneSemanticLabel
pub const FLOOR: PlaneSemanticLabel
Godot enumerator name: PLANE_SEMANTIC_LABEL_FLOOR
pub const WALL: PlaneSemanticLabel
pub const WALL: PlaneSemanticLabel
Godot enumerator name: PLANE_SEMANTIC_LABEL_WALL
pub const CEILING: PlaneSemanticLabel
pub const CEILING: PlaneSemanticLabel
Godot enumerator name: PLANE_SEMANTIC_LABEL_CEILING
pub const TABLE: PlaneSemanticLabel
pub const TABLE: PlaneSemanticLabel
Godot enumerator name: PLANE_SEMANTIC_LABEL_TABLE
Trait Implementations§
§impl Clone for PlaneSemanticLabel
impl Clone for PlaneSemanticLabel
§fn clone(&self) -> PlaneSemanticLabel
fn clone(&self) -> PlaneSemanticLabel
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 moreimpl Copy for PlaneSemanticLabel
§impl Debug for PlaneSemanticLabel
impl Debug for PlaneSemanticLabel
impl Element for PlaneSemanticLabel
§impl EngineEnum for PlaneSemanticLabel
impl EngineEnum for PlaneSemanticLabel
fn try_from_ord(ord: i32) -> Option<PlaneSemanticLabel>
§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 [PlaneSemanticLabel]
fn values() -> &'static [PlaneSemanticLabel]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<PlaneSemanticLabel>]
fn all_constants() -> &'static [EnumConstant<PlaneSemanticLabel>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
impl Eq for PlaneSemanticLabel
impl Export for PlaneSemanticLabel
§impl FromGodot for PlaneSemanticLabel
impl FromGodot for PlaneSemanticLabel
§fn try_from_godot(
via: <PlaneSemanticLabel as GodotConvert>::Via,
) -> Result<PlaneSemanticLabel, ConvertError>
fn try_from_godot( via: <PlaneSemanticLabel as GodotConvert>::Via, ) -> Result<PlaneSemanticLabel, 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 PlaneSemanticLabel
impl GodotConvert for PlaneSemanticLabel
§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 PlaneSemanticLabel
impl Hash for PlaneSemanticLabel
§impl PartialEq for PlaneSemanticLabel
impl PartialEq for PlaneSemanticLabel
§fn eq(&self, other: &PlaneSemanticLabel) -> bool
fn eq(&self, other: &PlaneSemanticLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlaneSemanticLabel
§impl ToGodot for PlaneSemanticLabel
impl ToGodot for PlaneSemanticLabel
§fn to_godot(&self) -> <PlaneSemanticLabel as GodotConvert>::Via
fn to_godot(&self) -> <PlaneSemanticLabel 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 PlaneSemanticLabel
impl Var for PlaneSemanticLabel
§type PubType = PlaneSemanticLabel
type PubType = PlaneSemanticLabel
Type used in generated Rust getters/setters for
#[var(pub)].§fn var_get(
field: &PlaneSemanticLabel,
) -> <PlaneSemanticLabel as GodotConvert>::Via
fn var_get( field: &PlaneSemanticLabel, ) -> <PlaneSemanticLabel 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 PlaneSemanticLabel,
value: <PlaneSemanticLabel as GodotConvert>::Via,
)
fn var_set( field: &mut PlaneSemanticLabel, value: <PlaneSemanticLabel 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: &PlaneSemanticLabel,
) -> <PlaneSemanticLabel as Var>::PubType
fn var_pub_get( field: &PlaneSemanticLabel, ) -> <PlaneSemanticLabel as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.§fn var_pub_set(
field: &mut PlaneSemanticLabel,
value: <PlaneSemanticLabel as Var>::PubType,
)
fn var_pub_set( field: &mut PlaneSemanticLabel, value: <PlaneSemanticLabel as Var>::PubType, )
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.Auto Trait Implementations§
impl Freeze for PlaneSemanticLabel
impl RefUnwindSafe for PlaneSemanticLabel
impl Send for PlaneSemanticLabel
impl Sync for PlaneSemanticLabel
impl Unpin for PlaneSemanticLabel
impl UnsafeUnpin for PlaneSemanticLabel
impl UnwindSafe for PlaneSemanticLabel
Blanket Implementations§
impl<T> AsDirectElement<T> for T
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