pub struct ExtractSpec {
pub name: String,
pub type_params: Vec<String>,
pub params: Vec<Param>,
pub return_type: TypeExpr,
pub effects: Vec<Effect>,
}Expand description
Wire form of lex_ast::ExtractFnSpec.
Fields§
§name: String§type_params: Vec<String>§params: Vec<Param>§return_type: TypeExpr§effects: Vec<Effect>Trait Implementations§
Source§impl Clone for ExtractSpec
impl Clone for ExtractSpec
Source§impl Debug for ExtractSpec
impl Debug for ExtractSpec
Source§impl<'de> Deserialize<'de> for ExtractSpec
impl<'de> Deserialize<'de> for ExtractSpec
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
Auto Trait Implementations§
impl Freeze for ExtractSpec
impl RefUnwindSafe for ExtractSpec
impl Send for ExtractSpec
impl Sync for ExtractSpec
impl Unpin for ExtractSpec
impl UnsafeUnpin for ExtractSpec
impl UnwindSafe for ExtractSpec
Blanket Implementations§
impl<T> Allocation for T
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