Enum datamodel_renderer::value::FunctionParam
source · pub enum FunctionParam<'a> {
KeyValue(Cow<'a, str>, Value<'a>),
OnlyValue(Value<'a>),
}
Expand description
Represents a function parameter in the PSL.
Variants§
Trait Implementations§
source§impl<'a> Debug for FunctionParam<'a>
impl<'a> Debug for FunctionParam<'a>
source§impl<'a> Display for FunctionParam<'a>
impl<'a> Display for FunctionParam<'a>
source§impl<'a> From<&'a str> for FunctionParam<'a>
impl<'a> From<&'a str> for FunctionParam<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FunctionParam<'a>
impl<'a> Send for FunctionParam<'a>
impl<'a> Sync for FunctionParam<'a>
impl<'a> Unpin for FunctionParam<'a>
impl<'a> UnwindSafe for FunctionParam<'a>
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