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: Option<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: Option<ColorTransformWithAlpha>
§filters: Vec<Filter>
§blend_mode: BlendMode
Trait Implementations§
Source§impl Clone for ButtonRecord
impl Clone for ButtonRecord
Source§fn clone(&self) -> ButtonRecord
fn clone(&self) -> ButtonRecord
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ButtonRecord
impl Debug for ButtonRecord
Source§impl<'de> Deserialize<'de> for ButtonRecord
impl<'de> Deserialize<'de> for ButtonRecord
Source§fn 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
Source§impl PartialEq for ButtonRecord
impl PartialEq for ButtonRecord
Source§impl Serialize for ButtonRecord
impl Serialize for ButtonRecord
impl Eq for ButtonRecord
impl StructuralPartialEq for ButtonRecord
Auto Trait Implementations§
impl Freeze for ButtonRecord
impl RefUnwindSafe for ButtonRecord
impl Send for ButtonRecord
impl Sync for ButtonRecord
impl Unpin for ButtonRecord
impl UnwindSafe for ButtonRecord
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