pub struct BrowserViewOptions { /* private fields */ }
Implementations§
Source§impl BrowserViewOptions
impl BrowserViewOptions
pub fn new(web_preferences: Option<WebPreferences>) -> BrowserViewOptions
pub fn web_preferences(&self) -> Option<WebPreferences>
pub fn set_web_preferences(&mut self, value: Option<WebPreferences>)
Trait Implementations§
Source§impl Clone for BrowserViewOptions
impl Clone for BrowserViewOptions
Source§fn clone(&self) -> BrowserViewOptions
fn clone(&self) -> BrowserViewOptions
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 Debug for BrowserViewOptions
impl Debug for BrowserViewOptions
Source§impl From<BrowserViewOptions> for JsValue
impl From<BrowserViewOptions> for JsValue
Source§fn from(value: BrowserViewOptions) -> Self
fn from(value: BrowserViewOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for BrowserViewOptions
impl FromWasmAbi for BrowserViewOptions
Source§impl IntoWasmAbi for BrowserViewOptions
impl IntoWasmAbi for BrowserViewOptions
Source§impl RefFromWasmAbi for BrowserViewOptions
impl RefFromWasmAbi for BrowserViewOptions
Source§type Anchor = RcRef<BrowserViewOptions>
type Anchor = RcRef<BrowserViewOptions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl TryFromJsValue for BrowserViewOptions
impl TryFromJsValue for BrowserViewOptions
Source§impl VectorFromWasmAbi for BrowserViewOptions
impl VectorFromWasmAbi for BrowserViewOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[BrowserViewOptions]>
Source§impl VectorIntoJsValue for BrowserViewOptions
impl VectorIntoJsValue for BrowserViewOptions
fn vector_into_jsvalue(vector: Box<[BrowserViewOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for BrowserViewOptions
impl VectorIntoWasmAbi for BrowserViewOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[BrowserViewOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for BrowserViewOptions
impl WasmDescribeVector for BrowserViewOptions
impl SupportsConstructor for BrowserViewOptions
impl SupportsInstanceProperty for BrowserViewOptions
impl SupportsStaticProperty for BrowserViewOptions
Auto Trait Implementations§
impl Freeze for BrowserViewOptions
impl RefUnwindSafe for BrowserViewOptions
impl !Send for BrowserViewOptions
impl !Sync for BrowserViewOptions
impl Unpin for BrowserViewOptions
impl UnwindSafe for BrowserViewOptions
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.