Struct prql_compiler::ast::TyFunc
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§
§impl<'de> Deserialize<'de> for TyFunc
impl<'de> Deserialize<'de> for TyFunc
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TyFunc, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TyFunc, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for TyFunc
impl Serialize for TyFunc
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TyFunc
Auto Trait Implementations§
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