Struct datatypes::UnsignedShort
source · pub struct UnsignedShort(/* private fields */);Expand description
A wrapper struct for an unsigned 16-bit value, typically used for implementing DataReader and DataWriter.
Trait Implementations§
source§impl DataReader for UnsignedShort
impl DataReader for UnsignedShort
source§impl Debug for UnsignedShort
impl Debug for UnsignedShort
source§impl ImportantFunctions for UnsignedShort
impl ImportantFunctions for UnsignedShort
§type ReturnType = <UnsignedShort as ImportantFunctions>::InputType
type ReturnType = <UnsignedShort as ImportantFunctions>::InputType
The type returned by
get_valuesource§fn get_value(&self) -> Self::ReturnType
fn get_value(&self) -> Self::ReturnType
A function that returns the hold data
Auto Trait Implementations§
impl Freeze for UnsignedShort
impl RefUnwindSafe for UnsignedShort
impl Send for UnsignedShort
impl Sync for UnsignedShort
impl Unpin for UnsignedShort
impl UnwindSafe for UnsignedShort
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