Struct swf_types::tags::DefineDynamicText
source · [−]pub struct DefineDynamicText {Show 24 fields
pub id: u16,
pub bounds: Rect,
pub word_wrap: bool,
pub multiline: bool,
pub password: bool,
pub readonly: bool,
pub auto_size: bool,
pub no_select: bool,
pub border: bool,
pub was_static: bool,
pub html: bool,
pub use_glyph_font: bool,
pub font_id: Option<u16>,
pub font_class: Option<String>,
pub font_size: Option<u16>,
pub color: Option<StraightSRgba8>,
pub max_length: Option<usize>,
pub align: TextAlignment,
pub margin_left: u16,
pub margin_right: u16,
pub indent: u16,
pub leading: i16,
pub variable_name: Option<String>,
pub text: Option<String>,
}
Fields
id: u16
bounds: Rect
word_wrap: bool
multiline: bool
password: bool
readonly: bool
auto_size: bool
no_select: bool
border: bool
was_static: bool
html: bool
use_glyph_font: bool
font_id: Option<u16>
font_class: Option<String>
font_size: Option<u16>
color: Option<StraightSRgba8>
max_length: Option<usize>
align: TextAlignment
margin_left: u16
margin_right: u16
indent: u16
leading: i16
variable_name: Option<String>
text: Option<String>
Trait Implementations
sourceimpl Clone for DefineDynamicText
impl Clone for DefineDynamicText
sourcefn clone(&self) -> DefineDynamicText
fn clone(&self) -> DefineDynamicText
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 DefineDynamicText
impl Debug for DefineDynamicText
sourceimpl<'de> Deserialize<'de> for DefineDynamicText
impl<'de> Deserialize<'de> for DefineDynamicText
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 DefineDynamicText
impl Hash for DefineDynamicText
sourceimpl Ord for DefineDynamicText
impl Ord for DefineDynamicText
sourceimpl PartialEq<DefineDynamicText> for DefineDynamicText
impl PartialEq<DefineDynamicText> for DefineDynamicText
sourcefn eq(&self, other: &DefineDynamicText) -> bool
fn eq(&self, other: &DefineDynamicText) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefineDynamicText) -> bool
fn ne(&self, other: &DefineDynamicText) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DefineDynamicText> for DefineDynamicText
impl PartialOrd<DefineDynamicText> for DefineDynamicText
sourcefn partial_cmp(&self, other: &DefineDynamicText) -> Option<Ordering>
fn partial_cmp(&self, other: &DefineDynamicText) -> 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 DefineDynamicText
impl Serialize for DefineDynamicText
impl Eq for DefineDynamicText
impl StructuralEq for DefineDynamicText
impl StructuralPartialEq for DefineDynamicText
Auto Trait Implementations
impl RefUnwindSafe for DefineDynamicText
impl Send for DefineDynamicText
impl Sync for DefineDynamicText
impl Unpin for DefineDynamicText
impl UnwindSafe for DefineDynamicText
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