pub struct EditText<'a> { /* private fields */ }Implementations§
Source§impl<'a> EditText<'a>
impl<'a> EditText<'a>
pub fn new() -> Self
pub fn bounds(&self) -> &Rectangle<Twips>
pub fn with_bounds(self, bounds: Rectangle<Twips>) -> Self
pub fn id(&self) -> CharacterId
pub fn with_id(self, id: CharacterId) -> Self
pub fn font_id(&self) -> Option<CharacterId>
pub fn font_class(&self) -> Option<&'a SwfStr>
pub fn height(&self) -> Option<Twips>
pub fn with_default_font(self) -> Self
pub fn with_font_id(self, font_id: CharacterId, height: Twips) -> Self
pub fn with_font_class(self, font_class: &'a SwfStr, height: Twips) -> Self
pub fn color(&self) -> Option<&Color>
pub fn with_color(self, color: Option<Color>) -> Self
pub fn max_length(&self) -> Option<u16>
pub fn with_max_length(self, max_length: Option<u16>) -> Self
pub fn layout(&self) -> Option<&TextLayout>
pub fn with_layout(self, layout: Option<TextLayout>) -> Self
pub fn variable_name(&self) -> &'a SwfStr
pub fn with_variable_name(self, variable_name: &'a SwfStr) -> Self
pub fn initial_text(&self) -> Option<&'a SwfStr>
pub fn with_initial_text(self, initial_text: Option<&'a SwfStr>) -> Self
pub fn flags(&self) -> EditTextFlag
pub fn is_auto_size(&self) -> bool
pub fn with_is_auto_size(self, value: bool) -> Self
pub fn use_outlines(&self) -> bool
pub fn with_use_outlines(self, value: bool) -> Self
pub fn has_border(&self) -> bool
pub fn with_has_border(self, value: bool) -> Self
pub fn is_html(&self) -> bool
pub fn with_is_html(self, value: bool) -> Self
pub fn is_multiline(&self) -> bool
pub fn with_is_multiline(self, value: bool) -> Self
pub fn is_password(&self) -> bool
pub fn with_is_password(self, value: bool) -> Self
pub fn is_read_only(&self) -> bool
pub fn with_is_read_only(self, value: bool) -> Self
pub fn is_selectable(&self) -> bool
pub fn with_is_selectable(self, value: bool) -> Self
pub fn was_static(&self) -> bool
pub fn with_was_static(self, value: bool) -> Self
pub fn is_word_wrap(&self) -> bool
pub fn with_is_word_wrap(self, value: bool) -> Self
Trait Implementations§
impl<'a> Eq for EditText<'a>
impl<'a> StructuralPartialEq for EditText<'a>
Auto Trait Implementations§
impl<'a> Freeze for EditText<'a>
impl<'a> RefUnwindSafe for EditText<'a>
impl<'a> Send for EditText<'a>
impl<'a> Sync for EditText<'a>
impl<'a> Unpin for EditText<'a>
impl<'a> UnwindSafe for EditText<'a>
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