Struct webkit2gtk::HitTestResultBuilder
source · [−]pub struct HitTestResultBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct HitTestResult
objects.
Implementations
sourceimpl HitTestResultBuilder
impl HitTestResultBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new HitTestResultBuilder
.
sourcepub fn build(self) -> HitTestResult
pub fn build(self) -> HitTestResult
Build the HitTestResult
.
pub fn context(self, context: u32) -> Self
pub fn image_uri(self, image_uri: &str) -> Self
pub fn link_label(self, link_label: &str) -> Self
pub fn link_title(self, link_title: &str) -> Self
pub fn link_uri(self, link_uri: &str) -> Self
pub fn media_uri(self, media_uri: &str) -> Self
Trait Implementations
sourceimpl Clone for HitTestResultBuilder
impl Clone for HitTestResultBuilder
sourcefn clone(&self) -> HitTestResultBuilder
fn clone(&self) -> HitTestResultBuilder
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 HitTestResultBuilder
impl Default for HitTestResultBuilder
sourcefn default() -> HitTestResultBuilder
fn default() -> HitTestResultBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for HitTestResultBuilder
impl Send for HitTestResultBuilder
impl Sync for HitTestResultBuilder
impl Unpin for HitTestResultBuilder
impl UnwindSafe for HitTestResultBuilder
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