Struct swf_types::ButtonRecord
source · [−]pub struct ButtonRecord {
pub state_up: bool,
pub state_over: bool,
pub state_down: bool,
pub state_hit_test: bool,
pub character_id: u16,
pub depth: u16,
pub matrix: Matrix,
pub color_transform: ColorTransformWithAlpha,
pub filters: Vec<Filter>,
pub blend_mode: BlendMode,
}
Fields
state_up: bool
state_over: bool
state_down: bool
state_hit_test: bool
character_id: u16
depth: u16
matrix: Matrix
color_transform: ColorTransformWithAlpha
filters: Vec<Filter>
blend_mode: BlendMode
Trait Implementations
sourceimpl Clone for ButtonRecord
impl Clone for ButtonRecord
sourcefn clone(&self) -> ButtonRecord
fn clone(&self) -> ButtonRecord
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 ButtonRecord
impl Debug for ButtonRecord
sourceimpl<'de> Deserialize<'de> for ButtonRecord
impl<'de> Deserialize<'de> for ButtonRecord
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<ButtonRecord> for ButtonRecord
impl PartialEq<ButtonRecord> for ButtonRecord
sourcefn eq(&self, other: &ButtonRecord) -> bool
fn eq(&self, other: &ButtonRecord) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ButtonRecord) -> bool
fn ne(&self, other: &ButtonRecord) -> bool
This method tests for !=
.
sourceimpl Serialize for ButtonRecord
impl Serialize for ButtonRecord
impl Eq for ButtonRecord
impl StructuralEq for ButtonRecord
impl StructuralPartialEq for ButtonRecord
Auto Trait Implementations
impl RefUnwindSafe for ButtonRecord
impl Send for ButtonRecord
impl Sync for ButtonRecord
impl Unpin for ButtonRecord
impl UnwindSafe for ButtonRecord
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