pub struct WebContextBuilder {}
Expand description
A builder-pattern type to construct WebContext
objects.
Implementations§
Source§impl 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§
Source§impl Clone for WebContextBuilder
impl Clone for WebContextBuilder
Source§fn clone(&self) -> WebContextBuilder
fn clone(&self) -> WebContextBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for WebContextBuilder
impl Default for WebContextBuilder
Source§fn default() -> WebContextBuilder
fn default() -> WebContextBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WebContextBuilder
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