pub enum ClassField {
Field(DCField),
Atomic(DCAtomicField),
Molecular(DCMolecularField),
}Expand description
Enumerator representing the 3 types of fields that inherit DC Field, which can legally be declared within a Distributed Class.
Plain DC Fields represent a property, or member, of a structure or class. DC fields have a data type assigned to them.
DC Atomic Fields represent a method of a Distributed Class, which is always implemented as a remote procedure call (RPC). Unlike attribute fields, atomic fields cannot be declared within structs.
DC Molecular Fields represent a collection of one or more DC Atomic Fields as one field under one identifier. The parameters of a molecular field are the parameters of all the fields it represents, joined together in the order in which they were declared when the molecular field was declared.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClassField
impl RefUnwindSafe for ClassField
impl Send for ClassField
impl Sync for ClassField
impl Unpin for ClassField
impl UnwindSafe for ClassField
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