Struct deno_doc::interface::InterfaceMethodDef [−][src]
pub struct InterfaceMethodDef { pub name: String, pub location: Location, pub js_doc: Option<String>, pub optional: bool, pub params: Vec<ParamDef>, pub return_type: Option<TsTypeDef>, pub type_params: Vec<TsTypeParamDef>, }
Fields
name: String
location: Location
js_doc: Option<String>
optional: bool
params: Vec<ParamDef>
return_type: Option<TsTypeDef>
type_params: Vec<TsTypeParamDef>
Trait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InterfaceMethodDef
impl Send for InterfaceMethodDef
impl Sync for InterfaceMethodDef
impl Unpin for InterfaceMethodDef
impl UnwindSafe for InterfaceMethodDef
Blanket Implementations
Mutably borrows from an owned value. Read more