pub struct TestFunction<'ast> {
pub function: Function<'ast>,
pub span: Span<'ast>,
}
Fields§
§function: Function<'ast>
§span: Span<'ast>
Trait Implementations§
Source§impl<'ast> Clone for TestFunction<'ast>
impl<'ast> Clone for TestFunction<'ast>
Source§fn clone(&self) -> TestFunction<'ast>
fn clone(&self) -> TestFunction<'ast>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'ast> Debug for TestFunction<'ast>
impl<'ast> Debug for TestFunction<'ast>
Source§impl<'ast> FromPest<'ast> for TestFunction<'ast>
impl<'ast> FromPest<'ast> for TestFunction<'ast>
Source§impl<'ast> PartialEq for TestFunction<'ast>
impl<'ast> PartialEq for TestFunction<'ast>
Source§impl<'ast> Serialize for TestFunction<'ast>
impl<'ast> Serialize for TestFunction<'ast>
impl<'ast> StructuralPartialEq for TestFunction<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for TestFunction<'ast>
impl<'ast> RefUnwindSafe for TestFunction<'ast>
impl<'ast> Send for TestFunction<'ast>
impl<'ast> Sync for TestFunction<'ast>
impl<'ast> Unpin for TestFunction<'ast>
impl<'ast> UnwindSafe for TestFunction<'ast>
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