pub struct NativeBindingId(/* private fields */);Expand description
Native binding identifier for host-system specific anchors.
Implementations§
Source§impl NativeBindingId
impl NativeBindingId
Sourcepub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
pub fn new(bytes: &[u8]) -> Result<Self, ValidationError>
Creates a validated identifier from canonical bytes.
Trait Implementations§
Source§impl Debug for NativeBindingId
impl Debug for NativeBindingId
impl Eq for NativeBindingId
Source§impl PartialEq for NativeBindingId
impl PartialEq for NativeBindingId
Source§fn eq(&self, other: &NativeBindingId) -> bool
fn eq(&self, other: &NativeBindingId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NativeBindingId
Auto Trait Implementations§
impl Freeze for NativeBindingId
impl RefUnwindSafe for NativeBindingId
impl Send for NativeBindingId
impl Sync for NativeBindingId
impl Unpin for NativeBindingId
impl UnsafeUnpin for NativeBindingId
impl UnwindSafe for NativeBindingId
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