pub struct FD4SingletonPartialResult { /* private fields */ }Expand description
“Unfinished” FD4Singleton mapping without names.
Dantelion2 reflection data is needed to finish mapping reflection primitives to the instance names, which must be initialized.
For that reason, FD4SingletonPartialResult::finish is unsafe.
Implementations§
Source§impl FD4SingletonPartialResult
impl FD4SingletonPartialResult
Sourcepub unsafe fn finish(self) -> FD4SingletonMap
pub unsafe fn finish(self) -> FD4SingletonMap
Finish mapping FD4Singleton instances by retrieving their names.
§Safety
The process must have finished initializing Dantelion2 reflection data.
Sourcepub fn all_null(&self) -> bool
pub fn all_null(&self) -> bool
Check whether all FD4Singleton instances are uninitialized.
It is a good sign Self::finish is not safe to be called.
Trait Implementations§
Source§impl Clone for FD4SingletonPartialResult
impl Clone for FD4SingletonPartialResult
Source§fn clone(&self) -> FD4SingletonPartialResult
fn clone(&self) -> FD4SingletonPartialResult
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 FD4SingletonPartialResult
impl Debug for FD4SingletonPartialResult
impl Send for FD4SingletonPartialResult
impl Sync for FD4SingletonPartialResult
Auto Trait Implementations§
impl Freeze for FD4SingletonPartialResult
impl RefUnwindSafe for FD4SingletonPartialResult
impl Unpin for FD4SingletonPartialResult
impl UnwindSafe for FD4SingletonPartialResult
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