pub enum InstanceKind {
Client {
window: ClientWindowConfig,
},
Server {
create_eula: bool,
show_gui: bool,
},
}
Expand description
Configuration for what side an instance is, along with configuration specific to that side
Variants§
Client
Client-side
Fields
§
window: ClientWindowConfig
Configuration for the client window
Server
Server-side
Implementations§
Auto Trait Implementations§
impl Freeze for InstanceKind
impl RefUnwindSafe for InstanceKind
impl Send for InstanceKind
impl Sync for InstanceKind
impl Unpin for InstanceKind
impl UnwindSafe for InstanceKind
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