Struct oxygengine_user_interface::raui::material::component::interactive::text_field_paper::TextFieldPaperProps [−][src]
pub struct TextFieldPaperProps {
pub hint: String,
pub width: TextBoxSizeValue,
pub height: TextBoxSizeValue,
pub variant: String,
pub use_main_color: bool,
pub inactive_alpha: f32,
pub horizontal_align_override: Option<TextBoxHorizontalAlign>,
pub vertical_align_override: Option<TextBoxVerticalAlign>,
pub transform: Transform,
pub paper_theme: ThemedWidgetProps,
pub padding: Rect,
pub password: Option<char>,
}Fields
hint: Stringwidth: TextBoxSizeValueheight: TextBoxSizeValuevariant: Stringuse_main_color: boolinactive_alpha: f32horizontal_align_override: Option<TextBoxHorizontalAlign>vertical_align_override: Option<TextBoxVerticalAlign>transform: Transformpaper_theme: ThemedWidgetPropspadding: Rectpassword: Option<char>Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TextFieldPaperProps, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TextFieldPaperProps, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextFieldPaperPropsimpl Send for TextFieldPaperPropsimpl Sync for TextFieldPaperPropsimpl Unpin for TextFieldPaperPropsimpl UnwindSafe for TextFieldPaperPropsBlanket Implementations
Mutably borrows from an owned value. Read more