Struct webkit2gtk::WebContextBuilder
source · pub struct WebContextBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct WebContext
objects.
Implementations§
source§impl WebContextBuilder
impl WebContextBuilder
pub fn local_storage_directory( self, local_storage_directory: impl Into<GString> ) -> Self
👎Deprecated: Since 2.10
Available on crate feature
v2_8
only.pub fn memory_pressure_settings( self, memory_pressure_settings: &MemoryPressureSettings ) -> Self
Available on crate feature
v2_34
only.Available on crate feature
v2_28
only.pub fn time_zone_override(self, time_zone_override: impl Into<GString>) -> Self
Available on crate feature
v2_38
only.pub fn use_system_appearance_for_scrollbars( self, use_system_appearance_for_scrollbars: bool ) -> Self
Available on crate feature
v2_30
only.pub fn website_data_manager( self, website_data_manager: &impl IsA<WebsiteDataManager> ) -> Self
Available on crate feature
v2_10
only.sourcepub fn build(self) -> WebContext
pub fn build(self) -> WebContext
Build the WebContext
.
Auto Trait Implementations§
impl RefUnwindSafe for WebContextBuilder
impl !Send for WebContextBuilder
impl !Sync for WebContextBuilder
impl Unpin for WebContextBuilder
impl UnwindSafe for WebContextBuilder
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