Struct VariantOperator
pub struct VariantOperator { /* private fields */ }
Expand description
Godot enum name: Variant.Operator
.
Implementations§
§impl VariantOperator
impl VariantOperator
pub const EQUAL: VariantOperator = _
pub const EQUAL: VariantOperator = _
Godot enumerator name: OP_EQUAL
pub const NOT_EQUAL: VariantOperator = _
pub const NOT_EQUAL: VariantOperator = _
Godot enumerator name: OP_NOT_EQUAL
pub const LESS: VariantOperator = _
pub const LESS: VariantOperator = _
Godot enumerator name: OP_LESS
pub const LESS_EQUAL: VariantOperator = _
pub const LESS_EQUAL: VariantOperator = _
Godot enumerator name: OP_LESS_EQUAL
pub const GREATER: VariantOperator = _
pub const GREATER: VariantOperator = _
Godot enumerator name: OP_GREATER
pub const GREATER_EQUAL: VariantOperator = _
pub const GREATER_EQUAL: VariantOperator = _
Godot enumerator name: OP_GREATER_EQUAL
pub const ADD: VariantOperator = _
pub const ADD: VariantOperator = _
Godot enumerator name: OP_ADD
pub const SUBTRACT: VariantOperator = _
pub const SUBTRACT: VariantOperator = _
Godot enumerator name: OP_SUBTRACT
pub const MULTIPLY: VariantOperator = _
pub const MULTIPLY: VariantOperator = _
Godot enumerator name: OP_MULTIPLY
pub const DIVIDE: VariantOperator = _
pub const DIVIDE: VariantOperator = _
Godot enumerator name: OP_DIVIDE
pub const NEGATE: VariantOperator = _
pub const NEGATE: VariantOperator = _
Godot enumerator name: OP_NEGATE
pub const POSITIVE: VariantOperator = _
pub const POSITIVE: VariantOperator = _
Godot enumerator name: OP_POSITIVE
pub const MODULO: VariantOperator = _
pub const MODULO: VariantOperator = _
Godot enumerator name: OP_MODULE
pub const POWER: VariantOperator = _
pub const POWER: VariantOperator = _
Godot enumerator name: OP_POWER
pub const SHIFT_LEFT: VariantOperator = _
pub const SHIFT_LEFT: VariantOperator = _
Godot enumerator name: OP_SHIFT_LEFT
pub const SHIFT_RIGHT: VariantOperator = _
pub const SHIFT_RIGHT: VariantOperator = _
Godot enumerator name: OP_SHIFT_RIGHT
pub const BIT_AND: VariantOperator = _
pub const BIT_AND: VariantOperator = _
Godot enumerator name: OP_BIT_AND
pub const BIT_OR: VariantOperator = _
pub const BIT_OR: VariantOperator = _
Godot enumerator name: OP_BIT_OR
pub const BIT_XOR: VariantOperator = _
pub const BIT_XOR: VariantOperator = _
Godot enumerator name: OP_BIT_XOR
pub const BIT_NEGATE: VariantOperator = _
pub const BIT_NEGATE: VariantOperator = _
Godot enumerator name: OP_BIT_NEGATE
pub const AND: VariantOperator = _
pub const AND: VariantOperator = _
Godot enumerator name: OP_AND
pub const OR: VariantOperator = _
pub const OR: VariantOperator = _
Godot enumerator name: OP_OR
pub const XOR: VariantOperator = _
pub const XOR: VariantOperator = _
Godot enumerator name: OP_XOR
pub const NOT: VariantOperator = _
pub const NOT: VariantOperator = _
Godot enumerator name: OP_NOT
pub const IN: VariantOperator = _
pub const IN: VariantOperator = _
Godot enumerator name: OP_IN
pub const MAX: VariantOperator = _
pub const MAX: VariantOperator = _
Godot enumerator name: OP_MAX
Trait Implementations§
§impl Clone for VariantOperator
impl Clone for VariantOperator
§fn clone(&self) -> VariantOperator
fn clone(&self) -> VariantOperator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for VariantOperator
impl Debug for VariantOperator
§impl EngineEnum for VariantOperator
impl EngineEnum for VariantOperator
§impl FromGodot for VariantOperator
impl FromGodot for VariantOperator
§fn try_from_godot(
via: <VariantOperator as GodotConvert>::Via,
) -> Result<VariantOperator, ConvertError>
fn try_from_godot( via: <VariantOperator as GodotConvert>::Via, ) -> Result<VariantOperator, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for VariantOperator
impl GodotConvert for VariantOperator
§impl Hash for VariantOperator
impl Hash for VariantOperator
§impl IndexEnum for VariantOperator
impl IndexEnum for VariantOperator
§impl PartialEq for VariantOperator
impl PartialEq for VariantOperator
§impl ToGodot for VariantOperator
impl ToGodot for VariantOperator
§type ToVia<'v> = i32
type ToVia<'v> = i32
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <VariantOperator as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <VariantOperator as ToGodot>::ToVia<'_>
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
impl Copy for VariantOperator
impl Eq for VariantOperator
impl StructuralPartialEq for VariantOperator
Auto Trait Implementations§
impl Freeze for VariantOperator
impl RefUnwindSafe for VariantOperator
impl Send for VariantOperator
impl Sync for VariantOperator
impl Unpin for VariantOperator
impl UnwindSafe for VariantOperator
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
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)
clone_to_uninit
)