Enum deno_doc::params::ParamDef [−][src]
pub enum ParamDef { Array { elements: Vec<Option<ParamDef>>, optional: bool, ts_type: Option<TsTypeDef>, }, Assign { left: Box<ParamDef>, right: String, ts_type: Option<TsTypeDef>, }, Identifier { name: String, optional: bool, ts_type: Option<TsTypeDef>, }, Object { props: Vec<ObjectPatPropDef>, optional: bool, ts_type: Option<TsTypeDef>, }, Rest { arg: Box<ParamDef>, ts_type: Option<TsTypeDef>, }, }
Variants
Show fields
Fields of Object
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ParamDef
impl UnwindSafe for ParamDef
Blanket Implementations
Mutably borrows from an owned value. Read more