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
sourceimpl ThemedTextMaterialExtras
impl ThemedTextMaterialExtras
pub fn merge_to(&self, other: &mut ThemedTextMaterial)
Trait Implementations
sourceimpl Clone for ThemedTextMaterialExtras
impl Clone for ThemedTextMaterialExtras
sourcefn clone(&self) -> ThemedTextMaterialExtras
fn clone(&self) -> ThemedTextMaterialExtras
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 moresourceimpl Debug for ThemedTextMaterialExtras
impl Debug for ThemedTextMaterialExtras
sourceimpl Default for ThemedTextMaterialExtras
impl Default for ThemedTextMaterialExtras
sourcefn default() -> ThemedTextMaterialExtras
fn default() -> ThemedTextMaterialExtras
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ThemedTextMaterialExtras
impl<'de> Deserialize<'de> for ThemedTextMaterialExtras
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 Serialize for ThemedTextMaterialExtras
impl Serialize for ThemedTextMaterialExtras
Auto Trait Implementations
impl RefUnwindSafe for ThemedTextMaterialExtras
impl Send for ThemedTextMaterialExtras
impl Sync for ThemedTextMaterialExtras
impl Unpin for ThemedTextMaterialExtras
impl UnwindSafe for ThemedTextMaterialExtras
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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