butterbidi/script/types/target
Types
pub type ContextTarget {
ContextTarget(
context: browsing_context.BrowsingContext,
sandbox: option.Option(String),
)
}
Constructors
-
ContextTarget( context: browsing_context.BrowsingContext, sandbox: option.Option(String), )
Values
pub fn context_target_to_json(
context_target: ContextTarget,
) -> json.Json
pub fn new_context_target(
context: browsing_context.BrowsingContext,
) -> Target
pub fn with_sandbox(
context_target: ContextTarget,
sandbox: String,
) -> Target