pub struct FunctionNode {
pub core: NodeCore,
pub param_count: u32,
pub typed_param_count: u32,
pub has_return_type: bool,
pub is_async: bool,
pub is_generator: bool,
pub visibility: Visibility,
}Expand description
Function node
Fields§
§core: NodeCore§param_count: u32§typed_param_count: u32§has_return_type: bool§is_async: bool§is_generator: bool§visibility: VisibilityTrait Implementations§
Source§impl Clone for FunctionNode
impl Clone for FunctionNode
Source§fn clone(&self) -> FunctionNode
fn clone(&self) -> FunctionNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionNode
impl RefUnwindSafe for FunctionNode
impl Send for FunctionNode
impl Sync for FunctionNode
impl Unpin for FunctionNode
impl UnsafeUnpin for FunctionNode
impl UnwindSafe for FunctionNode
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