Struct gdnative::api::visual_shader_node_compare::Function
source · pub struct Function(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl Function
impl Function
pub const EQUAL: Function = Function(0i64)
pub const NOT_EQUAL: Function = Function(1i64)
pub const GREATER_THAN: Function = Function(2i64)
pub const GREATER_THAN_EQUAL: Function = Function(3i64)
pub const LESS_THAN: Function = Function(4i64)
pub const LESS_THAN_EQUAL: Function = Function(5i64)
Trait Implementations§
source§impl FromVariant for Function
impl FromVariant for Function
fn from_variant(v: &Variant) -> Result<Function, FromVariantError>
source§impl Ord for Function
impl Ord for Function
source§impl PartialEq<Function> for Function
impl PartialEq<Function> for Function
source§impl PartialOrd<Function> for Function
impl PartialOrd<Function> for Function
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Function
impl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.