pub struct CreateTargetBuilder { /* private fields */ }Implementations§
Source§impl CreateTargetBuilder
impl CreateTargetBuilder
pub fn url(self, url: impl Into<String>) -> Self
pub fn left(self, left: impl Into<i64>) -> Self
pub fn top(self, top: impl Into<i64>) -> Self
pub fn width(self, width: impl Into<i64>) -> Self
pub fn height(self, height: impl Into<i64>) -> Self
pub fn window_state(self, window_state: impl Into<WindowState>) -> Self
pub fn browser_context_id( self, browser_context_id: impl Into<BrowserContextId>, ) -> Self
pub fn enable_begin_frame_control( self, enable_begin_frame_control: impl Into<bool>, ) -> Self
pub fn new_window(self, new_window: impl Into<bool>) -> Self
pub fn background(self, background: impl Into<bool>) -> Self
pub fn for_tab(self, for_tab: impl Into<bool>) -> Self
pub fn focus(self, focus: impl Into<bool>) -> Self
pub fn build(self) -> Result<CreateTarget, String>
Trait Implementations§
Source§impl Clone for CreateTargetBuilder
impl Clone for CreateTargetBuilder
Source§fn clone(&self) -> CreateTargetBuilder
fn clone(&self) -> CreateTargetBuilder
Returns a duplicate 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 CreateTargetBuilder
impl Default for CreateTargetBuilder
Source§fn default() -> CreateTargetBuilder
fn default() -> CreateTargetBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateTargetBuilder
impl RefUnwindSafe for CreateTargetBuilder
impl Send for CreateTargetBuilder
impl Sync for CreateTargetBuilder
impl Unpin for CreateTargetBuilder
impl UnsafeUnpin for CreateTargetBuilder
impl UnwindSafe for CreateTargetBuilder
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