pub struct NargoFile {
pub blocks: Vec<NargoBlock>,
pub span: Span,
}Expand description
Nargo 文件结构
Fields§
§blocks: Vec<NargoBlock>文件中的所有块
span: Span文件的整体位置范围
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NargoFile
impl<'de> Deserialize<'de> for NargoFile
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 NargoFile
impl RefUnwindSafe for NargoFile
impl Send for NargoFile
impl Sync for NargoFile
impl Unpin for NargoFile
impl UnsafeUnpin for NargoFile
impl UnwindSafe for NargoFile
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