pub struct DCAtomicField {
base_field: DCField,
elements: Vec<DCParameter>,
}Expand description
Represents an atomic field of a Distributed Class. This defines the interface to a DClass object, and is always implemented as a remote procedure call (RPC).
Fields§
§base_field: DCField§elements: Vec<DCParameter>Implementations§
Source§impl DCAtomicField
impl DCAtomicField
pub fn get_num_elements(&self) -> usize
pub fn get_element(&self, index: usize) -> Option<&DCParameter>
Trait Implementations§
Source§impl Debug for DCAtomicField
impl Debug for DCAtomicField
Source§impl Display for DCAtomicField
impl Display for DCAtomicField
Source§impl LegacyDCHash for DCAtomicField
impl LegacyDCHash for DCAtomicField
Source§fn generate_hash(&self, hashgen: &mut DCHashGenerator)
fn generate_hash(&self, hashgen: &mut DCHashGenerator)
Accumulates the properties of this DC element into the file hash.
Auto Trait Implementations§
impl Freeze for DCAtomicField
impl RefUnwindSafe for DCAtomicField
impl Send for DCAtomicField
impl Sync for DCAtomicField
impl Unpin for DCAtomicField
impl UnwindSafe for DCAtomicField
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