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 (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 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 LongRefFromWasmAbi for BrowserViewOptions
impl LongRefFromWasmAbi for BrowserViewOptions
Source§type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<BrowserViewOptions>
type Anchor = RcRef<BrowserViewOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl RefFromWasmAbi for BrowserViewOptions
impl RefFromWasmAbi for BrowserViewOptions
Source§type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
The Wasm ABI type references to
Self are recovered from.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 RefMutFromWasmAbi for BrowserViewOptions
impl RefMutFromWasmAbi for BrowserViewOptions
Source§type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
type Abi = WasmPtr<WasmRefCell<BrowserViewOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<BrowserViewOptions>
type Anchor = RcRefMut<BrowserViewOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl SupportsConstructor for BrowserViewOptions
impl SupportsInstanceProperty for BrowserViewOptions
impl SupportsStaticProperty for BrowserViewOptions
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 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
Auto Trait Implementations§
impl Freeze for BrowserViewOptions
impl RefUnwindSafe for BrowserViewOptions
impl Send for BrowserViewOptions
impl Sync for BrowserViewOptions
impl Unpin for BrowserViewOptions
impl UnsafeUnpin 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::AbiSource§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.