pub struct AbiParserLegacy {}Implementations§
Source§impl AbiParserLegacy
impl AbiParserLegacy
Sourcepub fn tokens_from_abi_string(
abi: &str,
type_aliases: &HashMap<String, String>,
) -> CainomeResult<TokenizedAbi>
pub fn tokens_from_abi_string( abi: &str, type_aliases: &HashMap<String, String>, ) -> CainomeResult<TokenizedAbi>
Sourcepub fn parse_abi_string(abi: &str) -> CainomeResult<Vec<RawLegacyAbiEntry>>
pub fn parse_abi_string(abi: &str) -> CainomeResult<Vec<RawLegacyAbiEntry>>
Parses an ABI string to output a Vec<RawLegacyAbiEntry>.
§Arguments
abi- A string representing the ABI (a JSON array ofRawLegacyAbiEntry).
Sourcepub fn collect_tokens(
entries: &[RawLegacyAbiEntry],
type_aliases: &HashMap<String, String>,
) -> CainomeResult<TokenizedAbi>
pub fn collect_tokens( entries: &[RawLegacyAbiEntry], type_aliases: &HashMap<String, String>, ) -> CainomeResult<TokenizedAbi>
Parse all tokens in the ABI.
Auto Trait Implementations§
impl Freeze for AbiParserLegacy
impl RefUnwindSafe for AbiParserLegacy
impl Send for AbiParserLegacy
impl Sync for AbiParserLegacy
impl Unpin for AbiParserLegacy
impl UnwindSafe for AbiParserLegacy
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