Struct ParsedGeometryType
pub struct ParsedGeometryType { /* private fields */ }
Available on crate feature
experimental-godot-api
only.Implementations§
§impl ParsedGeometryType
impl ParsedGeometryType
pub const MESH_INSTANCES: ParsedGeometryType = _
pub const MESH_INSTANCES: ParsedGeometryType = _
Godot enumerator name: PARSED_GEOMETRY_MESH_INSTANCES
pub const STATIC_COLLIDERS: ParsedGeometryType = _
pub const STATIC_COLLIDERS: ParsedGeometryType = _
Godot enumerator name: PARSED_GEOMETRY_STATIC_COLLIDERS
pub const BOTH: ParsedGeometryType = _
pub const BOTH: ParsedGeometryType = _
Godot enumerator name: PARSED_GEOMETRY_BOTH
pub const MAX: ParsedGeometryType = _
pub const MAX: ParsedGeometryType = _
Godot enumerator name: PARSED_GEOMETRY_MAX
Trait Implementations§
§impl Clone for ParsedGeometryType
impl Clone for ParsedGeometryType
§fn clone(&self) -> ParsedGeometryType
fn clone(&self) -> ParsedGeometryType
Returns a copy 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 more§impl Debug for ParsedGeometryType
impl Debug for ParsedGeometryType
§impl EngineEnum for ParsedGeometryType
impl EngineEnum for ParsedGeometryType
§impl FromGodot for ParsedGeometryType
impl FromGodot for ParsedGeometryType
§fn try_from_godot(
via: <ParsedGeometryType as GodotConvert>::Via,
) -> Result<ParsedGeometryType, ConvertError>
fn try_from_godot( via: <ParsedGeometryType as GodotConvert>::Via, ) -> Result<ParsedGeometryType, 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 ParsedGeometryType
impl GodotConvert for ParsedGeometryType
§impl Hash for ParsedGeometryType
impl Hash for ParsedGeometryType
§impl IndexEnum for ParsedGeometryType
impl IndexEnum for ParsedGeometryType
§impl PartialEq for ParsedGeometryType
impl PartialEq for ParsedGeometryType
§impl ToGodot for ParsedGeometryType
impl ToGodot for ParsedGeometryType
§type ToVia<'v> = i32
type ToVia<'v> = i32
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <ParsedGeometryType as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <ParsedGeometryType as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for ParsedGeometryType
impl Eq for ParsedGeometryType
impl StructuralPartialEq for ParsedGeometryType
Auto Trait Implementations§
impl Freeze for ParsedGeometryType
impl RefUnwindSafe for ParsedGeometryType
impl Send for ParsedGeometryType
impl Sync for ParsedGeometryType
impl Unpin for ParsedGeometryType
impl UnwindSafe for ParsedGeometryType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)