Struct SaverFlags
pub struct SaverFlags { /* private fields */ }
Implementations§
§impl SaverFlags
impl SaverFlags
pub const NONE: SaverFlags = _
pub const NONE: SaverFlags = _
Godot enumerator name: FLAG_NONE
pub const RELATIVE_PATHS: SaverFlags = _
pub const RELATIVE_PATHS: SaverFlags = _
Godot enumerator name: FLAG_RELATIVE_PATHS
pub const BUNDLE_RESOURCES: SaverFlags = _
pub const BUNDLE_RESOURCES: SaverFlags = _
Godot enumerator name: FLAG_BUNDLE_RESOURCES
pub const CHANGE_PATH: SaverFlags = _
pub const CHANGE_PATH: SaverFlags = _
Godot enumerator name: FLAG_CHANGE_PATH
pub const OMIT_EDITOR_PROPERTIES: SaverFlags = _
pub const OMIT_EDITOR_PROPERTIES: SaverFlags = _
Godot enumerator name: FLAG_OMIT_EDITOR_PROPERTIES
pub const SAVE_BIG_ENDIAN: SaverFlags = _
pub const SAVE_BIG_ENDIAN: SaverFlags = _
Godot enumerator name: FLAG_SAVE_BIG_ENDIAN
pub const COMPRESS: SaverFlags = _
pub const COMPRESS: SaverFlags = _
Godot enumerator name: FLAG_COMPRESS
pub const REPLACE_SUBRESOURCE_PATHS: SaverFlags = _
pub const REPLACE_SUBRESOURCE_PATHS: SaverFlags = _
Godot enumerator name: FLAG_REPLACE_SUBRESOURCE_PATHS
Trait Implementations§
§impl BitOr for SaverFlags
impl BitOr for SaverFlags
§type Output = SaverFlags
type Output = SaverFlags
The resulting type after applying the
|
operator.§fn bitor(self, rhs: SaverFlags) -> <SaverFlags as BitOr>::Output
fn bitor(self, rhs: SaverFlags) -> <SaverFlags as BitOr>::Output
Performs the
|
operation. Read more§impl Clone for SaverFlags
impl Clone for SaverFlags
§fn clone(&self) -> SaverFlags
fn clone(&self) -> SaverFlags
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 SaverFlags
impl Debug for SaverFlags
§impl Default for SaverFlags
impl Default for SaverFlags
§fn default() -> SaverFlags
fn default() -> SaverFlags
Returns the “default value” for a type. Read more
§impl EngineBitfield for SaverFlags
impl EngineBitfield for SaverFlags
§impl FromGodot for SaverFlags
impl FromGodot for SaverFlags
§fn try_from_godot(
via: <SaverFlags as GodotConvert>::Via,
) -> Result<SaverFlags, ConvertError>
fn try_from_godot( via: <SaverFlags as GodotConvert>::Via, ) -> Result<SaverFlags, 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 SaverFlags
impl GodotConvert for SaverFlags
§impl Hash for SaverFlags
impl Hash for SaverFlags
§impl PartialEq for SaverFlags
impl PartialEq for SaverFlags
§impl ToGodot for SaverFlags
impl ToGodot for SaverFlags
§type ToVia<'v> = u64
type ToVia<'v> = u64
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <SaverFlags as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <SaverFlags 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 SaverFlags
impl Eq for SaverFlags
impl StructuralPartialEq for SaverFlags
Auto Trait Implementations§
impl Freeze for SaverFlags
impl RefUnwindSafe for SaverFlags
impl Send for SaverFlags
impl Sync for SaverFlags
impl Unpin for SaverFlags
impl UnwindSafe for SaverFlags
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
)