Enum pax_std::types::text::TextAlignHorizontal
source · pub enum TextAlignHorizontal {
Left,
Center,
Right,
}
Variants§
Trait Implementations§
source§impl Clone for TextAlignHorizontal
impl Clone for TextAlignHorizontal
source§fn clone(&self) -> TextAlignHorizontal
fn clone(&self) -> TextAlignHorizontal
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 TextAlignHorizontal
impl Debug for TextAlignHorizontal
source§impl Default for TextAlignHorizontal
impl Default for TextAlignHorizontal
source§fn default() -> TextAlignHorizontal
fn default() -> TextAlignHorizontal
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TextAlignHorizontal
impl<'de> Deserialize<'de> for TextAlignHorizontal
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
source§impl Interpolatable for TextAlignHorizontal
impl Interpolatable for TextAlignHorizontal
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl Into<TextAlignHorizontalMessage> for &TextAlignHorizontal
impl Into<TextAlignHorizontalMessage> for &TextAlignHorizontal
source§fn into(self) -> TextAlignHorizontalMessage
fn into(self) -> TextAlignHorizontalMessage
Converts this type into the (usually inferred) input type.
source§impl PartialEq<TextAlignHorizontalMessage> for TextAlignHorizontal
impl PartialEq<TextAlignHorizontalMessage> for TextAlignHorizontal
source§fn eq(&self, other: &TextAlignHorizontalMessage) -> bool
fn eq(&self, other: &TextAlignHorizontalMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TextAlignHorizontal
impl Serialize for TextAlignHorizontal
impl ImplToFromPaxAny for TextAlignHorizontal
Auto Trait Implementations§
impl Freeze for TextAlignHorizontal
impl RefUnwindSafe for TextAlignHorizontal
impl Send for TextAlignHorizontal
impl Sync for TextAlignHorizontal
impl Unpin for TextAlignHorizontal
impl UnwindSafe for TextAlignHorizontal
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
source§impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.