pub enum Function {
Static(Rc<StaticFunctionData>),
Inline(Rc<InlineFunctionData>),
Map(Map),
Array(Array),
}Variants§
Implementations§
Source§impl Function
impl Function
pub fn display_representation( &self, xot: &Xot, context: &DynamicContext<'_>, ) -> String
Trait Implementations§
Source§impl From<InlineFunctionData> for Function
impl From<InlineFunctionData> for Function
Source§fn from(data: InlineFunctionData) -> Self
fn from(data: InlineFunctionData) -> Self
Converts to this type from the input type.
Source§impl From<StaticFunctionData> for Function
impl From<StaticFunctionData> for Function
Source§fn from(data: StaticFunctionData) -> Self
fn from(data: StaticFunctionData) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl !Send for Function
impl !Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more