#[repr(C)]pub struct MapHistory_Command {
pub m_type: u8,
pub m_size: u16,
pub m_offset: i32,
}Expand description
Fields§
§m_type: u8§m_size: u16§m_offset: i32Implementations§
Source§impl MapHistory_Command
impl MapHistory_Command
Sourcepub fn get_offset(&mut self) -> i32
pub fn get_offset(&mut self) -> i32
get_Offset() overload
Sourcepub fn set_offset(&mut self, value: impl Into<i32>)
pub fn set_offset(&mut self, value: impl Into<i32>)
set_Offset(i32) overload
Sourcepub fn serialize(&mut self, stream: impl Into<Stream_2>)
pub fn serialize(&mut self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcepub fn deserialize(&mut self, stream: impl Into<Stream_2>)
pub fn deserialize(&mut self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Source§impl MapHistory_Command
impl MapHistory_Command
pub fn get_type_method_info() -> &'static MethodInfo
pub fn set_type_method_info() -> &'static MethodInfo
pub fn get_size_method_info() -> &'static MethodInfo
pub fn set_size_method_info() -> &'static MethodInfo
pub fn get_offset_method_info() -> &'static MethodInfo
pub fn set_offset_method_info() -> &'static MethodInfo
pub fn get_tail_method_info() -> &'static MethodInfo
pub fn clear_method_info() -> &'static MethodInfo
pub fn serialize_method_info() -> &'static MethodInfo
pub fn deserialize_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for MapHistory_Command
impl ClassIdentity for MapHistory_Command
Source§impl Clone for MapHistory_Command
impl Clone for MapHistory_Command
Source§fn clone(&self) -> MapHistory_Command
fn clone(&self) -> MapHistory_Command
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MapHistory_Command
Auto Trait Implementations§
impl Freeze for MapHistory_Command
impl RefUnwindSafe for MapHistory_Command
impl Send for MapHistory_Command
impl Sync for MapHistory_Command
impl Unpin for MapHistory_Command
impl UnwindSafe for MapHistory_Command
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)