pub struct ContractBinding {
pub direction: ContractDirection,
pub name: Ident,
pub span: Span,
}Expand description
A single entry in a contracts: clause.
Fields§
§direction: ContractDirection§name: Ident§span: SpanTrait Implementations§
Source§impl Clone for ContractBinding
impl Clone for ContractBinding
Source§fn clone(&self) -> ContractBinding
fn clone(&self) -> ContractBinding
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 ContractBinding
impl Debug for ContractBinding
Auto Trait Implementations§
impl Freeze for ContractBinding
impl RefUnwindSafe for ContractBinding
impl Send for ContractBinding
impl Sync for ContractBinding
impl Unpin for ContractBinding
impl UnsafeUnpin for ContractBinding
impl UnwindSafe for ContractBinding
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