Struct ScriptExportMode
pub struct ScriptExportMode { /* private fields */ }
Implementations§
§impl ScriptExportMode
impl ScriptExportMode
pub const TEXT: ScriptExportMode
pub const TEXT: ScriptExportMode
Godot enumerator name: MODE_SCRIPT_TEXT
pub const BINARY_TOKENS: ScriptExportMode
pub const BINARY_TOKENS: ScriptExportMode
Godot enumerator name: MODE_SCRIPT_BINARY_TOKENS
pub const BINARY_TOKENS_COMPRESSED: ScriptExportMode
pub const BINARY_TOKENS_COMPRESSED: ScriptExportMode
Godot enumerator name: MODE_SCRIPT_BINARY_TOKENS_COMPRESSED
Trait Implementations§
§impl Clone for ScriptExportMode
impl Clone for ScriptExportMode
§fn clone(&self) -> ScriptExportMode
fn clone(&self) -> ScriptExportMode
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 ScriptExportMode
impl Debug for ScriptExportMode
§impl EngineEnum for ScriptExportMode
impl EngineEnum for ScriptExportMode
§impl FromGodot for ScriptExportMode
impl FromGodot for ScriptExportMode
§fn try_from_godot(
via: <ScriptExportMode as GodotConvert>::Via,
) -> Result<ScriptExportMode, ConvertError>
fn try_from_godot( via: <ScriptExportMode as GodotConvert>::Via, ) -> Result<ScriptExportMode, 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 ScriptExportMode
impl GodotConvert for ScriptExportMode
§impl Hash for ScriptExportMode
impl Hash for ScriptExportMode
§impl PartialEq for ScriptExportMode
impl PartialEq for ScriptExportMode
§impl ToGodot for ScriptExportMode
impl ToGodot for ScriptExportMode
impl Copy for ScriptExportMode
impl Eq for ScriptExportMode
impl StructuralPartialEq for ScriptExportMode
Auto Trait Implementations§
impl Freeze for ScriptExportMode
impl RefUnwindSafe for ScriptExportMode
impl Send for ScriptExportMode
impl Sync for ScriptExportMode
impl Unpin for ScriptExportMode
impl UnwindSafe for ScriptExportMode
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