Struct customasm::asm::parser::AstDirectiveFn
source · pub struct AstDirectiveFn {
pub header_span: Span,
pub name_span: Span,
pub name: String,
pub params: Vec<AstFnParameter>,
pub body: Expr,
pub item_ref: Option<ItemRef<Symbol>>,
}
Fields§
§header_span: Span
§name_span: Span
§name: String
§params: Vec<AstFnParameter>
§body: Expr
§item_ref: Option<ItemRef<Symbol>>
Trait Implementations§
source§impl Clone for AstDirectiveFn
impl Clone for AstDirectiveFn
source§fn clone(&self) -> AstDirectiveFn
fn clone(&self) -> AstDirectiveFn
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AstDirectiveFn
impl RefUnwindSafe for AstDirectiveFn
impl !Send for AstDirectiveFn
impl !Sync for AstDirectiveFn
impl Unpin for AstDirectiveFn
impl UnwindSafe for AstDirectiveFn
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)