pub enum TextAlignmentHorizontalDelegate {
Left,
Center,
Right,
Justify,
}Variants§
Implementations§
Source§impl TextAlignmentHorizontalDelegate
impl TextAlignmentHorizontalDelegate
pub fn try_into_evaluated( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<TextAlignmentHorizontal, LumenError>
pub fn into_evaluated(self) -> Result<TextAlignmentHorizontal, LumenError>
Trait Implementations§
Source§impl DelegateEvaluable for TextAlignmentHorizontalDelegate
impl DelegateEvaluable for TextAlignmentHorizontalDelegate
type Evaluated = TextAlignmentHorizontal
fn eval( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Source§impl DelegateValue for TextAlignmentHorizontalDelegate
impl DelegateValue for TextAlignmentHorizontalDelegate
fn to_property_value(&self) -> PropertyValue
fn from_property_expression( value: PropertyExpression, ) -> Result<Self, LumenError>
fn to_property_expression(&self) -> PropertyExpression
Source§impl From<TextAlignmentHorizontal> for TextAlignmentHorizontalDelegate
impl From<TextAlignmentHorizontal> for TextAlignmentHorizontalDelegate
Source§fn from(value: TextAlignmentHorizontal) -> Self
fn from(value: TextAlignmentHorizontal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextAlignmentHorizontalDelegate
impl RefUnwindSafe for TextAlignmentHorizontalDelegate
impl Send for TextAlignmentHorizontalDelegate
impl Sync for TextAlignmentHorizontalDelegate
impl Unpin for TextAlignmentHorizontalDelegate
impl UnsafeUnpin for TextAlignmentHorizontalDelegate
impl UnwindSafe for TextAlignmentHorizontalDelegate
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