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