pub struct FunctionTypeParameter {
pub name: IdentifierNode,
pub optional: bool,
pub rest: bool,
pub type_annotation: TypeAnnotationNode,
}Fields§
§name: IdentifierNode§optional: bool§rest: bool§type_annotation: TypeAnnotationNodeTrait Implementations§
Source§impl Clone for FunctionTypeParameter
impl Clone for FunctionTypeParameter
Source§fn clone(&self) -> FunctionTypeParameter
fn clone(&self) -> FunctionTypeParameter
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 moreSource§impl Debug for FunctionTypeParameter
impl Debug for FunctionTypeParameter
impl Eq for FunctionTypeParameter
Source§impl PartialEq for FunctionTypeParameter
impl PartialEq for FunctionTypeParameter
impl StructuralPartialEq for FunctionTypeParameter
Auto Trait Implementations§
impl Freeze for FunctionTypeParameter
impl RefUnwindSafe for FunctionTypeParameter
impl Send for FunctionTypeParameter
impl Sync for FunctionTypeParameter
impl Unpin for FunctionTypeParameter
impl UnsafeUnpin for FunctionTypeParameter
impl UnwindSafe for FunctionTypeParameter
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