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.