Struct swf_types::tags::DefineButton
source · [−]pub struct DefineButton {
pub id: u16,
pub track_as_menu: bool,
pub records: Vec<ButtonRecord>,
pub actions: Vec<ButtonCondAction>,
}
Fields
id: u16
records: Vec<ButtonRecord>
actions: Vec<ButtonCondAction>
Trait Implementations
sourceimpl Clone for DefineButton
impl Clone for DefineButton
sourcefn clone(&self) -> DefineButton
fn clone(&self) -> DefineButton
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DefineButton
impl Debug for DefineButton
sourceimpl<'de> Deserialize<'de> for DefineButton
impl<'de> Deserialize<'de> for DefineButton
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 PartialEq<DefineButton> for DefineButton
impl PartialEq<DefineButton> for DefineButton
sourcefn eq(&self, other: &DefineButton) -> bool
fn eq(&self, other: &DefineButton) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefineButton) -> bool
fn ne(&self, other: &DefineButton) -> bool
This method tests for !=
.
sourceimpl Serialize for DefineButton
impl Serialize for DefineButton
impl Eq for DefineButton
impl StructuralEq for DefineButton
impl StructuralPartialEq for DefineButton
Auto Trait Implementations
impl RefUnwindSafe for DefineButton
impl Send for DefineButton
impl Sync for DefineButton
impl Unpin for DefineButton
impl UnwindSafe for DefineButton
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more