Struct swf_types::tags::PlaceObject
source · [−]pub struct PlaceObject {Show 15 fields
pub is_update: bool,
pub depth: u16,
pub character_id: Option<u16>,
pub class_name: Option<String>,
pub matrix: Option<Matrix>,
pub color_transform: Option<ColorTransformWithAlpha>,
pub ratio: Option<u16>,
pub name: Option<String>,
pub clip_depth: Option<u16>,
pub filters: Option<Vec<Filter>>,
pub blend_mode: Option<BlendMode>,
pub bitmap_cache: Option<bool>,
pub visible: Option<bool>,
pub background_color: Option<StraightSRgba8>,
pub clip_actions: Option<Vec<ClipAction>>,
}
Fields
is_update: bool
Corresponds to is_move
in the SWF spec.
depth: u16
character_id: Option<u16>
class_name: Option<String>
matrix: Option<Matrix>
color_transform: Option<ColorTransformWithAlpha>
ratio: Option<u16>
name: Option<String>
clip_depth: Option<u16>
filters: Option<Vec<Filter>>
blend_mode: Option<BlendMode>
bitmap_cache: Option<bool>
visible: Option<bool>
background_color: Option<StraightSRgba8>
clip_actions: Option<Vec<ClipAction>>
Trait Implementations
sourceimpl Clone for PlaceObject
impl Clone for PlaceObject
sourcefn clone(&self) -> PlaceObject
fn clone(&self) -> PlaceObject
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 PlaceObject
impl Debug for PlaceObject
sourceimpl<'de> Deserialize<'de> for PlaceObject
impl<'de> Deserialize<'de> for PlaceObject
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<PlaceObject> for PlaceObject
impl PartialEq<PlaceObject> for PlaceObject
sourcefn eq(&self, other: &PlaceObject) -> bool
fn eq(&self, other: &PlaceObject) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlaceObject) -> bool
fn ne(&self, other: &PlaceObject) -> bool
This method tests for !=
.
sourceimpl Serialize for PlaceObject
impl Serialize for PlaceObject
impl Eq for PlaceObject
impl StructuralEq for PlaceObject
impl StructuralPartialEq for PlaceObject
Auto Trait Implementations
impl RefUnwindSafe for PlaceObject
impl Send for PlaceObject
impl Sync for PlaceObject
impl Unpin for PlaceObject
impl UnwindSafe for PlaceObject
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