pub struct CreateIsolatedWorldParams {
pub frame_id: Box<FrameId>,
pub world_name: Option<String>,
pub grant_univeral_access: Option<bool>,
}Expand description
Creates an isolated world for the given frame. createIsolatedWorld
Fields§
§frame_id: Box<FrameId>Id of the frame in which the isolated world should be created.
world_name: Option<String>An optional name which is reported in the Execution Context.
grant_univeral_access: Option<bool>Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution.
Implementations§
Trait Implementations§
Source§impl Clone for CreateIsolatedWorldParams
impl Clone for CreateIsolatedWorldParams
Source§fn clone(&self) -> CreateIsolatedWorldParams
fn clone(&self) -> CreateIsolatedWorldParams
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 CreateIsolatedWorldParams
impl Debug for CreateIsolatedWorldParams
Source§impl<'de> Deserialize<'de> for CreateIsolatedWorldParams
impl<'de> Deserialize<'de> for CreateIsolatedWorldParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CreateIsolatedWorldParams
Auto Trait Implementations§
impl Freeze for CreateIsolatedWorldParams
impl RefUnwindSafe for CreateIsolatedWorldParams
impl Send for CreateIsolatedWorldParams
impl Sync for CreateIsolatedWorldParams
impl Unpin for CreateIsolatedWorldParams
impl UnsafeUnpin for CreateIsolatedWorldParams
impl UnwindSafe for CreateIsolatedWorldParams
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