pub struct ListedProgram {
pub root: String,
pub tools: Vec<(Identity, TypeSpec)>,
}Expand description
One program’s Tools as the --contract file lists them (abi.md,
Binding).
Fields§
§root: StringThe program’s root: the path of the file it was formed from.
tools: Vec<(Identity, TypeSpec)>Each Tool’s identity and its own description, in the file’s order.
Trait Implementations§
Source§impl Clone for ListedProgram
impl Clone for ListedProgram
Auto Trait Implementations§
impl Forget for ListedProgram
impl Freeze for ListedProgramwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(Identity, TypeSpec)>: Freeze,
impl Move for ListedProgram
impl RefUnwindSafe for ListedProgramwhere
Atomic<usize>: RefUnwindSafe,
Mutex<HashMap<(Type, Settings), Option<String>>>: RefUnwindSafe,
impl Send for ListedProgram
impl Sync for ListedProgram
impl Unpin for ListedProgram
impl UnsafeUnpin for ListedProgramwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(Identity, TypeSpec)>: UnsafeUnpin,
impl UnwindSafe for ListedProgramwhere
RawVecInner: UnwindSafe,
Arc<RecordShape>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<EnumShape>: UnwindSafe,
Mutex<HashMap<(Type, Settings), Option<String>>>: UnwindSafe,
HashMap<Box<str>, usize>: UnwindSafe,
BoxRaw<[usize]>: UnwindSafe,
BoxRaw<[Option<OptionCtor>]>: UnwindSafe,
BoxRaw<[Option<JsonValueCtor>]>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
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