pub struct LibraryDefinition {
pub name: String,
pub body: Vec<ContractBodyElement>,
}
Fields§
§name: String
§body: Vec<ContractBodyElement>
Trait Implementations§
Source§impl Clone for LibraryDefinition
impl Clone for LibraryDefinition
Source§fn clone(&self) -> LibraryDefinition
fn clone(&self) -> LibraryDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LibraryDefinition
impl Debug for LibraryDefinition
Source§impl PartialEq for LibraryDefinition
impl PartialEq for LibraryDefinition
impl StructuralPartialEq for LibraryDefinition
Auto Trait Implementations§
impl Freeze for LibraryDefinition
impl RefUnwindSafe for LibraryDefinition
impl Send for LibraryDefinition
impl Sync for LibraryDefinition
impl Unpin for LibraryDefinition
impl UnwindSafe for LibraryDefinition
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