Enum gdnative::core_types::VariantOperator
source · [−]#[repr(u32)]
pub enum VariantOperator {
Show 25 variants
Equal,
NotEqual,
Less,
LessEqual,
Greater,
GreaterEqual,
Add,
Subtract,
Multiply,
Divide,
Negate,
Positive,
Module,
StringConcat,
ShiftLeft,
ShiftRight,
BitAnd,
BitOr,
BitXor,
BitNegate,
And,
Or,
Xor,
Not,
In,
}
Expand description
Godot variant operator kind.
Variants
Equal
NotEqual
Less
LessEqual
Greater
GreaterEqual
Add
Subtract
Multiply
Divide
Negate
Positive
Module
StringConcat
ShiftLeft
ShiftRight
BitAnd
BitOr
BitXor
BitNegate
And
Or
Xor
Not
In
Trait Implementations
sourceimpl Clone for VariantOperator
impl Clone for VariantOperator
sourcefn clone(&self) -> VariantOperator
fn clone(&self) -> VariantOperator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VariantOperator
impl Debug for VariantOperator
sourceimpl Hash for VariantOperator
impl Hash for VariantOperator
sourceimpl PartialEq<VariantOperator> for VariantOperator
impl PartialEq<VariantOperator> for VariantOperator
sourcefn eq(&self, other: &VariantOperator) -> bool
fn eq(&self, other: &VariantOperator) -> bool
impl Copy for VariantOperator
impl Eq for VariantOperator
impl StructuralEq for VariantOperator
impl StructuralPartialEq for VariantOperator
Auto Trait Implementations
impl RefUnwindSafe for VariantOperator
impl Send for VariantOperator
impl Sync for VariantOperator
impl Unpin for VariantOperator
impl UnwindSafe for VariantOperator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.