#[repr(transparent)]pub struct GroupHandle(pub u32);Expand description
Opaque handle for an OPC group.
This wrapper type enhances type safety when interacting with OPC COM interfaces, preventing accidental mixing of group and item handles.
§Examples
use opc_da_client::GroupHandle;
let handle = GroupHandle(123u32);
assert_eq!(handle.0, 123u32);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for GroupHandle
impl Clone for GroupHandle
Source§fn clone(&self) -> GroupHandle
fn clone(&self) -> GroupHandle
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 GroupHandle
Source§impl Debug for GroupHandle
impl Debug for GroupHandle
Source§impl Default for GroupHandle
impl Default for GroupHandle
Source§fn default() -> GroupHandle
fn default() -> GroupHandle
Returns the “default value” for a type. Read more
impl Eq for GroupHandle
Source§impl Hash for GroupHandle
impl Hash for GroupHandle
Source§impl PartialEq for GroupHandle
impl PartialEq for GroupHandle
impl StructuralPartialEq for GroupHandle
Auto Trait Implementations§
impl Freeze for GroupHandle
impl RefUnwindSafe for GroupHandle
impl Send for GroupHandle
impl Sync for GroupHandle
impl Unpin for GroupHandle
impl UnsafeUnpin for GroupHandle
impl UnwindSafe for GroupHandle
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