#[repr(C)]pub struct StatementTypeFunction<'ast> {
pub base: StatementHeader<'ast>,
pub name: AstName<'ast>,
pub name_location: Location,
pub exported: bool,
pub body: &'ast Function<'ast>,
pub has_errors: bool,
}Fields§
§base: StatementHeader<'ast>§name: AstName<'ast>§name_location: Location§exported: bool§body: &'ast Function<'ast>§has_errors: boolImplementations§
Source§impl<'ast> StatementTypeFunction<'ast>
impl<'ast> StatementTypeFunction<'ast>
Trait Implementations§
Source§impl Debug for StatementTypeFunction<'_>
impl Debug for StatementTypeFunction<'_>
Auto Trait Implementations§
impl<'ast> !Send for StatementTypeFunction<'ast>
impl<'ast> !Sync for StatementTypeFunction<'ast>
impl<'ast> Freeze for StatementTypeFunction<'ast>
impl<'ast> RefUnwindSafe for StatementTypeFunction<'ast>
impl<'ast> Unpin for StatementTypeFunction<'ast>
impl<'ast> UnsafeUnpin for StatementTypeFunction<'ast>
impl<'ast> UnwindSafe for StatementTypeFunction<'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