#[repr(C)]pub struct RandomSeed {
pub seed1: u32,
pub seed2: u32,
pub seed3: u32,
pub seed4: u32,
}Expand description
Fields§
§seed1: u32§seed2: u32§seed3: u32§seed4: u32Implementations§
Source§impl RandomSeed
impl RandomSeed
pub fn version() -> i32
pub fn set_version(value: i32)
Source§impl RandomSeed
impl RandomSeed
Sourcepub fn initialize(&mut self)
pub fn initialize(&mut self)
Initialize() overload
Sourcepub fn initialize_2(&mut self, v: impl Into<u32>)
pub fn initialize_2(&mut self, v: impl Into<u32>)
Initialize(u32) 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
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Source§impl RandomSeed
impl RandomSeed
pub fn initialize_method_info() -> &'static MethodInfo
pub fn initialize_2_method_info() -> &'static MethodInfo
pub fn serialize_method_info() -> &'static MethodInfo
pub fn deserialize_method_info() -> &'static MethodInfo
pub fn peek_method_info() -> &'static MethodInfo
pub fn get_value_method_info() -> &'static MethodInfo
pub fn get_float_method_info() -> &'static MethodInfo
pub fn dump_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for RandomSeed
impl ClassIdentity for RandomSeed
Source§impl Clone for RandomSeed
impl Clone for RandomSeed
Source§fn clone(&self) -> RandomSeed
fn clone(&self) -> RandomSeed
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 RandomSeed
Auto Trait Implementations§
impl Freeze for RandomSeed
impl RefUnwindSafe for RandomSeed
impl Send for RandomSeed
impl Sync for RandomSeed
impl Unpin for RandomSeed
impl UnwindSafe for RandomSeed
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)