Enum avm1_types::raw::Action
source · [−]pub enum Action {
Show 104 variants
Add,
Add2,
And,
AsciiToChar,
BitAnd,
BitOr,
BitLShift,
BitRShift,
BitURShift,
BitXor,
Call,
CallFunction,
CallMethod,
CharToAscii,
CastOp,
CloneSprite,
ConstantPool(ConstantPool),
Decrement,
DefineFunction(Box<DefineFunction>),
DefineFunction2(Box<DefineFunction2>),
DefineLocal,
DefineLocal2,
Delete,
Delete2,
Divide,
EndDrag,
Enumerate,
Enumerate2,
Equals,
Equals2,
Extends,
FsCommand2,
GetMember,
GetProperty,
GetTime,
GetUrl(Box<GetUrl>),
GetUrl2(GetUrl2),
GetVariable,
GotoFrame(GotoFrame),
GotoFrame2(GotoFrame2),
GotoLabel(GoToLabel),
Greater,
ImplementsOp,
Increment,
InitArray,
InitObject,
InstanceOf,
Less,
Less2,
MbAsciiToChar,
MbCharToAscii,
MbStringExtract,
MbStringLength,
Modulo,
Multiply,
NewMethod,
NewObject,
NextFrame,
Not,
Or,
Play,
Pop,
PrevFrame,
Push(Push),
PushDuplicate,
RandomNumber,
Raw(Box<Raw>),
RemoveSprite,
SetMember,
SetProperty,
SetTarget(SetTarget),
SetTarget2,
SetVariable,
StackSwap,
StartDrag,
Stop,
StopSounds,
StoreRegister(StoreRegister),
StrictEquals,
StrictMode(StrictMode),
StringAdd,
StringEquals,
StringExtract,
StringGreater,
StringLength,
StringLess,
Subtract,
TargetPath,
ToInteger,
ToNumber,
ToString,
ToggleQuality,
Trace,
TypeOf,
End,
Jump(Jump),
If(If),
Throw,
Return,
Try(Box<Try>),
WaitForFrame(WaitForFrame),
WaitForFrame2(WaitForFrame2),
With(With),
Error(Error),
}
Variants
Add
Add2
And
AsciiToChar
BitAnd
BitOr
BitLShift
BitRShift
BitURShift
BitXor
Call
CallFunction
CallMethod
CharToAscii
CastOp
CloneSprite
ConstantPool(ConstantPool)
Decrement
DefineFunction(Box<DefineFunction>)
DefineFunction2(Box<DefineFunction2>)
DefineLocal
DefineLocal2
Delete
Delete2
Divide
EndDrag
Enumerate
Enumerate2
Equals
Equals2
Extends
FsCommand2
GetMember
GetProperty
GetTime
GetUrl(Box<GetUrl>)
GetUrl2(GetUrl2)
GetVariable
GotoFrame(GotoFrame)
GotoFrame2(GotoFrame2)
GotoLabel(GoToLabel)
Greater
ImplementsOp
Increment
InitArray
InitObject
InstanceOf
Less
Less2
MbAsciiToChar
MbCharToAscii
MbStringExtract
MbStringLength
Modulo
Multiply
NewMethod
NewObject
NextFrame
Not
Or
Play
Pop
PrevFrame
Push(Push)
PushDuplicate
RandomNumber
Raw(Box<Raw>)
RemoveSprite
SetMember
SetProperty
SetTarget(SetTarget)
SetTarget2
SetVariable
StackSwap
StartDrag
Stop
StopSounds
StoreRegister(StoreRegister)
StrictEquals
StrictMode(StrictMode)
StringAdd
StringEquals
StringExtract
StringGreater
StringLength
StringLess
Subtract
TargetPath
ToInteger
ToNumber
ToString
ToggleQuality
Trace
TypeOf
End
Jump(Jump)
If(If)
Throw
Return
Try(Box<Try>)
WaitForFrame(WaitForFrame)
WaitForFrame2(WaitForFrame2)
With(With)
Error(Error)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for Action
impl Ord for Action
sourceimpl PartialOrd<Action> for Action
impl PartialOrd<Action> for Action
sourcefn partial_cmp(&self, other: &Action) -> Option<Ordering>
fn partial_cmp(&self, other: &Action) -> 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 TryFrom<Action> for Action
impl TryFrom<Action> for Action
type Error = FromCfgActionError
type Error = FromCfgActionError
The type returned in the event of a conversion error.
sourcefn try_from(value: Action) -> Result<Self, FromCfgActionError>
fn try_from(value: Action) -> Result<Self, FromCfgActionError>
Performs the conversion.
impl Eq for Action
impl StructuralEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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