pub struct Value16(/* private fields */);Expand description
A 16-bit value.
Trait Implementations§
Source§impl Ord for Value16
impl Ord for Value16
Source§impl PartialOrd for Value16
impl PartialOrd for Value16
Source§impl Value for Value16
impl Value for Value16
Source§fn from_number(number: Self::Number) -> Self
fn from_number(number: Self::Number) -> Self
Converts a number to a value.
Source§fn from_pointer(pointer: Self::Pointer) -> Self
fn from_pointer(pointer: Self::Pointer) -> Self
Converts a pointer to a value.
Source§fn to_pointer(self) -> Self::Pointer
fn to_pointer(self) -> Self::Pointer
Converts a value to a pointer.
Source§fn is_pointer(self) -> bool
fn is_pointer(self) -> bool
Checks if a value is a pointer.
impl Copy for Value16
impl Eq for Value16
impl StructuralPartialEq for Value16
Auto Trait Implementations§
impl Freeze for Value16
impl RefUnwindSafe for Value16
impl Send for Value16
impl Sync for Value16
impl Unpin for Value16
impl UnwindSafe for Value16
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