pub struct BuiltinFunc(pub i64);Tuple Fields
0: i64Implementations
sourceimpl BuiltinFunc
impl BuiltinFunc
pub const MATH_SIN: BuiltinFunc = _
pub const MATH_COS: BuiltinFunc = _
pub const MATH_TAN: BuiltinFunc = _
pub const MATH_SINH: BuiltinFunc = _
pub const MATH_COSH: BuiltinFunc = _
pub const MATH_TANH: BuiltinFunc = _
pub const MATH_ASIN: BuiltinFunc = _
pub const MATH_ACOS: BuiltinFunc = _
pub const MATH_ATAN: BuiltinFunc = _
pub const MATH_ATAN2: BuiltinFunc = _
pub const MATH_SQRT: BuiltinFunc = _
pub const MATH_FMOD: BuiltinFunc = _
pub const MATH_FPOSMOD: BuiltinFunc = _
pub const MATH_FLOOR: BuiltinFunc = _
pub const MATH_CEIL: BuiltinFunc = _
pub const MATH_ROUND: BuiltinFunc = _
pub const MATH_ABS: BuiltinFunc = _
pub const MATH_SIGN: BuiltinFunc = _
pub const MATH_POW: BuiltinFunc = _
pub const MATH_LOG: BuiltinFunc = _
pub const MATH_EXP: BuiltinFunc = _
pub const MATH_ISNAN: BuiltinFunc = _
pub const MATH_ISINF: BuiltinFunc = _
pub const MATH_EASE: BuiltinFunc = _
pub const MATH_DECIMALS: BuiltinFunc = _
pub const MATH_STEPIFY: BuiltinFunc = _
pub const MATH_LERP: BuiltinFunc = _
pub const MATH_INVERSE_LERP: BuiltinFunc = _
pub const MATH_RANGE_LERP: BuiltinFunc = _
pub const MATH_MOVE_TOWARD: BuiltinFunc = _
pub const MATH_DECTIME: BuiltinFunc = _
pub const MATH_RANDOMIZE: BuiltinFunc = _
pub const MATH_RAND: BuiltinFunc = _
pub const MATH_RANDF: BuiltinFunc = _
pub const MATH_RANDOM: BuiltinFunc = _
pub const MATH_SEED: BuiltinFunc = _
pub const MATH_RANDSEED: BuiltinFunc = _
pub const MATH_DEG2RAD: BuiltinFunc = _
pub const MATH_RAD2DEG: BuiltinFunc = _
pub const MATH_LINEAR2DB: BuiltinFunc = _
pub const MATH_DB2LINEAR: BuiltinFunc = _
pub const MATH_POLAR2CARTESIAN: BuiltinFunc = _
pub const MATH_CARTESIAN2POLAR: BuiltinFunc = _
pub const MATH_WRAP: BuiltinFunc = _
pub const MATH_WRAPF: BuiltinFunc = _
pub const LOGIC_MAX: BuiltinFunc = _
pub const LOGIC_MIN: BuiltinFunc = _
pub const LOGIC_CLAMP: BuiltinFunc = _
pub const LOGIC_NEAREST_PO2: BuiltinFunc = _
pub const OBJ_WEAKREF: BuiltinFunc = _
pub const FUNC_FUNCREF: BuiltinFunc = _
pub const TYPE_CONVERT: BuiltinFunc = _
pub const TYPE_OF: BuiltinFunc = _
pub const TYPE_EXISTS: BuiltinFunc = _
pub const TEXT_CHAR: BuiltinFunc = _
pub const TEXT_STR: BuiltinFunc = _
pub const TEXT_PRINT: BuiltinFunc = _
pub const TEXT_PRINTERR: BuiltinFunc = _
pub const TEXT_PRINTRAW: BuiltinFunc = _
pub const VAR_TO_STR: BuiltinFunc = _
pub const STR_TO_VAR: BuiltinFunc = _
pub const VAR_TO_BYTES: BuiltinFunc = _
pub const BYTES_TO_VAR: BuiltinFunc = _
pub const COLORN: BuiltinFunc = _
pub const MATH_SMOOTHSTEP: BuiltinFunc = _
pub const MATH_POSMOD: BuiltinFunc = _
pub const MATH_LERP_ANGLE: BuiltinFunc = _
pub const TEXT_ORD: BuiltinFunc = _
pub const FUNC_MAX: BuiltinFunc = _
Trait Implementations
sourceimpl Clone for BuiltinFunc
impl Clone for BuiltinFunc
sourcefn clone(&self) -> BuiltinFunc
fn clone(&self) -> BuiltinFunc
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 more
sourceimpl Debug for BuiltinFunc
impl Debug for BuiltinFunc
sourceimpl From<BuiltinFunc> for i64
impl From<BuiltinFunc> for i64
sourcefn from(v: BuiltinFunc) -> Self
fn from(v: BuiltinFunc) -> Self
Converts to this type from the input type.
sourceimpl From<i64> for BuiltinFunc
impl From<i64> for BuiltinFunc
sourceimpl Hash for BuiltinFunc
impl Hash for BuiltinFunc
sourceimpl Ord for BuiltinFunc
impl Ord for BuiltinFunc
sourcefn cmp(&self, other: &BuiltinFunc) -> Ordering
fn cmp(&self, other: &BuiltinFunc) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BuiltinFunc> for BuiltinFunc
impl PartialEq<BuiltinFunc> for BuiltinFunc
sourcefn eq(&self, other: &BuiltinFunc) -> bool
fn eq(&self, other: &BuiltinFunc) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<BuiltinFunc> for BuiltinFunc
impl PartialOrd<BuiltinFunc> for BuiltinFunc
sourcefn partial_cmp(&self, other: &BuiltinFunc) -> Option<Ordering>
fn partial_cmp(&self, other: &BuiltinFunc) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for BuiltinFunc
impl Eq for BuiltinFunc
impl StructuralEq for BuiltinFunc
impl StructuralPartialEq for BuiltinFunc
Auto Trait Implementations
impl RefUnwindSafe for BuiltinFunc
impl Send for BuiltinFunc
impl Sync for BuiltinFunc
impl Unpin for BuiltinFunc
impl UnwindSafe for BuiltinFunc
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.