Enum avm1_types::PushValue
source · [−]pub enum PushValue {
Boolean(bool),
Constant(u16),
Float32(f32),
Float64(f64),
Null,
Register(u8),
Sint32(i32),
String(String),
Undefined,
}
Variants
Boolean(bool)
Constant(u16)
Float32(f32)
Float64(f64)
Null
Register(u8)
Sint32(i32)
String(String)
Undefined
Trait Implementations
sourceimpl<'de> Deserialize<'de> for PushValue
impl<'de> Deserialize<'de> for PushValue
sourcefn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for PushValue
impl Ord for PushValue
sourceimpl PartialOrd<PushValue> for PushValue
impl PartialOrd<PushValue> for PushValue
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> 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
sourceimpl Serialize for PushValue
impl Serialize for PushValue
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PushValue
Auto Trait Implementations
impl RefUnwindSafe for PushValue
impl Send for PushValue
impl Sync for PushValue
impl Unpin for PushValue
impl UnwindSafe for PushValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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