Struct swf_types::tags::DefineShape
source · [−]pub struct DefineShape {
pub id: u16,
pub bounds: Rect,
pub edge_bounds: Option<Rect>,
pub has_fill_winding: bool,
pub has_non_scaling_strokes: bool,
pub has_scaling_strokes: bool,
pub shape: Shape,
}
Fields
id: u16
bounds: Rect
edge_bounds: Option<Rect>
has_fill_winding: bool
has_non_scaling_strokes: bool
has_scaling_strokes: bool
shape: Shape
Trait Implementations
sourceimpl Clone for DefineShape
impl Clone for DefineShape
sourcefn clone(&self) -> DefineShape
fn clone(&self) -> DefineShape
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 DefineShape
impl Debug for DefineShape
sourceimpl<'de> Deserialize<'de> for DefineShape
impl<'de> Deserialize<'de> for DefineShape
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 Hash for DefineShape
impl Hash for DefineShape
sourceimpl Ord for DefineShape
impl Ord for DefineShape
sourceimpl PartialEq<DefineShape> for DefineShape
impl PartialEq<DefineShape> for DefineShape
sourcefn eq(&self, other: &DefineShape) -> bool
fn eq(&self, other: &DefineShape) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefineShape) -> bool
fn ne(&self, other: &DefineShape) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DefineShape> for DefineShape
impl PartialOrd<DefineShape> for DefineShape
sourcefn partial_cmp(&self, other: &DefineShape) -> Option<Ordering>
fn partial_cmp(&self, other: &DefineShape) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for DefineShape
impl Serialize for DefineShape
impl Eq for DefineShape
impl StructuralEq for DefineShape
impl StructuralPartialEq for DefineShape
Auto Trait Implementations
impl RefUnwindSafe for DefineShape
impl Send for DefineShape
impl Sync for DefineShape
impl Unpin for DefineShape
impl UnwindSafe for DefineShape
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