pub struct PerformanceSettings {
pub view_distance: u32,
pub simulation_distance: u32,
pub entity_range: u32,
pub sync_chunk_writes: bool,
pub max_tick_time: u64,
pub min_ram: String,
pub max_ram: String,
pub jvm_args: Vec<String>,
}Fields§
§view_distance: u32§simulation_distance: u32§entity_range: u32§sync_chunk_writes: bool§max_tick_time: u64§min_ram: String§max_ram: String§jvm_args: Vec<String>Trait Implementations§
Source§impl Clone for PerformanceSettings
impl Clone for PerformanceSettings
Source§fn clone(&self) -> PerformanceSettings
fn clone(&self) -> PerformanceSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PerformanceSettings
impl Debug for PerformanceSettings
Source§impl<'de> Deserialize<'de> for PerformanceSettings
impl<'de> Deserialize<'de> for PerformanceSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PerformanceSettings
impl RefUnwindSafe for PerformanceSettings
impl Send for PerformanceSettings
impl Sync for PerformanceSettings
impl Unpin for PerformanceSettings
impl UnsafeUnpin for PerformanceSettings
impl UnwindSafe for PerformanceSettings
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