pub struct CellDef {
pub name: String,
pub generic_params: Vec<GenericParam>,
pub params: Vec<Param>,
pub return_type: Option<TypeExpr>,
pub effects: Vec<String>,
pub body: Vec<Stmt>,
pub is_pub: bool,
pub is_async: bool,
pub where_clauses: Vec<Expr>,
pub span: Span,
}Fields§
§name: String§generic_params: Vec<GenericParam>§params: Vec<Param>§return_type: Option<TypeExpr>§effects: Vec<String>§body: Vec<Stmt>§is_pub: bool§is_async: bool§where_clauses: Vec<Expr>§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for CellDef
impl<'de> Deserialize<'de> for CellDef
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 CellDef
impl RefUnwindSafe for CellDef
impl Send for CellDef
impl Sync for CellDef
impl Unpin for CellDef
impl UnwindSafe for CellDef
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