Struct ExportMessageType
pub struct ExportMessageType { /* private fields */ }Implementations§
§impl ExportMessageType
impl ExportMessageType
pub const NONE: ExportMessageType
pub const NONE: ExportMessageType
Godot enumerator name: EXPORT_MESSAGE_NONE
pub const INFO: ExportMessageType
pub const INFO: ExportMessageType
Godot enumerator name: EXPORT_MESSAGE_INFO
pub const WARNING: ExportMessageType
pub const WARNING: ExportMessageType
Godot enumerator name: EXPORT_MESSAGE_WARNING
pub const ERROR: ExportMessageType
pub const ERROR: ExportMessageType
Godot enumerator name: EXPORT_MESSAGE_ERROR
Trait Implementations§
§impl Clone for ExportMessageType
impl Clone for ExportMessageType
§fn clone(&self) -> ExportMessageType
fn clone(&self) -> ExportMessageType
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 ExportMessageType
§impl Debug for ExportMessageType
impl Debug for ExportMessageType
impl Element for ExportMessageType
§impl EngineEnum for ExportMessageType
impl EngineEnum for ExportMessageType
fn try_from_ord(ord: i32) -> Option<ExportMessageType>
§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 [ExportMessageType]
fn values() -> &'static [ExportMessageType]
Returns a slice of distinct enum values. Read more
§fn all_constants() -> &'static [EnumConstant<ExportMessageType>]
fn all_constants() -> &'static [EnumConstant<ExportMessageType>]
Returns metadata for all enum constants. Read more
fn from_ord(ord: i32) -> Self
impl Eq for ExportMessageType
impl Export for ExportMessageType
§impl FromGodot for ExportMessageType
impl FromGodot for ExportMessageType
§fn try_from_godot(
via: <ExportMessageType as GodotConvert>::Via,
) -> Result<ExportMessageType, ConvertError>
fn try_from_godot( via: <ExportMessageType as GodotConvert>::Via, ) -> Result<ExportMessageType, 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 ExportMessageType
impl GodotConvert for ExportMessageType
§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 ExportMessageType
impl Hash for ExportMessageType
§impl PartialEq for ExportMessageType
impl PartialEq for ExportMessageType
impl StructuralPartialEq for ExportMessageType
§impl ToGodot for ExportMessageType
impl ToGodot for ExportMessageType
§fn to_godot(&self) -> <ExportMessageType as GodotConvert>::Via
fn to_godot(&self) -> <ExportMessageType 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 ExportMessageType
impl Var for ExportMessageType
§type PubType = ExportMessageType
type PubType = ExportMessageType
Type used in generated Rust getters/setters for
#[var(pub)].§fn var_get(
field: &ExportMessageType,
) -> <ExportMessageType as GodotConvert>::Via
fn var_get( field: &ExportMessageType, ) -> <ExportMessageType 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 ExportMessageType,
value: <ExportMessageType as GodotConvert>::Via,
)
fn var_set( field: &mut ExportMessageType, value: <ExportMessageType 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: &ExportMessageType) -> <ExportMessageType as Var>::PubType
fn var_pub_get(field: &ExportMessageType) -> <ExportMessageType as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.§fn var_pub_set(
field: &mut ExportMessageType,
value: <ExportMessageType as Var>::PubType,
)
fn var_pub_set( field: &mut ExportMessageType, value: <ExportMessageType as Var>::PubType, )
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.Auto Trait Implementations§
impl Freeze for ExportMessageType
impl RefUnwindSafe for ExportMessageType
impl Send for ExportMessageType
impl Sync for ExportMessageType
impl Unpin for ExportMessageType
impl UnsafeUnpin for ExportMessageType
impl UnwindSafe for ExportMessageType
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