Struct chrome_remote_interface_model::target::CreateTargetCommandBuilder [−][src]
This is supported on crate feature
Target
only.Implementations
impl CreateTargetCommandBuilder
[src]
pub fn url(&mut self, v: String) -> &mut Self
[src]
The initial URL the page will be navigated to.
pub fn width(&mut self, v: u32) -> &mut Self
[src]
Frame width in DIP (headless chrome only).
pub fn height(&mut self, v: u32) -> &mut Self
[src]
Frame height in DIP (headless chrome only).
pub fn browser_context_id(&mut self, v: JsonValue) -> &mut Self
[src]
The browser context to create the page in.
pub fn enable_begin_frame_control(&mut self, v: bool) -> &mut Self
[src]
This is supported on crate feature
experimental
only.Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default).
pub fn new_window(&mut self, v: bool) -> &mut Self
[src]
Whether to create a new Window or Tab (chrome-only, false by default).
pub fn background(&mut self, v: bool) -> &mut Self
[src]
Whether to create the target in background or foreground (chrome-only, false by default).
pub fn build(&mut self) -> Result<CreateTargetCommand, &'static str>
[src]
Trait Implementations
impl Clone for CreateTargetCommandBuilder
[src]
fn clone(&self) -> CreateTargetCommandBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateTargetCommandBuilder
[src]
impl Default for CreateTargetCommandBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateTargetCommandBuilder
[src]
impl Send for CreateTargetCommandBuilder
[src]
impl Sync for CreateTargetCommandBuilder
[src]
impl Unpin for CreateTargetCommandBuilder
[src]
impl UnwindSafe for CreateTargetCommandBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,