pub struct ContractSlice {
pub contract: ContractName,
pub symbols: Vec<String>,
}Expand description
The symbol-level slice of one contract for one write.
Fields§
§contract: ContractName§symbols: Vec<String>Exported contract symbols the written content references. Empty means the file references none yet — deliver the full contract.
Trait Implementations§
Source§impl Clone for ContractSlice
impl Clone for ContractSlice
Source§fn clone(&self) -> ContractSlice
fn clone(&self) -> ContractSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContractSlice
impl Debug for ContractSlice
impl Eq for ContractSlice
Source§impl PartialEq for ContractSlice
impl PartialEq for ContractSlice
impl StructuralPartialEq for ContractSlice
Auto Trait Implementations§
impl Freeze for ContractSlice
impl RefUnwindSafe for ContractSlice
impl Send for ContractSlice
impl Sync for ContractSlice
impl Unpin for ContractSlice
impl UnsafeUnpin for ContractSlice
impl UnwindSafe for ContractSlice
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