butterbidi/browsing_context/commands/get_tree

w3c link

Types

pub type GetTreeParameters {
  GetTreeParameters(
    max_depth: option.Option(Int),
    root: option.Option(browsing_context.BrowsingContext),
  )
}

Constructors

pub type GetTreeResult {
  GetTreeResult(contexts: info.InfoList)
}

Constructors

Values

pub fn get_tree_parameters_to_json(
  get_tree_parameters: GetTreeParameters,
) -> json.Json
pub fn get_tree_result_decoder() -> decode.Decoder(GetTreeResult)
pub fn with_max_depth(
  get_tree_parameters: GetTreeParameters,
  max_depth: Int,
) -> GetTreeParameters
Search Document