pub struct CreateTabOptions {
pub left: Option<i64>,
pub top: Option<i64>,
pub width: Option<i64>,
pub height: Option<i64>,
pub window_state: Option<WindowState>,
pub browser_context_id: Option<BrowserContextId>,
pub enable_begin_frame_control: Option<bool>,
pub new_window: Option<bool>,
pub background: Option<bool>,
pub for_tab: Option<bool>,
pub hidden: Option<bool>,
pub focus: Option<bool>,
}Fields§
§left: Option<i64>§top: Option<i64>§width: Option<i64>§height: Option<i64>§window_state: Option<WindowState>§browser_context_id: Option<BrowserContextId>§enable_begin_frame_control: Option<bool>§new_window: Option<bool>§background: Option<bool>§for_tab: Option<bool>§focus: Option<bool>Trait Implementations§
Source§impl Clone for CreateTabOptions
impl Clone for CreateTabOptions
Source§fn clone(&self) -> CreateTabOptions
fn clone(&self) -> CreateTabOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateTabOptions
impl Debug for CreateTabOptions
Source§impl Default for CreateTabOptions
impl Default for CreateTabOptions
Source§fn default() -> CreateTabOptions
fn default() -> CreateTabOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateTabOptions
impl RefUnwindSafe for CreateTabOptions
impl Send for CreateTabOptions
impl Sync for CreateTabOptions
impl Unpin for CreateTabOptions
impl UnsafeUnpin for CreateTabOptions
impl UnwindSafe for CreateTabOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more