pub struct Function<'f> {
pub validator: FuncValidator<ValidatorResources>,
pub body: FunctionBody<'f>,
}
Expand description
Function with validator.
Fields§
§validator: FuncValidator<ValidatorResources>
Function validator.
body: FunctionBody<'f>
Function body.
Implementations§
Auto Trait Implementations§
impl<'f> Freeze for Function<'f>
impl<'f> RefUnwindSafe for Function<'f>
impl<'f> Send for Function<'f>
impl<'f> Sync for Function<'f>
impl<'f> Unpin for Function<'f>
impl<'f> UnwindSafe for Function<'f>
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