Struct ViewportVrsUpdateMode
pub struct ViewportVrsUpdateMode { /* private fields */ }
Expand description
Godot enum name: ViewportVRSUpdateMode
.
Implementations§
§impl ViewportVrsUpdateMode
impl ViewportVrsUpdateMode
pub const DISABLED: ViewportVrsUpdateMode = _
pub const DISABLED: ViewportVrsUpdateMode = _
Godot enumerator name: VIEWPORT_VRS_UPDATE_DISABLED
pub const ONCE: ViewportVrsUpdateMode = _
pub const ONCE: ViewportVrsUpdateMode = _
Godot enumerator name: VIEWPORT_VRS_UPDATE_ONCE
pub const ALWAYS: ViewportVrsUpdateMode = _
pub const ALWAYS: ViewportVrsUpdateMode = _
Godot enumerator name: VIEWPORT_VRS_UPDATE_ALWAYS
pub const MAX: ViewportVrsUpdateMode = _
pub const MAX: ViewportVrsUpdateMode = _
Godot enumerator name: VIEWPORT_VRS_UPDATE_MAX
Trait Implementations§
§impl Clone for ViewportVrsUpdateMode
impl Clone for ViewportVrsUpdateMode
§fn clone(&self) -> ViewportVrsUpdateMode
fn clone(&self) -> ViewportVrsUpdateMode
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 ViewportVrsUpdateMode
impl Debug for ViewportVrsUpdateMode
§impl EngineEnum for ViewportVrsUpdateMode
impl EngineEnum for ViewportVrsUpdateMode
§impl FromGodot for ViewportVrsUpdateMode
impl FromGodot for ViewportVrsUpdateMode
§fn try_from_godot(
via: <ViewportVrsUpdateMode as GodotConvert>::Via,
) -> Result<ViewportVrsUpdateMode, ConvertError>
fn try_from_godot( via: <ViewportVrsUpdateMode as GodotConvert>::Via, ) -> Result<ViewportVrsUpdateMode, 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 ViewportVrsUpdateMode
impl GodotConvert for ViewportVrsUpdateMode
§impl Hash for ViewportVrsUpdateMode
impl Hash for ViewportVrsUpdateMode
§impl IndexEnum for ViewportVrsUpdateMode
impl IndexEnum for ViewportVrsUpdateMode
§impl PartialEq for ViewportVrsUpdateMode
impl PartialEq for ViewportVrsUpdateMode
§impl ToGodot for ViewportVrsUpdateMode
impl ToGodot for ViewportVrsUpdateMode
§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) -> <ViewportVrsUpdateMode as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <ViewportVrsUpdateMode 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 ViewportVrsUpdateMode
impl Eq for ViewportVrsUpdateMode
impl StructuralPartialEq for ViewportVrsUpdateMode
Auto Trait Implementations§
impl Freeze for ViewportVrsUpdateMode
impl RefUnwindSafe for ViewportVrsUpdateMode
impl Send for ViewportVrsUpdateMode
impl Sync for ViewportVrsUpdateMode
impl Unpin for ViewportVrsUpdateMode
impl UnwindSafe for ViewportVrsUpdateMode
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
)