Struct ContourPointTag
pub struct ContourPointTag { /* private fields */ }
Implementations§
§impl ContourPointTag
impl ContourPointTag
pub const ON: ContourPointTag
pub const ON: ContourPointTag
Godot enumerator name: CONTOUR_CURVE_TAG_ON
pub const OFF_CONIC: ContourPointTag
pub const OFF_CONIC: ContourPointTag
Godot enumerator name: CONTOUR_CURVE_TAG_OFF_CONIC
pub const OFF_CUBIC: ContourPointTag
pub const OFF_CUBIC: ContourPointTag
Godot enumerator name: CONTOUR_CURVE_TAG_OFF_CUBIC
Trait Implementations§
§impl Clone for ContourPointTag
impl Clone for ContourPointTag
§fn clone(&self) -> ContourPointTag
fn clone(&self) -> ContourPointTag
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 more§impl Debug for ContourPointTag
impl Debug for ContourPointTag
§impl EngineEnum for ContourPointTag
impl EngineEnum for ContourPointTag
fn try_from_ord(ord: i32) -> Option<ContourPointTag>
§fn ord(self) -> i32
fn ord(self) -> i32
Ordinal value of the enumerator, as specified in Godot.
This is not necessarily unique.
§fn godot_name(&self) -> &'static str
fn godot_name(&self) -> &'static str
👎Deprecated: Moved to introspection API, see
EngineEnum::all_constants()
and EnumConstant::godot_name()
The equivalent name of the enumerator, as specified in Godot. Read more
§fn values() -> &'static [ContourPointTag]
fn values() -> &'static [ContourPointTag]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<ContourPointTag>]
fn all_constants() -> &'static [EnumConstant<ContourPointTag>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
§impl FromGodot for ContourPointTag
impl FromGodot for ContourPointTag
§fn try_from_godot(
via: <ContourPointTag as GodotConvert>::Via,
) -> Result<ContourPointTag, ConvertError>
fn try_from_godot( via: <ContourPointTag as GodotConvert>::Via, ) -> Result<ContourPointTag, 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 ContourPointTag
impl GodotConvert for ContourPointTag
§impl Hash for ContourPointTag
impl Hash for ContourPointTag
§impl PartialEq for ContourPointTag
impl PartialEq for ContourPointTag
§impl ToGodot for ContourPointTag
impl ToGodot for ContourPointTag
impl Copy for ContourPointTag
impl Eq for ContourPointTag
impl StructuralPartialEq for ContourPointTag
Auto Trait Implementations§
impl Freeze for ContourPointTag
impl RefUnwindSafe for ContourPointTag
impl Send for ContourPointTag
impl Sync for ContourPointTag
impl Unpin for ContourPointTag
impl UnwindSafe for ContourPointTag
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