pub struct ServerOptions {
pub plugin_path: PathBuf,
pub project_name: String,
pub bind: String,
pub resolution: Resolution,
pub fps: u32,
pub color_range: ColorRange,
pub gpu_preference: GpuPreference,
pub verbose: bool,
pub auto_build: Option<AutoBuildOptions>,
pub started_at: Instant,
}Fields§
§plugin_path: PathBuf§project_name: String§bind: String§resolution: Resolution§fps: u32§color_range: ColorRange§gpu_preference: GpuPreference§verbose: bool§auto_build: Option<AutoBuildOptions>§started_at: InstantImplementations§
Source§impl ServerOptions
impl ServerOptions
pub fn with_started_at(self, started_at: Instant) -> Self
Trait Implementations§
Source§impl Clone for ServerOptions
impl Clone for ServerOptions
Source§fn clone(&self) -> ServerOptions
fn clone(&self) -> ServerOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServerOptions
impl RefUnwindSafe for ServerOptions
impl Send for ServerOptions
impl Sync for ServerOptions
impl Unpin for ServerOptions
impl UnsafeUnpin for ServerOptions
impl UnwindSafe for ServerOptions
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