pub struct AtomicOpsetDecl {
pub domain: &'static str,
pub version: i64,
pub ops: &'static [AtomicOpDecl],
}Expand description
Atomic-op opset owned by a <Role>Runtime impl. Merged into the
per-Node (domain, op_type, instance) → ComponentRef table at
Node::ready() time.
Fields§
§domain: &'static strPer-impl namespace. Convention: <crate>.<TypeName>.atomic.
version: i64Major version. Bumped when the op set changes meaningfully.
ops: &'static [AtomicOpDecl]Op_types this impl handles via dispatch_atomic.
Trait Implementations§
Source§impl Clone for AtomicOpsetDecl
impl Clone for AtomicOpsetDecl
Source§fn clone(&self) -> AtomicOpsetDecl
fn clone(&self) -> AtomicOpsetDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AtomicOpsetDecl
Auto Trait Implementations§
impl Freeze for AtomicOpsetDecl
impl RefUnwindSafe for AtomicOpsetDecl
impl Send for AtomicOpsetDecl
impl Sync for AtomicOpsetDecl
impl Unpin for AtomicOpsetDecl
impl UnsafeUnpin for AtomicOpsetDecl
impl UnwindSafe for AtomicOpsetDecl
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