pub enum LocalOutput {
Fields(Vec<LocalOutputField>),
Type(TypeExpr),
}Expand description
A declared output type of a local callable (CIP-231): the procedure
form :: (a :: INT, ...) or the function form :: STRING.
Variants§
Fields(Vec<LocalOutputField>)
:: (<mandatory field signature>, ...) on a procedure.
Type(TypeExpr)
:: <value type> on a function.
Trait Implementations§
Source§impl Clone for LocalOutput
impl Clone for LocalOutput
Source§impl Debug for LocalOutput
impl Debug for LocalOutput
Source§impl PartialEq for LocalOutput
impl PartialEq for LocalOutput
impl StructuralPartialEq for LocalOutput
Auto Trait Implementations§
impl Forget for LocalOutput
impl Freeze for LocalOutput
impl Move for LocalOutput
impl RefUnwindSafe for LocalOutput
impl Send for LocalOutput
impl Sync for LocalOutput
impl Unpin for LocalOutput
impl UnsafeUnpin for LocalOutput
impl UnwindSafe for LocalOutput
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