pub struct ObjectHandle(_);
Methods from Deref<Target = NonZeroU16>
pub const MIN: NonZeroU16 = Self::new(1).unwrap()
pub const MAX: NonZeroU16 = Self::new(u16::MAX).unwrap()
Trait Implementations
sourceimpl Binary for ObjectHandle
impl Binary for ObjectHandle
sourceimpl Clone for ObjectHandle
impl Clone for ObjectHandle
sourcefn clone(&self) -> ObjectHandle
fn clone(&self) -> ObjectHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjectHandle
impl Debug for ObjectHandle
sourceimpl Deref for ObjectHandle
impl Deref for ObjectHandle
type Target = NonZeroU16
type Target = NonZeroU16
The resulting type after dereferencing.
sourceimpl Display for ObjectHandle
impl Display for ObjectHandle
sourceimpl From<ObjectHandle> for NonZeroU16
impl From<ObjectHandle> for NonZeroU16
sourcefn from(original: ObjectHandle) -> Self
fn from(original: ObjectHandle) -> Self
Converts to this type from the input type.
sourceimpl Hash for ObjectHandle
impl Hash for ObjectHandle
sourceimpl LowerHex for ObjectHandle
impl LowerHex for ObjectHandle
sourceimpl Octal for ObjectHandle
impl Octal for ObjectHandle
sourceimpl Ord for ObjectHandle
impl Ord for ObjectHandle
sourceimpl PartialEq<ObjectHandle> for ObjectHandle
impl PartialEq<ObjectHandle> for ObjectHandle
sourcefn eq(&self, other: &ObjectHandle) -> bool
fn eq(&self, other: &ObjectHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjectHandle) -> bool
fn ne(&self, other: &ObjectHandle) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ObjectHandle> for ObjectHandle
impl PartialOrd<ObjectHandle> for ObjectHandle
sourcefn partial_cmp(&self, other: &ObjectHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectHandle) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl UpperHex for ObjectHandle
impl UpperHex for ObjectHandle
impl Copy for ObjectHandle
impl Eq for ObjectHandle
impl StructuralEq for ObjectHandle
impl StructuralPartialEq for ObjectHandle
Auto Trait Implementations
impl RefUnwindSafe for ObjectHandle
impl Send for ObjectHandle
impl Sync for ObjectHandle
impl Unpin for ObjectHandle
impl UnwindSafe for ObjectHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more