pub struct Short(/* private fields */);Expand description
A wrapper struct for a signed 16-bit value, typically used for implementing DataReader and DataWriter.
Trait Implementations§
source§impl ImportantFunctions for Short
impl ImportantFunctions for Short
§type ReturnType = <Short as ImportantFunctions>::InputType
type ReturnType = <Short 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 Short
impl RefUnwindSafe for Short
impl Send for Short
impl Sync for Short
impl Unpin for Short
impl UnwindSafe for Short
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