pub struct TyFunc {
pub name_hint: Option<Ident>,
pub args: Vec<Option<Ty>>,
pub return_ty: Box<Option<Ty>>,
}
Fields§
§name_hint: Option<Ident>
§args: Vec<Option<Ty>>
§return_ty: Box<Option<Ty>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TyFunc
impl<'de> Deserialize<'de> for TyFunc
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
impl StructuralPartialEq for TyFunc
Auto Trait Implementations§
impl Freeze for TyFunc
impl RefUnwindSafe for TyFunc
impl Send for TyFunc
impl Sync for TyFunc
impl Unpin for TyFunc
impl UnwindSafe for TyFunc
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