pub struct LegacyStringId(pub i64);
Expand description

Always behaves like an i64
Reads a string and parses it to i64 when connected to Flash or Nitro
Reads an i64 when connected to Unity

Tuple Fields§

§0: i64

Methods from Deref<Target = i64>§

1.43.0 · source

pub const MIN: i64 = -9_223_372_036_854_775_808i64

1.43.0 · source

pub const MAX: i64 = 9_223_372_036_854_775_807i64

1.53.0 · source

pub const BITS: u32 = 64u32

Trait Implementations§

source§

impl Add<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the + operator.
source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the + operator.
source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
source§

impl Add<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the + operator.
source§

fn add(self, rhs: i64) -> Self::Output

Performs the + operation. Read more
source§

impl AddAssign<LegacyStringId> for LegacyStringId

source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
source§

impl AddAssign<i32> for LegacyStringId

source§

fn add_assign(&mut self, rhs: i32)

Performs the += operation. Read more
source§

impl AddAssign<i64> for LegacyStringId

source§

fn add_assign(&mut self, rhs: i64)

Performs the += operation. Read more
source§

impl BitAnd<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: i32) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: i64) -> Self::Output

Performs the & operation. Read more
source§

impl BitAndAssign<LegacyStringId> for LegacyStringId

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl BitAndAssign<i32> for LegacyStringId

source§

fn bitand_assign(&mut self, rhs: i32)

Performs the &= operation. Read more
source§

impl BitAndAssign<i64> for LegacyStringId

source§

fn bitand_assign(&mut self, rhs: i64)

Performs the &= operation. Read more
source§

impl BitOr<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: i32) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: i64) -> Self::Output

Performs the | operation. Read more
source§

impl BitOrAssign<LegacyStringId> for LegacyStringId

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitOrAssign<i32> for LegacyStringId

source§

fn bitor_assign(&mut self, rhs: i32)

Performs the |= operation. Read more
source§

impl BitOrAssign<i64> for LegacyStringId

source§

fn bitor_assign(&mut self, rhs: i64)

Performs the |= operation. Read more
source§

impl BitXor<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: i32) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXor<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: i64) -> Self::Output

Performs the ^ operation. Read more
source§

impl BitXorAssign<LegacyStringId> for LegacyStringId

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl BitXorAssign<i32> for LegacyStringId

source§

fn bitxor_assign(&mut self, rhs: i32)

Performs the ^= operation. Read more
source§

impl BitXorAssign<i64> for LegacyStringId

source§

fn bitxor_assign(&mut self, rhs: i64)

Performs the ^= operation. Read more
source§

impl Clone for LegacyStringId

source§

fn clone(&self) -> LegacyStringId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LegacyStringId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for LegacyStringId

source§

fn default() -> LegacyStringId

Returns the “default value” for a type. Read more
source§

impl Deref for LegacyStringId

§

type Target = i64

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for LegacyStringId

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Display for LegacyStringId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Div<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the / operator.
source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the / operator.
source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
source§

impl Div<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the / operator.
source§

fn div(self, rhs: i64) -> Self::Output

Performs the / operation. Read more
source§

impl DivAssign<LegacyStringId> for LegacyStringId

source§

fn div_assign(&mut self, rhs: Self)

Performs the /= operation. Read more
source§

impl DivAssign<i32> for LegacyStringId

source§

fn div_assign(&mut self, rhs: i32)

Performs the /= operation. Read more
source§

impl DivAssign<i64> for LegacyStringId

source§

fn div_assign(&mut self, rhs: i64)

Performs the /= operation. Read more
source§

impl Hash for LegacyStringId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Mul<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the * operator.
source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the * operator.
source§

fn mul(self, rhs: i64) -> Self::Output

Performs the * operation. Read more
source§

impl MulAssign<LegacyStringId> for LegacyStringId

source§

fn mul_assign(&mut self, rhs: Self)

Performs the *= operation. Read more
source§

impl MulAssign<i32> for LegacyStringId

source§

fn mul_assign(&mut self, rhs: i32)

Performs the *= operation. Read more
source§

impl MulAssign<i64> for LegacyStringId

source§

fn mul_assign(&mut self, rhs: i64)

Performs the *= operation. Read more
source§

impl Neg for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the - operator.
source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
source§

impl Not for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl PacketVariable for LegacyStringId

source§

fn from_packet(bytes: Vec<u8>) -> (Self, usize)where Self: Sized,

Reads a variable from the beginning of the given bytes vector Read more
source§

fn to_packet(&self) -> Vec<u8>

source§

impl PartialEq<LegacyStringId> for LegacyStringId

source§

fn eq(&self, other: &LegacyStringId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Rem<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the % operator.
source§

fn rem(self, rhs: Self) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i32) -> Self::Output

Performs the % operation. Read more
source§

impl Rem<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the % operator.
source§

fn rem(self, rhs: i64) -> Self::Output

Performs the % operation. Read more
source§

impl RemAssign<LegacyStringId> for LegacyStringId

source§

fn rem_assign(&mut self, rhs: Self)

Performs the %= operation. Read more
source§

impl RemAssign<i32> for LegacyStringId

source§

fn rem_assign(&mut self, rhs: i32)

Performs the %= operation. Read more
source§

impl RemAssign<i64> for LegacyStringId

source§

fn rem_assign(&mut self, rhs: i64)

Performs the %= operation. Read more
source§

impl Shl<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the << operator.
source§

fn shl(self, rhs: Self) -> Self::Output

Performs the << operation. Read more
source§

impl Shl<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the << operator.
source§

fn shl(self, rhs: i32) -> Self::Output

Performs the << operation. Read more
source§

impl Shl<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the << operator.
source§

fn shl(self, rhs: i64) -> Self::Output

Performs the << operation. Read more
source§

impl ShlAssign<LegacyStringId> for LegacyStringId

source§

fn shl_assign(&mut self, rhs: Self)

Performs the <<= operation. Read more
source§

impl ShlAssign<i32> for LegacyStringId

source§

fn shl_assign(&mut self, rhs: i32)

Performs the <<= operation. Read more
source§

impl ShlAssign<i64> for LegacyStringId

source§

fn shl_assign(&mut self, rhs: i64)

Performs the <<= operation. Read more
source§

impl Shr<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: Self) -> Self::Output

Performs the >> operation. Read more
source§

impl Shr<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: i32) -> Self::Output

Performs the >> operation. Read more
source§

impl Shr<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the >> operator.
source§

fn shr(self, rhs: i64) -> Self::Output

Performs the >> operation. Read more
source§

impl ShrAssign<LegacyStringId> for LegacyStringId

source§

fn shr_assign(&mut self, rhs: Self)

Performs the >>= operation. Read more
source§

impl ShrAssign<i32> for LegacyStringId

source§

fn shr_assign(&mut self, rhs: i32)

Performs the >>= operation. Read more
source§

impl ShrAssign<i64> for LegacyStringId

source§

fn shr_assign(&mut self, rhs: i64)

Performs the >>= operation. Read more
source§

impl Sub<LegacyStringId> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the - operator.
source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i32> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<i64> for LegacyStringId

§

type Output = LegacyStringId

The resulting type after applying the - operator.
source§

fn sub(self, rhs: i64) -> Self::Output

Performs the - operation. Read more
source§

impl SubAssign<LegacyStringId> for LegacyStringId

source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
source§

impl SubAssign<i32> for LegacyStringId

source§

fn sub_assign(&mut self, rhs: i32)

Performs the -= operation. Read more
source§

impl SubAssign<i64> for LegacyStringId

source§

fn sub_assign(&mut self, rhs: i64)

Performs the -= operation. Read more
source§

impl Copy for LegacyStringId

source§

impl Eq for LegacyStringId

source§

impl StructuralEq for LegacyStringId

source§

impl StructuralPartialEq for LegacyStringId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.