butterbidi/browsing_context/definition
Types
pub type BrowsingContextCommand {
GetTree
LocateNodes
Navigate
}
Constructors
-
GetTree -
LocateNodes -
Navigate
pub type BrowsingContextResult {
GetTreeResult(get_tree_result: get_tree.GetTreeResult)
LocateNodesResult(
locate_nodes_result: locate_nodes.LocateNodesResult,
)
NavigateResult(navigate_result: navigate.NavigateResult)
}
Constructors
-
GetTreeResult(get_tree_result: get_tree.GetTreeResult) -
LocateNodesResult( locate_nodes_result: locate_nodes.LocateNodesResult, ) -
NavigateResult(navigate_result: navigate.NavigateResult)
Values
pub fn browsing_context_command_to_json(
command: BrowsingContextCommand,
) -> json.Json
pub fn browsing_context_command_to_string(
command: BrowsingContextCommand,
) -> String
pub fn browsing_context_result_decoder(
command: BrowsingContextCommand,
) -> decode.Decoder(BrowsingContextResult)