pub fn manifest_multi(&self, ty: &ManifestFormat) -> Result<Vec<(Rc<str>, Rc<str>)>> {
		let obj = match self {
			Self::Obj(obj) => obj,
			_ => throw!(MultiManifestOutputIsNotAObject),
		};
		let keys = obj.visible_fields();
		let mut out = Vec::with_capacity(keys.len());
		for key in keys {
			let value = obj
				.get(key.clone())?
				.expect("item in object")
				.manifest(ty)?;
			out.push((key, value));
		}
		Ok(out)
	}
/// Expects value to be object, outputs (key, manifested value) pairs
Expects value to be object, outputs (key, manifested value) pairs
Expects value to be object outputs ( key manifested value ) pairs
pub fn manifest_multi(&self, ty: &ManifestFormat) -> Result<Vec<(Rc<str>, Rc<str>)>> {
		let obj = match self {
			Self::Obj(obj) => obj,
			_ => throw!(MultiManifestOutputIsNotAObject),
		};
		let keys = obj.visible_fields();
		let mut out = Vec::with_capacity(keys.len());
		for key in keys {
			let value = obj
				.get(key.clone())?
				.expect("item in object")
				.manifest(ty)?;
			out.push((key, value));
		}
		Ok(out)
	}
pub fn manifest_multi ( & self , ty : & ManifestFormat ) -> Result < Vec < ( Rc < str > , Rc < str > ) > > { let obj = match self { Self :: Obj ( obj ) => obj , _ => throw ! ( MultiManifestOutputIsNotAObject ) , } ; let keys = obj . visible_fields ( ) ; let mut out = Vec :: with_capacity ( keys . len ( ) ) ; for key in keys { let value = obj . get ( key . clone ( ) ) ? . expect ( " " ) . manifest ( ty ) ? ; out . push ( ( key , value ) ) ; } Ok ( out ) }
Expects value to be object, outputs (key, manifested value) pairs
Expects value to be object outputs ( key manifested value ) pairs
&self
ty
&ManifestFormat
&self
ty
&ManifestFormat