Struct jsdoc::ast::FunctionType
source · pub struct FunctionType {
pub span: Span,
pub ty: Box<Type>,
}Expand description
TODO: Add fields
Fields§
§span: Span§ty: Box<Type>Trait Implementations§
source§impl Clone for FunctionType
impl Clone for FunctionType
source§fn clone(&self) -> FunctionType
fn clone(&self) -> FunctionType
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 moresource§impl Debug for FunctionType
impl Debug for FunctionType
source§impl<'de> Deserialize<'de> for FunctionType
impl<'de> Deserialize<'de> for FunctionType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<FunctionType> for Type
impl From<FunctionType> for Type
source§fn from(v: FunctionType) -> Self
fn from(v: FunctionType) -> Self
Converts to this type from the input type.
source§impl PartialEq<FunctionType> for FunctionType
impl PartialEq<FunctionType> for FunctionType
source§fn eq(&self, other: &FunctionType) -> bool
fn eq(&self, other: &FunctionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.