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