pub enum TagCode {
Show 70 variants
End = 0,
ShowFrame = 1,
DefineShape = 2,
PlaceObject = 4,
RemoveObject = 5,
DefineBits = 6,
DefineButton = 7,
JpegTables = 8,
SetBackgroundColor = 9,
DefineFont = 10,
DefineText = 11,
DoAction = 12,
DefineFontInfo = 13,
DefineSound = 14,
StartSound = 15,
DefineButtonSound = 17,
SoundStreamHead = 18,
SoundStreamBlock = 19,
DefineBitsLossless = 20,
DefineBitsJpeg2 = 21,
DefineShape2 = 22,
DefineButtonCxform = 23,
Protect = 24,
PlaceObject2 = 26,
RemoveObject2 = 28,
DefineShape3 = 32,
DefineText2 = 33,
DefineButton2 = 34,
DefineBitsJpeg3 = 35,
DefineBitsLossless2 = 36,
DefineEditText = 37,
DefineSprite = 39,
NameCharacter = 40,
ProductInfo = 41,
FrameLabel = 43,
SoundStreamHead2 = 45,
DefineMorphShape = 46,
DefineFont2 = 48,
ExportAssets = 56,
ImportAssets = 57,
EnableDebugger = 58,
DoInitAction = 59,
DefineVideoStream = 60,
VideoFrame = 61,
DefineFontInfo2 = 62,
DebugId = 63,
EnableDebugger2 = 64,
ScriptLimits = 65,
SetTabIndex = 66,
FileAttributes = 69,
PlaceObject3 = 70,
ImportAssets2 = 71,
DoAbc = 72,
DefineFontAlignZones = 73,
CsmTextSettings = 74,
DefineFont3 = 75,
SymbolClass = 76,
Metadata = 77,
DefineScalingGrid = 78,
DoAbc2 = 82,
DefineShape4 = 83,
DefineMorphShape2 = 84,
DefineSceneAndFrameLabelData = 86,
DefineBinaryData = 87,
DefineFontName = 88,
StartSound2 = 89,
DefineBitsJpeg4 = 90,
DefineFont4 = 91,
EnableTelemetry = 93,
PlaceObject4 = 94,
}Variants§
End = 0
ShowFrame = 1
DefineShape = 2
PlaceObject = 4
RemoveObject = 5
DefineBits = 6
DefineButton = 7
JpegTables = 8
SetBackgroundColor = 9
DefineFont = 10
DefineText = 11
DoAction = 12
DefineFontInfo = 13
DefineSound = 14
StartSound = 15
DefineButtonSound = 17
SoundStreamHead = 18
SoundStreamBlock = 19
DefineBitsLossless = 20
DefineBitsJpeg2 = 21
DefineShape2 = 22
DefineButtonCxform = 23
Protect = 24
PlaceObject2 = 26
RemoveObject2 = 28
DefineShape3 = 32
DefineText2 = 33
DefineButton2 = 34
DefineBitsJpeg3 = 35
DefineBitsLossless2 = 36
DefineEditText = 37
DefineSprite = 39
NameCharacter = 40
ProductInfo = 41
FrameLabel = 43
SoundStreamHead2 = 45
DefineMorphShape = 46
DefineFont2 = 48
ExportAssets = 56
ImportAssets = 57
EnableDebugger = 58
DoInitAction = 59
DefineVideoStream = 60
VideoFrame = 61
DefineFontInfo2 = 62
DebugId = 63
EnableDebugger2 = 64
ScriptLimits = 65
SetTabIndex = 66
FileAttributes = 69
PlaceObject3 = 70
ImportAssets2 = 71
DoAbc = 72
DefineFontAlignZones = 73
CsmTextSettings = 74
DefineFont3 = 75
SymbolClass = 76
Metadata = 77
DefineScalingGrid = 78
DoAbc2 = 82
DefineShape4 = 83
DefineMorphShape2 = 84
DefineSceneAndFrameLabelData = 86
DefineBinaryData = 87
DefineFontName = 88
StartSound2 = 89
DefineBitsJpeg4 = 90
DefineFont4 = 91
EnableTelemetry = 93
PlaceObject4 = 94
Implementations§
Trait Implementations§
Source§impl FromPrimitive for TagCode
impl FromPrimitive for TagCode
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl Copy for TagCode
impl Eq for TagCode
impl StructuralPartialEq for TagCode
Auto Trait Implementations§
impl Freeze for TagCode
impl RefUnwindSafe for TagCode
impl Send for TagCode
impl Sync for TagCode
impl Unpin for TagCode
impl UnwindSafe for TagCode
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