pub struct ThemedTextMaterialExtras {
pub horizontal_align: Option<TextBoxHorizontalAlign>,
pub vertical_align: Option<TextBoxVerticalAlign>,
pub direction: Option<TextBoxDirection>,
pub font: Option<TextBoxFont>,
}
Fields§
§horizontal_align: Option<TextBoxHorizontalAlign>
§vertical_align: Option<TextBoxVerticalAlign>
§direction: Option<TextBoxDirection>
§font: Option<TextBoxFont>
Implementations§
Source§impl ThemedTextMaterialExtras
impl ThemedTextMaterialExtras
pub fn merge_to(&self, other: &mut ThemedTextMaterial)
Trait Implementations§
Source§impl Clone for ThemedTextMaterialExtras
impl Clone for ThemedTextMaterialExtras
Source§fn clone(&self) -> ThemedTextMaterialExtras
fn clone(&self) -> ThemedTextMaterialExtras
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThemedTextMaterialExtras
impl Debug for ThemedTextMaterialExtras
Source§impl Default for ThemedTextMaterialExtras
impl Default for ThemedTextMaterialExtras
Source§fn default() -> ThemedTextMaterialExtras
fn default() -> ThemedTextMaterialExtras
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThemedTextMaterialExtras
impl<'de> Deserialize<'de> for ThemedTextMaterialExtras
Source§fn 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
Auto Trait Implementations§
impl Freeze for ThemedTextMaterialExtras
impl RefUnwindSafe for ThemedTextMaterialExtras
impl Send for ThemedTextMaterialExtras
impl Sync for ThemedTextMaterialExtras
impl Unpin for ThemedTextMaterialExtras
impl UnwindSafe for ThemedTextMaterialExtras
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