Struct raui_core::widget::component::text_box::TextBoxProps [−][src]
pub struct TextBoxProps {
pub text: String,
pub width: TextBoxSizeValue,
pub height: TextBoxSizeValue,
pub horizontal_align: TextBoxHorizontalAlign,
pub vertical_align: TextBoxVerticalAlign,
pub direction: TextBoxDirection,
pub font: TextBoxFont,
pub color: Color,
pub transform: Transform,
}Fields
text: Stringwidth: TextBoxSizeValueheight: TextBoxSizeValuehorizontal_align: TextBoxHorizontalAlignvertical_align: TextBoxVerticalAligndirection: TextBoxDirectionfont: TextBoxFontcolor: Colortransform: TransformTrait Implementations
impl Clone for TextBoxProps[src]
impl Clone for TextBoxProps[src]fn clone(&self) -> TextBoxProps[src]
fn clone(&self) -> TextBoxProps[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for TextBoxProps[src]
impl Debug for TextBoxProps[src]impl Default for TextBoxProps[src]
impl Default for TextBoxProps[src]fn default() -> TextBoxProps[src]
fn default() -> TextBoxProps[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for TextBoxProps[src]
impl<'de> Deserialize<'de> for TextBoxProps[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Prefab for TextBoxProps[src]
impl Prefab for TextBoxProps[src]fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>[src]
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>[src]
impl PropsData for TextBoxProps where
Self: Clone, [src]
impl PropsData for TextBoxProps where
Self: Clone, [src]impl Serialize for TextBoxProps[src]
impl Serialize for TextBoxProps[src]Auto Trait Implementations
impl RefUnwindSafe for TextBoxProps
impl Send for TextBoxProps
impl Sync for TextBoxProps
impl Unpin for TextBoxProps
impl UnwindSafe for TextBoxProps
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,