pub trait SimultaneousUnsafeAssign {
    // Required method
    unsafe fn set_all(self);
}

Required Methods§

source

unsafe fn set_all(self)

Complete all assignments that have been deferred ‘simultaneously’. This is not actually simultaneous, but ensures that all values are assigned, without the struct they are a part of being read in an invalid state

Safety
  • ensure that all invariants are upheld after all assignments are complete

Implementors§