pub fn as_string(&self) -> ConversionResult<String> {
		match self.value.tag {
			raw_types::values::ValueTag::String => unsafe {
				Ok(string::StringRef::from_id(self.value.data.id).into())
			},
			_ => Err(runtime!("Attempt to interpret non-string value as String")),
		}
	}
/// Check if the current value is a string and casts it.
Check if the current value is a string and casts it.
Check if the current value is a string and casts it .
pub fn as_string(&self) -> ConversionResult<String> {
		match self.value.tag {
			raw_types::values::ValueTag::String => unsafe {
				Ok(string::StringRef::from_id(self.value.data.id).into())
			},
			_ => Err(runtime!("Attempt to interpret non-string value as String")),
		}
	}
pub fn as_string ( & self ) -> ConversionResult < String > { match self . value . tag { raw_types :: values :: ValueTag :: String => unsafe { Ok ( string :: StringRef :: from_id ( self . value . data . id ) . into ( ) ) } , _ => Err ( runtime ! ( " " ) ) , } }
Check if the current value is a string and casts it.
Check if the current value is a string and casts it .
&self