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