#[repr(transparent)]pub struct ItemHandle(pub u32);Expand description
Opaque handle for an OPC item.
Similar to GroupHandle, this ensures type-safe identification of tags
within an OPC group.
§Examples
use opc_da_client::ItemHandle;
let handle = ItemHandle(456u32);
assert_eq!(handle.0, 456u32);Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ItemHandle
impl Clone for ItemHandle
Source§fn clone(&self) -> ItemHandle
fn clone(&self) -> ItemHandle
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 ItemHandle
Source§impl Debug for ItemHandle
impl Debug for ItemHandle
Source§impl Default for ItemHandle
impl Default for ItemHandle
Source§fn default() -> ItemHandle
fn default() -> ItemHandle
Returns the “default value” for a type. Read more
impl Eq for ItemHandle
Source§impl Hash for ItemHandle
impl Hash for ItemHandle
Source§impl PartialEq for ItemHandle
impl PartialEq for ItemHandle
impl StructuralPartialEq for ItemHandle
Auto Trait Implementations§
impl Freeze for ItemHandle
impl RefUnwindSafe for ItemHandle
impl Send for ItemHandle
impl Sync for ItemHandle
impl Unpin for ItemHandle
impl UnsafeUnpin for ItemHandle
impl UnwindSafe for ItemHandle
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