pub struct Libraries {
pub inner: BTreeMap<String, BTreeMap<String, String>>,
}
Expand description
The Solidity libraries.
Fields§
§inner: BTreeMap<String, BTreeMap<String, String>>
The unified representation of libraries.
Implementations§
Source§impl Libraries
impl Libraries
Sourcepub fn as_linker_symbols(&self) -> Result<BTreeMap<String, [u8; 20]>>
pub fn as_linker_symbols(&self) -> Result<BTreeMap<String, [u8; 20]>>
Returns a representation of libraries suitable for the LLD linker.
Sourcepub fn as_paths(&self) -> BTreeSet<String>
pub fn as_paths(&self) -> BTreeSet<String>
Returns a representation of libraries suitable for filtering.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Libraries
impl<'de> Deserialize<'de> for Libraries
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 Libraries
impl RefUnwindSafe for Libraries
impl Send for Libraries
impl Sync for Libraries
impl Unpin for Libraries
impl UnwindSafe for Libraries
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