pub fn serialize_branch_tree<S>(
tree: &BranchTree,
s: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,Expand description
#[serde(serialize_with = "…")] target for UiEvent::BranchTree’s
payload — motosan’s BranchTree/BranchNode are not Serialize, so
map them into a local serializable shape.