pub enum ScriptSVarNumericExpression<'a> {
Number(&'a str),
Count(&'a str),
PlayerCount(&'a str),
TriggerCount(&'a str),
SVarReference {
name: &'a str,
operators: &'a str,
},
Remembered {
property: &'a str,
},
RememberedSize {
operators: &'a str,
},
DiscardedValid {
filter: &'a str,
times: i32,
},
ObjectProperty {
object: ScriptSVarObjectRef<'a>,
property: &'a str,
},
}Variants§
Number(&'a str)
Count(&'a str)
PlayerCount(&'a str)
TriggerCount(&'a str)
SVarReference
Remembered
RememberedSize
DiscardedValid
ObjectProperty
Implementations§
Source§impl ScriptSVarNumericExpression<'_>
impl ScriptSVarNumericExpression<'_>
pub fn to_owned_expression(&self) -> OwnedSVarNumericExpression
Trait Implementations§
Source§impl<'a> Clone for ScriptSVarNumericExpression<'a>
impl<'a> Clone for ScriptSVarNumericExpression<'a>
Source§fn clone(&self) -> ScriptSVarNumericExpression<'a>
fn clone(&self) -> ScriptSVarNumericExpression<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ScriptSVarNumericExpression<'a>
impl<'a> Debug for ScriptSVarNumericExpression<'a>
impl<'a> Eq for ScriptSVarNumericExpression<'a>
Source§impl<'a> PartialEq for ScriptSVarNumericExpression<'a>
impl<'a> PartialEq for ScriptSVarNumericExpression<'a>
impl<'a> StructuralPartialEq for ScriptSVarNumericExpression<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScriptSVarNumericExpression<'a>
impl<'a> RefUnwindSafe for ScriptSVarNumericExpression<'a>
impl<'a> Send for ScriptSVarNumericExpression<'a>
impl<'a> Sync for ScriptSVarNumericExpression<'a>
impl<'a> Unpin for ScriptSVarNumericExpression<'a>
impl<'a> UnsafeUnpin for ScriptSVarNumericExpression<'a>
impl<'a> UnwindSafe for ScriptSVarNumericExpression<'a>
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.