pub struct LegacyLength(pub i32);
Expand description
Behaves like an i32 when connected to Flash or Nitro
Behaves like an i16 when connected to Unity
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Add<i16> for LegacyLength
impl Add<i16> for LegacyLength
Source§impl Add<i32> for LegacyLength
impl Add<i32> for LegacyLength
Source§impl Add for LegacyLength
impl Add for LegacyLength
Source§impl AddAssign<i16> for LegacyLength
impl AddAssign<i16> for LegacyLength
Source§fn add_assign(&mut self, rhs: i16)
fn add_assign(&mut self, rhs: i16)
Performs the
+=
operation. Read moreSource§impl AddAssign<i32> for LegacyLength
impl AddAssign<i32> for LegacyLength
Source§fn add_assign(&mut self, rhs: i32)
fn add_assign(&mut self, rhs: i32)
Performs the
+=
operation. Read moreSource§impl AddAssign for LegacyLength
impl AddAssign for LegacyLength
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl BitAnd<i16> for LegacyLength
impl BitAnd<i16> for LegacyLength
Source§impl BitAnd<i32> for LegacyLength
impl BitAnd<i32> for LegacyLength
Source§impl BitAnd for LegacyLength
impl BitAnd for LegacyLength
Source§impl BitAndAssign<i16> for LegacyLength
impl BitAndAssign<i16> for LegacyLength
Source§fn bitand_assign(&mut self, rhs: i16)
fn bitand_assign(&mut self, rhs: i16)
Performs the
&=
operation. Read moreSource§impl BitAndAssign<i32> for LegacyLength
impl BitAndAssign<i32> for LegacyLength
Source§fn bitand_assign(&mut self, rhs: i32)
fn bitand_assign(&mut self, rhs: i32)
Performs the
&=
operation. Read moreSource§impl BitAndAssign for LegacyLength
impl BitAndAssign for LegacyLength
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOr<i16> for LegacyLength
impl BitOr<i16> for LegacyLength
Source§impl BitOr<i32> for LegacyLength
impl BitOr<i32> for LegacyLength
Source§impl BitOr for LegacyLength
impl BitOr for LegacyLength
Source§impl BitOrAssign<i16> for LegacyLength
impl BitOrAssign<i16> for LegacyLength
Source§fn bitor_assign(&mut self, rhs: i16)
fn bitor_assign(&mut self, rhs: i16)
Performs the
|=
operation. Read moreSource§impl BitOrAssign<i32> for LegacyLength
impl BitOrAssign<i32> for LegacyLength
Source§fn bitor_assign(&mut self, rhs: i32)
fn bitor_assign(&mut self, rhs: i32)
Performs the
|=
operation. Read moreSource§impl BitOrAssign for LegacyLength
impl BitOrAssign for LegacyLength
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXor<i16> for LegacyLength
impl BitXor<i16> for LegacyLength
Source§impl BitXor<i32> for LegacyLength
impl BitXor<i32> for LegacyLength
Source§impl BitXor for LegacyLength
impl BitXor for LegacyLength
Source§impl BitXorAssign<i16> for LegacyLength
impl BitXorAssign<i16> for LegacyLength
Source§fn bitxor_assign(&mut self, rhs: i16)
fn bitxor_assign(&mut self, rhs: i16)
Performs the
^=
operation. Read moreSource§impl BitXorAssign<i32> for LegacyLength
impl BitXorAssign<i32> for LegacyLength
Source§fn bitxor_assign(&mut self, rhs: i32)
fn bitxor_assign(&mut self, rhs: i32)
Performs the
^=
operation. Read moreSource§impl BitXorAssign for LegacyLength
impl BitXorAssign for LegacyLength
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Clone for LegacyLength
impl Clone for LegacyLength
Source§fn clone(&self) -> LegacyLength
fn clone(&self) -> LegacyLength
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LegacyLength
impl Debug for LegacyLength
Source§impl Default for LegacyLength
impl Default for LegacyLength
Source§fn default() -> LegacyLength
fn default() -> LegacyLength
Returns the “default value” for a type. Read more
Source§impl Deref for LegacyLength
impl Deref for LegacyLength
Source§impl DerefMut for LegacyLength
impl DerefMut for LegacyLength
Source§impl Display for LegacyLength
impl Display for LegacyLength
Source§impl Div<i16> for LegacyLength
impl Div<i16> for LegacyLength
Source§impl Div<i32> for LegacyLength
impl Div<i32> for LegacyLength
Source§impl Div for LegacyLength
impl Div for LegacyLength
Source§impl DivAssign<i16> for LegacyLength
impl DivAssign<i16> for LegacyLength
Source§fn div_assign(&mut self, rhs: i16)
fn div_assign(&mut self, rhs: i16)
Performs the
/=
operation. Read moreSource§impl DivAssign<i32> for LegacyLength
impl DivAssign<i32> for LegacyLength
Source§fn div_assign(&mut self, rhs: i32)
fn div_assign(&mut self, rhs: i32)
Performs the
/=
operation. Read moreSource§impl DivAssign for LegacyLength
impl DivAssign for LegacyLength
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl Hash for LegacyLength
impl Hash for LegacyLength
Source§impl Mul<i16> for LegacyLength
impl Mul<i16> for LegacyLength
Source§impl Mul<i32> for LegacyLength
impl Mul<i32> for LegacyLength
Source§impl Mul for LegacyLength
impl Mul for LegacyLength
Source§impl MulAssign<i16> for LegacyLength
impl MulAssign<i16> for LegacyLength
Source§fn mul_assign(&mut self, rhs: i16)
fn mul_assign(&mut self, rhs: i16)
Performs the
*=
operation. Read moreSource§impl MulAssign<i32> for LegacyLength
impl MulAssign<i32> for LegacyLength
Source§fn mul_assign(&mut self, rhs: i32)
fn mul_assign(&mut self, rhs: i32)
Performs the
*=
operation. Read moreSource§impl MulAssign for LegacyLength
impl MulAssign for LegacyLength
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Neg for LegacyLength
impl Neg for LegacyLength
Source§impl Not for LegacyLength
impl Not for LegacyLength
Source§impl PacketVariable for LegacyLength
impl PacketVariable for LegacyLength
Source§impl PartialEq for LegacyLength
impl PartialEq for LegacyLength
Source§impl Rem<i16> for LegacyLength
impl Rem<i16> for LegacyLength
Source§impl Rem<i32> for LegacyLength
impl Rem<i32> for LegacyLength
Source§impl Rem for LegacyLength
impl Rem for LegacyLength
Source§impl RemAssign<i16> for LegacyLength
impl RemAssign<i16> for LegacyLength
Source§fn rem_assign(&mut self, rhs: i16)
fn rem_assign(&mut self, rhs: i16)
Performs the
%=
operation. Read moreSource§impl RemAssign<i32> for LegacyLength
impl RemAssign<i32> for LegacyLength
Source§fn rem_assign(&mut self, rhs: i32)
fn rem_assign(&mut self, rhs: i32)
Performs the
%=
operation. Read moreSource§impl RemAssign for LegacyLength
impl RemAssign for LegacyLength
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl Shl<i16> for LegacyLength
impl Shl<i16> for LegacyLength
Source§impl Shl<i32> for LegacyLength
impl Shl<i32> for LegacyLength
Source§impl Shl for LegacyLength
impl Shl for LegacyLength
Source§impl ShlAssign<i16> for LegacyLength
impl ShlAssign<i16> for LegacyLength
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
Performs the
<<=
operation. Read moreSource§impl ShlAssign<i32> for LegacyLength
impl ShlAssign<i32> for LegacyLength
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
Performs the
<<=
operation. Read moreSource§impl ShlAssign for LegacyLength
impl ShlAssign for LegacyLength
Source§fn shl_assign(&mut self, rhs: Self)
fn shl_assign(&mut self, rhs: Self)
Performs the
<<=
operation. Read moreSource§impl Shr<i16> for LegacyLength
impl Shr<i16> for LegacyLength
Source§impl Shr<i32> for LegacyLength
impl Shr<i32> for LegacyLength
Source§impl Shr for LegacyLength
impl Shr for LegacyLength
Source§impl ShrAssign<i16> for LegacyLength
impl ShrAssign<i16> for LegacyLength
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
Performs the
>>=
operation. Read moreSource§impl ShrAssign<i32> for LegacyLength
impl ShrAssign<i32> for LegacyLength
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
Performs the
>>=
operation. Read moreSource§impl ShrAssign for LegacyLength
impl ShrAssign for LegacyLength
Source§fn shr_assign(&mut self, rhs: Self)
fn shr_assign(&mut self, rhs: Self)
Performs the
>>=
operation. Read moreSource§impl Sub<i16> for LegacyLength
impl Sub<i16> for LegacyLength
Source§impl Sub<i32> for LegacyLength
impl Sub<i32> for LegacyLength
Source§impl Sub for LegacyLength
impl Sub for LegacyLength
Source§impl SubAssign<i16> for LegacyLength
impl SubAssign<i16> for LegacyLength
Source§fn sub_assign(&mut self, rhs: i16)
fn sub_assign(&mut self, rhs: i16)
Performs the
-=
operation. Read moreSource§impl SubAssign<i32> for LegacyLength
impl SubAssign<i32> for LegacyLength
Source§fn sub_assign(&mut self, rhs: i32)
fn sub_assign(&mut self, rhs: i32)
Performs the
-=
operation. Read moreSource§impl SubAssign for LegacyLength
impl SubAssign for LegacyLength
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for LegacyLength
impl Eq for LegacyLength
impl StructuralPartialEq for LegacyLength
Auto Trait Implementations§
impl Freeze for LegacyLength
impl RefUnwindSafe for LegacyLength
impl Send for LegacyLength
impl Sync for LegacyLength
impl Unpin for LegacyLength
impl UnwindSafe for LegacyLength
Blanket Implementations§
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