pub struct BrowserConfig {
pub home_page: String,
pub viewport_width: u32,
pub viewport_height: u32,
pub tab_bar_height: u32,
pub address_bar_height: u32,
pub show_address_bar: bool,
pub show_nav_buttons: bool,
pub max_tabs: usize,
pub enable_js: bool,
}Expand description
Browser configuration
Fields§
§home_page: StringDefault home page URL
viewport_width: u32Viewport width in pixels
viewport_height: u32Viewport height in pixels
tab_bar_height: u32Tab bar height in pixels
address_bar_height: u32Address bar height in pixels
show_address_bar: boolWhether to show the address bar
Whether to show navigation buttons
max_tabs: usizeMaximum tabs
enable_js: boolEnable JavaScript
Trait Implementations§
Source§impl Clone for BrowserConfig
impl Clone for BrowserConfig
Source§fn clone(&self) -> BrowserConfig
fn clone(&self) -> BrowserConfig
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 moreSource§impl Debug for BrowserConfig
impl Debug for BrowserConfig
Auto Trait Implementations§
impl Freeze for BrowserConfig
impl RefUnwindSafe for BrowserConfig
impl Send for BrowserConfig
impl Sync for BrowserConfig
impl Unpin for BrowserConfig
impl UnwindSafe for BrowserConfig
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)