Struct browser_window::application::ApplicationSettings
source · pub struct ApplicationSettings {
pub engine_seperate_executable_path: Option<PathBuf>,
pub resource_dir: Option<PathBuf>,
pub remote_debugging_port: Option<u16>,
}
Fields§
§engine_seperate_executable_path: Option<PathBuf>
CEF only: If set, the path of the seperate executable that gets compiled together with your main executable. If not set, no seperate executable will be used.
resource_dir: Option<PathBuf>
If set, this path will be where the browser framework will look for resources/assets. If not set, it will default to the directory where the executable is located.
remote_debugging_port: Option<u16>
CEF only: If set, will enable remote debugging at this port.
Implementations§
source§impl ApplicationSettings
impl ApplicationSettings
pub fn default_resource_path() -> PathBuf
Trait Implementations§
source§impl Default for ApplicationSettings
impl Default for ApplicationSettings
source§fn default() -> ApplicationSettings
fn default() -> ApplicationSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplicationSettings
impl RefUnwindSafe for ApplicationSettings
impl Send for ApplicationSettings
impl Sync for ApplicationSettings
impl Unpin for ApplicationSettings
impl UnwindSafe for ApplicationSettings
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