Struct webkit2gtk::AutomationSessionBuilder
source · pub struct AutomationSessionBuilder { /* private fields */ }
Available on crate feature
v2_18
only.Expand description
A builder-pattern type to construct AutomationSession
objects.
Implementations§
source§impl AutomationSessionBuilder
impl AutomationSessionBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new AutomationSessionBuilder
.
sourcepub fn build(self) -> AutomationSession
pub fn build(self) -> AutomationSession
Build the AutomationSession
.
pub fn id(self, id: &str) -> Self
Trait Implementations§
source§impl Clone for AutomationSessionBuilder
impl Clone for AutomationSessionBuilder
source§fn clone(&self) -> AutomationSessionBuilder
fn clone(&self) -> AutomationSessionBuilder
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 AutomationSessionBuilder
impl Default for AutomationSessionBuilder
source§fn default() -> AutomationSessionBuilder
fn default() -> AutomationSessionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AutomationSessionBuilder
impl Send for AutomationSessionBuilder
impl Sync for AutomationSessionBuilder
impl Unpin for AutomationSessionBuilder
impl UnwindSafe for AutomationSessionBuilder
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