Struct webkit2gtk::WebContextBuilder
source · [−]pub struct WebContextBuilder {}
Expand description
A builder-pattern type to construct WebContext
objects.
Implementations
sourceimpl WebContextBuilder
impl WebContextBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new WebContextBuilder
.
sourcepub fn build(self) -> WebContext
pub fn build(self) -> WebContext
Build the WebContext
.
Trait Implementations
sourceimpl Clone for WebContextBuilder
impl Clone for WebContextBuilder
sourcefn clone(&self) -> WebContextBuilder
fn clone(&self) -> WebContextBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for WebContextBuilder
impl Default for WebContextBuilder
sourcefn default() -> WebContextBuilder
fn default() -> WebContextBuilder
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more