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