pub enum ContractDirection {
Demands,
Fulfils,
}Expand description
Direction marker for contract bindings in surfaces.
Variants§
Trait Implementations§
Source§impl Clone for ContractDirection
impl Clone for ContractDirection
Source§fn clone(&self) -> ContractDirection
fn clone(&self) -> ContractDirection
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 ContractDirection
impl Debug for ContractDirection
Auto Trait Implementations§
impl Freeze for ContractDirection
impl RefUnwindSafe for ContractDirection
impl Send for ContractDirection
impl Sync for ContractDirection
impl Unpin for ContractDirection
impl UnsafeUnpin for ContractDirection
impl UnwindSafe for ContractDirection
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