Struct donet_core::dcatomic::DCAtomicField
source · pub struct DCAtomicField<'dc> {
base_field: DCField<'dc>,
elements: Vec<&'dc DCParameter<'dc>>,
}
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<'dc>
§elements: Vec<&'dc DCParameter<'dc>>
Implementations§
source§impl<'dc> DCAtomicField<'dc>
impl<'dc> DCAtomicField<'dc>
pub fn get_num_elements(&self) -> usize
pub fn get_element(&self, index: usize) -> Option<&'dc DCParameter<'dc>>
pub fn set_keyword_list(&mut self, kw_list: DCKeywordList<'dc>)
Trait Implementations§
source§impl<'dc> Debug for DCAtomicField<'dc>
impl<'dc> Debug for DCAtomicField<'dc>
source§impl<'dc> Display for DCAtomicField<'dc>
impl<'dc> Display for DCAtomicField<'dc>
source§impl<'dc> LegacyDCHash for DCAtomicField<'dc>
impl<'dc> LegacyDCHash for DCAtomicField<'dc>
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<'dc> Freeze for DCAtomicField<'dc>
impl<'dc> RefUnwindSafe for DCAtomicField<'dc>
impl<'dc> Send for DCAtomicField<'dc>
impl<'dc> Sync for DCAtomicField<'dc>
impl<'dc> Unpin for DCAtomicField<'dc>
impl<'dc> UnwindSafe for DCAtomicField<'dc>
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