pub struct ContractTrait {
pub name: String,
pub path: Vec<String>,
pub methods: Vec<ContractMethod>,
pub file: PathBuf,
pub line: usize,
}Expand description
sofie split serves it from the app its module moves to.
Fields§
§name: String§path: Vec<String>Within its contract crate.
methods: Vec<ContractMethod>§file: PathBuf§line: usizeImplementations§
Source§impl ContractTrait
impl ContractTrait
pub fn crosses_apps(&self) -> bool
Trait Implementations§
Source§impl Clone for ContractTrait
impl Clone for ContractTrait
Source§impl Debug for ContractTrait
impl Debug for ContractTrait
impl Eq for ContractTrait
Source§impl PartialEq for ContractTrait
impl PartialEq for ContractTrait
impl StructuralPartialEq for ContractTrait
Auto Trait Implementations§
impl Forget for ContractTrait
impl Freeze for ContractTrait
impl RefUnwindSafe for ContractTrait
impl Send for ContractTrait
impl Sync for ContractTrait
impl Unpin for ContractTrait
impl UnsafeUnpin for ContractTrait
impl UnwindSafe for ContractTrait
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