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.