Struct webkit2gtk::HitTestResultBuilder
source · pub struct HitTestResultBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct HitTestResult
objects.
Implementations§
source§impl HitTestResultBuilder
impl HitTestResultBuilder
pub fn context(self, context: u32) -> Self
pub fn image_uri(self, image_uri: impl Into<GString>) -> Self
pub fn link_label(self, link_label: impl Into<GString>) -> Self
pub fn link_title(self, link_title: impl Into<GString>) -> Self
pub fn link_uri(self, link_uri: impl Into<GString>) -> Self
pub fn media_uri(self, media_uri: impl Into<GString>) -> Self
sourcepub fn build(self) -> HitTestResult
pub fn build(self) -> HitTestResult
Build the HitTestResult
.
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§
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