pub struct Selection {
pub files: BTreeMap<String, File>,
/* private fields */
}
Expand description
The solc --standard-json
output selection.
Fields§
§files: BTreeMap<String, File>
Implementations§
Source§impl Selection
impl Selection
Sourcepub fn new_required() -> Self
pub fn new_required() -> Self
Creates the selection required by our compilation process.
Sourcepub fn new_required_for_tests() -> Self
pub fn new_required_for_tests() -> Self
Creates the selection required for test compilation (includes EVM bytecode).
Sourcepub fn extend_with_required(&mut self) -> &mut Self
pub fn extend_with_required(&mut self) -> &mut Self
Extends the user’s output selection with flag required by our compilation process.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Selection
impl<'de> Deserialize<'de> for Selection
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
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
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